Skip to main content

debug_traceCall RPC Method

Loading...

Updated on
May 01, 2026

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...
failed
Loading...
gas
Loading...
returnValue
Loading...
structLogs
Loading...
pc
Loading...
op
Loading...
gas
Loading...
gasCost
Loading...
depth
Loading...
error
Loading...
stack
Loading...
memory
Loading...
storage
Loading...
refund
Loading...
Request
1
curl -X POST "https://docs-demo.matic.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
null
13
],
14
"id": 1
15
}'
1
curl -X POST "https://docs-demo.matic.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
null
13
],
14
"id": 1
15
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"gas": 21000,
6
"failed": false,
7
"returnValue": "",
8
"structLogs": []
9
}
10
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"gas": 21000,
6
"failed": false,
7
"returnValue": "",
8
"structLogs": []
9
}
10
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free