preview_send
Pin nonce, EIP-1559 fees, and gas limit for a prepared EVM transaction; compute and return the Ledger blind-sign hash for user confirmation before calling send_transaction.
Instructions
EVM-only: finalize an already-prepared transaction for signing by pinning the nonce, EIP-1559 fees (maxFeePerGas, maxPriorityFeePerGas), and gas limit server-side, then computing the EIP-1559 pre-sign RLP hash Ledger will display in blind-sign mode. Returns a LEDGER BLIND-SIGN HASH content block the user reads BEFORE you call send_transaction — the Ledger device prompt blocks the MCP tool call, so the hash must be surfaced now, not after. The pinned tuple is stashed against the handle and forwarded verbatim on send_transaction so the on-device hash is deterministic. If gas conditions drift while the user reviews, call preview_send again on the same handle to refresh the pin (overwrites the prior one). send_transaction will throw a clear error if called without a prior preview_send. Not applicable to TRON handles (USB HID signing flow, no WalletConnect). For Solana handles use preview_solana_send — it pins a fresh blockhash instead of nonce + EIP-1559 fees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | Opaque handle returned by a prepare_* tool. preview_send fetches the current nonce + EIP-1559 fees + gas limit, stashes them against the handle, computes the EIP-1559 pre-sign RLP hash Ledger will display in blind-sign mode, and returns the LEDGER BLIND-SIGN HASH block so the user can see and confirm the hash BEFORE the Ledger device prompt appears. A follow-up send_transaction call forwards the pinned fields verbatim. Handles expire 15 minutes after prepare. Once a pin exists, re-calling preview_send on the same handle returns the existing pin unchanged unless `refresh: true` is passed. | |
| refresh | No | Set to true to re-pin nonce/fees/gas (e.g. after the user paused for minutes and wants fresh fees). Default is false: the existing pin and its pre-sign hash are returned verbatim, so the hash the user matched in chat cannot silently drift between preview and send. |