cast_tx
Looks up transaction details by hash on a specified RPC network, with options to return full JSON or a single field.
Instructions
Get transaction details by hash (cast tx).
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_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | Output as JSON | |
| field | No | Specific transaction field to extract | |
| rpcUrl | Yes | RPC URL of the network | |
| txHash | Yes | Transaction hash to look up |