/api/v1/create-psbtCreate a transaction proposal
Creates a transaction proposal that spends from a vault, returning the proposal id and the unsigned PSBT for the vault's approvers to sign.
MANAGE_WORKSPACEEvery movement out of a vault, whether a transfer, a mint, a burn, or a token deployment, is carried by an underlying transaction proposal that collects member approvals until the vault's threshold is met. This call creates that proposal for a direct Bitcoin send. Nothing is signed and nothing reaches the network yet. The signing workflow describes how the same sequence appears in the application.
The vault in wallet_id must belong to the workspace in workspace_id, and you
must hold MANAGE_WORKSPACE in that workspace. The response carries the
proposal's id and the unsigned PSBT in base64. Pass the PSBT to the members who
will approve it, and they return their signatures through
POST /api/v1/sign-psbt.
Use this endpoint for a direct Bitcoin send, with tx_type set to send.
Token actions such as transfer, mint, and burn go through
POST /api/v1/call-contract, which sets tx_type itself
and applies the permission for the action being requested.
wallet_idstringrequiredworkspace_idnumberrequiredtx_typestringrequiredrecipientsstring[]optionaldescriptionstringoptionalop_returnstringoptionalcontract_idsstring[]optional#What happens next
The proposal now waits for approvals. Each approver signs the PSBT with their own
key and submits the result through
POST /api/v1/sign-psbt, and
GET /api/v1/psbt shows who has approved so far. When the approval
that meets the vault's threshold arrives, the proposal is finalised and submitted
to the Bitcoin network automatically.