debug_traceCall RPC Method
Parameters
object
object
REQUIRED
Loading...
from
string
Loading...
to
string
REQUIRED
Loading...
gas
string
Loading...
maxFeePerGas
string
Loading...
maxPriorityFeePerGas
string
Loading...
value
string
Loading...
input
string
Loading...
data
string
Loading...
nonce
string
Loading...
chainId
string
Loading...
accessList
array
Loading...
blockReference
string
REQUIRED
Loading...
object
object
REQUIRED
Loading...
tracer
string
Loading...
callTracer
string
Loading...
prestateTracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...
timeout
string
Loading...
Returns
result
object
Loading...
beforeEVMTransfers
array
Loading...
purpose
string
Loading...
from
string
Loading...
to
string
Loading...
value
string
Loading...
afterEVMTransfers
array
Loading...
purpose
string
Loading...
from
string
Loading...
to
string
Loading...
value
string
Loading...
from
string
Loading...
gas
string
Loading...
gasUsed
string
Loading...
to
string
Loading...
input
string
Loading...
calls
array
Loading...
from
string
Loading...
gas
string
Loading...
gasUsed
string
Loading...
to
string
Loading...
input
string
Loading...
output
string
Loading...
value
string
Loading...
type
string
Loading...
value
string
Loading...
type
string
Loading...
Request
1curl -X POST "https://docs-demo.robinhood-testnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_traceCall",6"params": [7{8"from": "0xcFED52fa50f36A055939C2EF1e887Aa127E44445",9"to": "0xcFED52fa50f36A055939C2EF1e887Aa127E44445",10"data": "0x70a08231000000000000000000000000cFED52fa50f36A055939C2EF1e887Aa127E44445"11},12"latest",13{14"tracer": "callTracer"15}16],17"id": 118}'
1curl -X POST "https://docs-demo.robinhood-testnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_traceCall",6"params": [7{8"from": "0xcFED52fa50f36A055939C2EF1e887Aa127E44445",9"to": "0xcFED52fa50f36A055939C2EF1e887Aa127E44445",10"data": "0x70a08231000000000000000000000000cFED52fa50f36A055939C2EF1e887Aa127E44445"11},12"latest",13{14"tracer": "callTracer"15}16],17"id": 118}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"beforeEVMTransfers": [6{7"purpose": "feePayment",8"from": "0xcFED52fa50f36A055939C2EF1e887Aa127E44445",9"to": null,10"value": "0x0"11}12],13"afterEVMTransfers": [14{15"purpose": "gasRefund",16"from": null,17"to": "0xcFED52fa50f36A055939C2EF1e887Aa127E44445",18"value": "0x0"19},20{21"purpose": "feeCollection",22"from": null,23"to": "0x7131b1c28Df46d845Ee044f2f79AC19Ba14526a8",24"value": "0x31e677ac00"25},26{27"purpose": "feeCollection",28"from": null,29"to": "0xa4B00000000000000000000000000000000000F6",30"value": "0x0"31}32],33"from": "0xcfed52fa50f36a055939c2ef1e887aa127e44445",34"gas": "0x23c34600",35"gasUsed": "0x53b8",36"to": "0xcfed52fa50f36a055939c2ef1e887aa127e44445",37"input": "0x70a08231000000000000000000000000cfed52fa50f36a055939c2ef1e887aa127e44445",38"value": "0x0",39"type": "CALL"40}41}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"beforeEVMTransfers": [6{7"purpose": "feePayment",8"from": "0xcFED52fa50f36A055939C2EF1e887Aa127E44445",9"to": null,10"value": "0x0"11}12],13"afterEVMTransfers": [14{15"purpose": "gasRefund",16"from": null,17"to": "0xcFED52fa50f36A055939C2EF1e887Aa127E44445",18"value": "0x0"19},20{21"purpose": "feeCollection",22"from": null,23"to": "0x7131b1c28Df46d845Ee044f2f79AC19Ba14526a8",24"value": "0x31e677ac00"25},26{27"purpose": "feeCollection",28"from": null,29"to": "0xa4B00000000000000000000000000000000000F6",30"value": "0x0"31}32],33"from": "0xcfed52fa50f36a055939c2ef1e887aa127e44445",34"gas": "0x23c34600",35"gasUsed": "0x53b8",36"to": "0xcfed52fa50f36a055939c2ef1e887aa127e44445",37"input": "0x70a08231000000000000000000000000cfed52fa50f36a055939c2ef1e887aa127e44445",38"value": "0x0",39"type": "CALL"40}41}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free