curl --request POST \
--url https://api.example.com/api/v1/boards/board-all{
"amount_sat": 1,
"funding_tx": {
"tx": "<string>",
"txid": "<string>"
},
"movement_id": 1,
"vtxos": [
"<string>"
]
}Moves all bitcoin in the on-chain wallet onto the Ark protocol. Creates and broadcasts a funding transaction that drains the on-chain balance into a single VTXO, then returns the pending board details. The resulting VTXO is not spendable off-chain until the funding transaction reaches the number of on-chain confirmations required by the Ark server.
curl --request POST \
--url https://api.example.com/api/v1/boards/board-all{
"amount_sat": 1,
"funding_tx": {
"tx": "<string>",
"txid": "<string>"
},
"movement_id": 1,
"vtxos": [
"<string>"
]
}Returns the board result
Describes a completed transition of funds from onchain to offchain.
The amount of the board.
x >= 0The funding transaction. This is the transaction that has to be confirmed onchain for the board to succeed.
Show child attributes
The ID of the movement associated with this board.
x >= 0The IDs of the VTXOs that were created in this board.
Currently, this is always a vector of length 1
Was this page helpful?