Skip to main content

debug_traceCall RPC Method

Loading...

Updated on
Apr 29, 2026

debug_traceCall RPC Method

To use the debug_traceCall method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

Parameters

object
object
Loading...
from
string
Loading...
to
string
Loading...
gas
integer
Loading...
gasPrice
integer
Loading...
value
integer
Loading...
data
string
Loading...
blockReference
string
REQUIRED
Loading...
object
object
REQUIRED
Loading...
tracer
string
Loading...
callTracer
string
Loading...
prestateTracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...

Returns

result
object
Loading...
type
string
Loading...
from
string
Loading...
to
string
Loading...
gas
string
Loading...
gasUsed
string
Loading...
value
string
Loading...
output
string
Loading...
input
string
Loading...
Request
1
curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \
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
"tracerConfig": {
15
"onlyTopCall": false
16
}
17
}
18
],
19
"id": 1
20
}'
1
curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \
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
"tracerConfig": {
15
"onlyTopCall": false
16
}
17
}
18
],
19
"id": 1
20
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"calls": "0x0",
6
"error": "0x0",
7
"from": "0x0",
8
"gas": "0x0",
9
"gasUsed": "0x0",
10
"input": "0x0",
11
"output": "0x0",
12
"revertReason": "0x0",
13
"to": "0x0",
14
"type": "0x0",
15
"value": "0x0"
16
}
17
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"calls": "0x0",
6
"error": "0x0",
7
"from": "0x0",
8
"gas": "0x0",
9
"gasUsed": "0x0",
10
"input": "0x0",
11
"output": "0x0",
12
"revertReason": "0x0",
13
"to": "0x0",
14
"type": "0x0",
15
"value": "0x0"
16
}
17
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free