v1
latestOpenAPI 3.0.02026-07-17120114186.8 KBbus
Renew contract
If a contract is nearing its end height, or if it is running out of funds, it can be renewed, or refreshed, respecitively. If a contract is not renewed in due time, it will be archived and the data will need to be migrated to a different host.
post/bus/contract/{id}/renew
Path parameters
idstring required
A unique identifier for a file contract
Request body
Example request
{
"endHeight": 92813
}Response
Contract renewed successfully
Example response
{
"proofHeight": 92813,
"revisionHeight": 92813,
"revisionNumber": 246,
"startHeight": 92813,
"windowStart": 92813,
"windowEnd": 92813
}