Import a VTXO
Imports hex-encoded serialized VTXOs into the wallet. Validates that each VTXO is anchored on-chain, owned by this wallet, and has not expired. Useful for restoring VTXOs after database loss or re-importing from the server mailbox. The operation is idempotent.
Authorizations
Base64url-encoded auth token
Body
Hex-encoded VTXOs to import
Response
VTXO imported successfully
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.
- Option 1
- Option 2
- Option 3
- Option 4
The number of off-chain transactions in this VTXO. Each must be broadcast and confirmed on-chain in sequence during an emergency exit.
x >= 0