hydra
Commit the local participant funds into the head. (admin access required)
Changed onFunds the head from the local participant's own L1 wallet UTxOs: builds and validates the node's commit draft, signs it, and submits it to L1.
post/hydra/head/commit
Request
- Base URL: ./../api/v1/ (relative, and the document was published on a file host, not at the API’s origin)
- URL: ./../api/v1/hydra/head/commit
- Auth: API key in header token
Request body
Example request
{
"headId": "cuid_v2_auto_generated",
"lovelace": "10000000"
}Response
Commit result
Example response
{
"status": "success",
"data": {
"headId": "cuid_v2_auto_generated",
"committed": true,
"commitTxHash": null
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking