debug_traceTransaction
BNB Smart ChainC3Replays a transaction and returns a detailed trace using a chosen tracer (callTracer, prestateTracer, or struct/opcode logs). The deepest introspection available; runs on our archive nodes.
Endpoint
POST https://api.1st-node.com/v1/bsc/rpcParameters
| Name | Type | Description |
|---|---|---|
| hash | DATA, 32 bytes | Transaction hash to trace. |
| options | Object | Tracer config, e.g. { "tracer": "callTracer" }. |
Returns
Object — the tracer output (call tree, prestate, or struct logs).
Request
curl https://api.1st-node.com/v1/bsc/rpc \
-H "Authorization: Bearer $ONE_KEY" \
-H "content-type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "debug_traceTransaction",
"params": ["0x88df…", { "tracer": "callTracer" }]
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "debug_traceTransaction",
"params": ["0x88df…", { "tracer": "callTracer" }]
}Response
{
"jsonrpc": "2.0",
"id": 1,
"result": { "type": "CALL", "from": "0x…", "to": "0x…", "gasUsed": "0x…", "calls": [] }
}More trace methods on BNB Smart Chain
Perguntas frequentes
Which tracers are supported?
callTracer, prestateTracer and struct/opcode logging are available on archive nodes.
Recarregue, pegue a chave e publique.
Autoatendimento. Pague em cripto ou cartão. Medido por créditos: primitivas pesadas custam mais, as simples são baratas.
Obter chave de API