bus
Form a new contract
Changed onForms 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
- The document declares no server URL.
- Authnone declared
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
- breaking
removed the media type
text/plainfor the response with the status - info
api tag
busadded
- breaking
- info
endpoint added
- info