Get transaction
avax_get_transactionFetch transaction and receipt by hash, returning status, gas used, logs, and contract address across Avalanche mainnet, fuji, and L1 networks.
Instructions
Fetch a transaction and its receipt by hash (status, gas used, logs, contract address created).
Network: "mainnet" (C-Chain), "fuji" (testnet C-Chain), a known L1 key (mainnet, c-chain, fuji, dexalot, beam, dfk, dispatch-fuji, echo-fuji), or a full RPC URL.
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": "avax_get_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | 0x transaction hash | |
| network | No | Network: "mainnet" (C-Chain), "fuji" (testnet C-Chain), a known L1 key (mainnet, c-chain, fuji, dexalot, beam, dfk, dispatch-fuji, echo-fuji), or a full RPC URL. | fuji |