prepare_transactions_utxo
Build unsigned UTXO transactions for Bitcoin, Litecoin, Dogecoin, Dash, Zcash, and Bitcoin Cash, including recipients, fees, and change, ready for local signing and broadcast.
Instructions
Build unsigned UTXO transactions ready for signing (Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash). Returns the unsigned transaction and fee details. After preparing, sign locally (utxo_sign) and broadcast via broadcast_signed_transaction.
Actions: • native-coins: Build an unsigned native coin transfer, supporting multiple recipients in one transaction. Requires either feePriority or exactFee.
Credits by action (source: OpenAPI): • native-coins: 530
Credits are indicative only and may change at any time. The actual credits spent for each API request are returned in the response headers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| context | No | Optional context for the request - echoed back in response | |
| network | Yes | Network name | |
| exactFee | No | Exact fee override in the chain's main denomination - required unless feePriority is given | |
| locktime | No | Transaction locktime | |
| blockchain | Yes | Blockchain protocol | |
| recipients | No | Recipients as {address, amount} objects, amount in the chain's main denomination - one output per entry (required) | |
| feePriority | No | Fee priority tier - required unless exactFee is given | |
| fromAddress | No | Sender's address (required) | |
| replaceable | No | Mark the transaction as RBF-replaceable | |
| additionalData | No | OP_RETURN data to embed in the transaction | |
| prepareStrategy | No | UTXO selection strategy |