EVM transaction
evm_transactionUse when you need a transaction by hash on Base, Ethereum, Arbitrum, Polygon or Optimism: from, to, value, nonce, gas and fee fields, block, confirmations, method id and input (first 1 KB). Returns the paid x402 request for your input (GET /evm/tx, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Raw transaction fields (from, to, value, input); to know whether it succeeded (status, gas used, logs) use evm_receipt. First call each day returns the data itself, free; later calls return the paid request.
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": {
"hash": "<hash>"
},
"name": "evm_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Transaction hash (0x + 64 hex); looked up on the chosen chain only; not found there: refused before any charge | |
| chain | No | Chain to look the transaction up on; default base | base |