curl --request GET \
--url https://api.example.com/api/v1/exits/status/{vtxo_id}{
"state": {
"tip_height": 1,
"type": "start"
},
"vtxo_id": "<string>",
"history": [
{
"tip_height": 1,
"type": "start"
}
],
"transactions": [
{
"exit": {
"tx": "<string>",
"txid": "<string>"
},
"child": {
"info": {
"tx": "<string>",
"txid": "<string>"
},
"origin": {
"type": "wallet",
"confirmed_in": {
"hash": "<string>",
"height": 1
}
}
}
}
]
}Returns the current state of an emergency exit for the specified VTXO, including which phase the exit is in (start, processing, awaiting-delta, claimable, claim-in-progress, or claimed). Optionally includes the full state transition history and the exit transaction packages with their CPFP children.
curl --request GET \
--url https://api.example.com/api/v1/exits/status/{vtxo_id}{
"state": {
"tip_height": 1,
"type": "start"
},
"vtxo_id": "<string>",
"history": [
{
"tip_height": 1,
"type": "start"
}
],
"transactions": [
{
"exit": {
"tx": "<string>",
"txid": "<string>"
},
"child": {
"info": {
"tx": "<string>",
"txid": "<string>"
},
"origin": {
"type": "wallet",
"confirmed_in": {
"hash": "<string>",
"height": 1
}
}
}
}
]
}The VTXO to check the exit status of
Whether to include the detailed history of the exit process
Whether to include the exit transactions and their CPFP children
Returns the exit status
The current state of the exit transaction
Show child attributes
The ID of the VTXO that is being unilaterally exited
The history of each state the exit transaction has gone through
A utility type to wrap ExitState children so they can be easily serialized. This also helps with debugging a lot!
Show child attributes
Each exit transaction package required for the unilateral exit
Show child attributes
Was this page helpful?