trace_get - Base RPC Method
Get a specific trace by transaction hash and index on Base. Requires archive node for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.
Returns a trace at a specific position within a transaction on Base.
Archive Node Required
This method requires an archive node. It is not available on full nodes.
Use Cases
- Specific trace lookup - Get a single trace by its position index
- Internal call inspection - Examine a specific internal call
- Targeted debugging - Investigate particular call depth for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations
Response Body
ResponseCode Examples
curl -X POST https://api-base-mainnet-archive.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "trace_get",
"params": ["0x5c884a466fb59ee69114a0c99cb15d4d8af670a37be53fd59ffda3b5566b4269", ["0x0"]],
"id": 1
}'Related Methods
trace_transaction- Get all traces for a transactiontrace_block- Get all traces in a block
trace_filter
Filter traces by address and block range on Base. Requires archive node for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.
trace_replayBlockTransactions
Replay all transactions in a block and return traces on Base. Requires archive node for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.