prepare_transactions_tezos
Build unsigned Tezos operations for native XTZ, FA1.2, or FA2 token transfers, returning forged bytes and fee details ready for local signing and broadcast.
Instructions
Build unsigned Tezos operations ready for signing. Returns the forged (unsigned) operation bytes and fee details. After preparing, sign locally and broadcast via broadcast_signed_transaction.
Actions: • native-coins: Build an unsigned native XTZ transfer • fa1-2-tokens: Build an unsigned FA1.2 token transfer • fa2-tokens: Build an unsigned FA2 token transfer
Credits by action (source: OpenAPI): • fa1-2-tokens: 104 • fa2-tokens: 104 • native-coins: 78
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 | |
| amount | No | Amount to send, in mutez for native-coins, or in the token's base units for fa1-2-tokens/fa2-tokens (required for all actions) | |
| context | No | Optional context for the request - echoed back in response | |
| network | Yes | Network name | |
| tokenId | No | FA2 token ID - required for fa2-tokens | |
| toAddress | No | Recipient's Tezos address (required for all actions) | |
| feePriority | No | Fee priority tier - defaults to standard if omitted | |
| fromAddress | No | Sender's Tezos address (required for all actions) | |
| fromPublicKey | No | Sender's public key - required only when the source account is unrevealed | |
| contractAddress | No | FA1.2/FA2 token contract address (KT1...) - required for fa1-2-tokens, fa2-tokens |