POST
Submit code
Changed onNotes
-
This endpoint can only be invoked once every few seconds
-
If a code submission has failed to compile (binary.state.compiled_success = false), you can re-use the same algorithm name.
-
Header X-Api-Key is required. Use /request-api-key endpoint.
- If <api_key> is invalid, a 401 error will be returned
post/submit-code
Request
- Base URLhttps://mainnet-api.tig.foundation
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Api-Keystring
<api_key> from /request-api-key endpoint
Request body
Example request
{
"name": "clarke_wright",
"challenge_id": "c002"
}Response
Success
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking