Prepare unsigned EVM transaction
prepare_transactions_evmBuild unsigned EVM transactions for native coin, ERC-20 token, or ERC-721 NFT transfers. Returns raw unsigned hex and fee details, ready for local signing and broadcasting.
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.
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>",
"blockchain": "<blockchain>",
"network": "<network>"
},
"name": "prepare_transactions_evm"
}
}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) |