Submit a precommit
Changed onSubmit benchmark settings and per-track settings for all active tracks of the challenge. The server selects a track at random; the returned precommit will indicate the selected track.
Notes
-
This endpoint can only be invoked once every few seconds
-
track_settings must include every active track for the challenge (key = track_id). Each value has hyperparameters, fuel_budget, and num_bundles.
-
When a precommit is confirmed (precommit.state != null), a random string will be set (precommit.state.rand_hash). This string must be used when generating seeds.
Request
- Base URLhttps://mainnet-api.tig.foundation
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
<api_key> from /request-api-key endpoint
Request body
Example request
{
"settings": {
"challenge_id": "c002",
"algorithm_id": "c002_a001",
"track_id": "num_variables=100,clauses_to_variables_percent=426"
}
}Response
Success
Changes
- breaking
added the new required request property
- breaking
- breaking
added the new required request property
- breaking
the request property
became required - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- breaking