evm_receipt · EVM receipt
read-onlyUse when you need to know whether a transaction succeeded on Base, Ethereum, Arbitrum, Polygon or Optimism: receipt status, block, confirmations, gas used, effective gas price. Returns the paid x402 request for your input (GET /evm/receipt, $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. Status and logs of a mined transaction; for the transaction fields (from, to, value, input) use evm_transaction. First call each day returns the data itself, free; later calls return the paid request.
Input schema
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "Transaction hash (0x + 64 hex); a transaction with no receipt yet (pending) is refused before any charge"
},
"chain": {
"type": "string",
"enum": [
"ethereum",
"base",
"arbitrum",
"polygon",
"optimism"
],
"default": "base",
"description": "Chain to look the transaction up on; default base"
}
},
"required": [
"hash"
]
}