hydra
Read a Hydra head state on L1. (admin access required)
Changed onReads the newest transaction that moved the head's state token, through the payment source's independent L1 observer. Returns whether the head is still open, closed (contestation running), or fanned out. Read-only.
post/hydra/head/chain-check
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/chain-check
- Auth: API key in header token
Request body
Example request
{
"id": "cuid_v2_auto_generated"
}Response
Head state on chain
Example response
{
"status": "success",
"data": {
"chainState": "open",
"latestTxHash": "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd"
}
}Changes
- info
endpoint added
- info