sign_transaction
Sign blockchain transactions with private keys for EVM or Solana networks. Returns signed transaction data ready for broadcasting via send_transaction tool.
Instructions
Sign a transaction with a wallet's private key. For EVM: returns signed raw transaction hex. For Solana: returns base64 signed transaction. Does NOT broadcast — use send_transaction for sign + broadcast.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet_id | Yes | Wallet ID | |
| to | Yes | Destination address (0x-prefixed for EVM, Base58 for Solana) | |
| chain_id | No | Chain ID (defaults to wallet's default) | |
| value | No | Value in wei/lamports (decimal string) | 0 |
| data | No | Hex-encoded calldata (0x-prefixed) for EVM contract calls | |
| gas_limit | No | Gas limit — EVM only (auto-estimated if omitted) | |
| max_fee | No | Max fee per gas in wei — EVM only (auto if omitted) | |
| priority_fee | No | Max priority fee per gas in wei — EVM only (auto if omitted) | |
| token_mint | No | SPL token mint address — Solana only (for SPL token transfers) | |
| token_decimals | No | SPL token decimals — Solana only (6 for USDC) |