prepare_transactions_kaspa
Build unsigned Kaspa transactions for signing, supporting multiple recipients in one transfer. Returns unsigned transaction and fee details for local signing and broadcast.
Instructions
Build unsigned Kaspa transactions ready for signing. Returns the unsigned transaction and fee details. After preparing, sign locally (kaspa_sign) and broadcast via broadcast_signed_transaction.
Actions: • native-coins: Build an unsigned native KAS transfer, supporting multiple recipients in one transaction
Credits by action (source: OpenAPI): • native-coins: 60
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 - Kaspa is mainnet-only | |
| exactFee | No | Exact fee override in KAS - bypasses mass-based fee calculation when set | |
| locktime | No | Transaction locktime | |
| recipients | No | Recipients as {address, amount} objects, amount in KAS main units - one output per entry, multiple recipients supported in a single transaction (required) | |
| feePriority | No | Fee priority tier - defaults to standard if omitted | |
| fromAddress | No | Sender's Kaspa address (required) | |
| prepareStrategy | No | UTXO selection strategy |