cast_receipt
Retrieve a transaction receipt by hash from an RPC network, optionally wait for confirmations or extract a specific field as JSON for on-chain verification.
Instructions
Get a transaction receipt by hash (cast receipt).
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": {
"txHash": "<txHash>",
"rpcUrl": "<rpcUrl>"
},
"name": "cast_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | Output as JSON | |
| field | No | Specific receipt field to extract | |
| rpcUrl | Yes | RPC URL of the network | |
| txHash | Yes | Transaction hash to get the receipt for | |
| confirmations | No | Number of confirmations to wait for |