Prepare unsigned Tezos transaction
prepare_transactions_tezosBuild unsigned Tezos transfers for native XTZ, FA1.2, or FA2 tokens, returning forged operation bytes and fee details so you can sign locally and then broadcast the signed transaction.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"network": "<network>"
},
"name": "prepare_transactions_tezos"
}
}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 |