debug_traceCall RPC Method
Parameters
object
object
Loading...
from
string
Loading...
to
string
REQUIRED
Loading...
gas
string
Loading...
gasPrice
string
Loading...
value
string
Loading...
data
string
Loading...
blockReference
string
Loading...
object
object
REQUIRED
Loading...
tracer
string
Loading...
callTracer
string
Loading...
prestateTracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...
Returns
result
Loading...
from
Loading...
gas
Loading...
gasUsed
Loading...
to
Loading...
input
Loading...
output
Loading...
value
Loading...
type
Loading...
calls
Loading...
Request
1curl -X POST "https://docs-demo.bsc.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_traceCall",6"params": [7{8"to": "0x6b175474e89094c44da98b954eedeac495271d0f",9"data": "0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"10},11"latest",12{13"tracer": "callTracer"14}15],16"id": 117}'
1curl -X POST "https://docs-demo.bsc.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_traceCall",6"params": [7{8"to": "0x6b175474e89094c44da98b954eedeac495271d0f",9"data": "0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"10},11"latest",12{13"tracer": "callTracer"14}15],16"id": 117}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"from": "0x0000000000000000000000000000000000000000",6"gas": "0x23c34600",7"gasUsed": "0x5e6e",8"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",9"input": "0x06fdde03",10"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b5772617070656420424e42000000000000000000000000000000000000000000",11"value": "0x0",12"type": "CALL"13}14}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"from": "0x0000000000000000000000000000000000000000",6"gas": "0x23c34600",7"gasUsed": "0x5e6e",8"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",9"input": "0x06fdde03",10"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b5772617070656420424e42000000000000000000000000000000000000000000",11"value": "0x0",12"type": "CALL"13}14}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free