bus
Form a new contract
Forms a new contract with the provided metadata. This endpoint is usually called by the autopilot but also allows to form contracts manually.
post/bus/contracts/form
Request body
Example request
{
"endHeight": 92813
}Response
Contract formed successfully
Example response
{
"proofHeight": 92813,
"revisionHeight": 92813,
"revisionNumber": 246,
"startHeight": 92813,
"windowStart": 92813,
"windowEnd": 92813
}Changes
Changed in 3 of the 50 revisions of this API.22
- ▲
removed the media type
text/plainfor the response with the status500response-media-type-removed
- ○
api tag
busaddedapi-tag-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 99 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲