get_transaction
Retrieve transaction details on the 0G network by hash. Choose between mainnet and testnet to get sender, recipient, status, and value information.
Instructions
Get transaction details by hash on 0G network
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>"
},
"name": "get_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | Transaction hash to lookup | |
| network | No | Network to query (default: testnet) | testnet |