curl --request GET \
--url https://api.example.com/api/v1/exits/status[
{
"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 every emergency exit in the wallet. Each entry includes which phase the exit is in (start, processing, awaiting-delta, claimable, claim-in-progress, or claimed), and optionally 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[
{
"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
}
}
}
}
]
}
]Whether to include the detailed history of the exit process
Whether to include the exit transactions and their CPFP children
Returns all exit statuses
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?