curl --request GET \
--url https://api.example.com/api/v1/wallet/vtxos/{id} \
--header 'Authorization: Bearer <token>'{
"amount_sat": 1,
"chain_anchor": "<string>",
"exit_delta": 1,
"expiry_height": 1,
"id": "<string>",
"policy_type": "<string>",
"server_pubkey": "<string>",
"user_pubkey": "<string>",
"state": {
"type": "spendable"
},
"exit_depth": 1
}Returns detail for a single VTXO. To get the hex-encoded serialization use GET /vtxos/{id}/encoded.
curl --request GET \
--url https://api.example.com/api/v1/wallet/vtxos/{id} \
--header 'Authorization: Bearer <token>'{
"amount_sat": 1,
"chain_anchor": "<string>",
"exit_delta": 1,
"expiry_height": 1,
"id": "<string>",
"policy_type": "<string>",
"server_pubkey": "<string>",
"user_pubkey": "<string>",
"state": {
"type": "spendable"
},
"exit_depth": 1
}Documentation Index
Fetch the complete documentation index at: https://second.tech/docs/llms.txt
Use this file to discover all available pages before exploring further.
Base64url-encoded auth token
VTXO identifier formatted as txid:vout.
Returns the VTXO detail
A VTXO together with its current wallet state.
The value of this VTXO in sats.
x >= 0The on-chain outpoint that roots this VTXO, formatted as
txid:vout. Typically an output of a round transaction or a
board transaction.
The relative timelock, in blocks, that must elapse before the final on-chain claim in an emergency exit.
x >= 0The block height at which this VTXO expires. After expiry, the server can reclaim the sats. Refresh before expiry to receive new VTXOs, or exit to move them on-chain.
x >= 0Unique identifier for this VTXO, formatted as txid:vout.
The spending policy that governs this VTXO.
The Ark server's public key used to co-sign transactions involving this VTXO.
The owner's public key. Only the holder of the corresponding private key can spend this VTXO.
The current state of this VTXO in the wallet.
Show child attributes
The number of off-chain transactions in this VTXO. Each must be broadcast and confirmed on-chain in sequence during an emergency exit.
x >= 0Was this page helpful?