prepare_transactions_evm
Build unsigned EVM transactions for native coin, ERC-20 token, and NFT transfers. Returns raw unsigned transaction hex and fee details for local signing.
Instructions
Build unsigned EVM transactions ready for signing. Returns the raw unsigned transaction hex and fee details. After preparing, use a signing tool (e.g. evm_sign) to sign locally, then broadcast via broadcast_signed_transaction.
Actions: • prepare-transaction-from-address: Build an unsigned native coin transfer (e.g. ETH, BNB) • prepare-fungible-token-transfer: Build an unsigned ERC-20 token transfer • prepare-nft-transfer: Build an unsigned ERC-721 NFT transfer
Credits by action (source: OpenAPI): • prepare-fungible-token-transfer: 24 • prepare-nft-transfer: 24 • prepare-transaction-from-address: 24
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 |
|---|---|---|---|
| value | No | Amount in native coin's smallest unit, e.g. wei (required for prepare-transaction-from-address) | |
| action | Yes | Action to perform | |
| amount | No | Token amount to transfer (required for prepare-fungible-token-transfer) | |
| context | No | Optional context for the request - echoed back in response | |
| network | Yes | Network name | |
| tokenId | No | NFT token ID (required for prepare-nft-transfer) | |
| gasLimit | No | Custom gas limit override (prepare-transaction-from-address only; auto-estimated if omitted) | |
| gasPrice | No | Custom gas price in wei (prepare-transaction-from-address only; auto-estimated if omitted) | |
| toAddress | No | Recipient address (required for all actions) | |
| blockchain | Yes | Blockchain protocol | |
| fromAddress | No | Sender address (required for all actions) | |
| contractAddress | No | Token contract address (required for prepare-fungible-token-transfer and prepare-nft-transfer) |