Skip to main content

trace_block RPC Method

Loading...

Updated on
Nov 21, 2025

trace_block RPC Method

This RPC method is included in the Free Trial with limited usage. Upgrade your plan to get full access and higher limits. Learn more on our pricing page.

Parameters

blockNumber
string
REQUIRED
Loading...

Returns

array
Loading...
action
Loading...
from
Loading...
callType
Loading...
gas
Loading...
input
Loading...
to
Loading...
value
Loading...
blockHash
Loading...
blockNumber
Loading...
error
Loading...
result
Loading...
gasUsed
Loading...
output
Loading...
subtraces
Loading...
traceAddress
Loading...
transactionHash
Loading...
transactionPosition
Loading...
type
Loading...
Request
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"trace_block","params":["0xccb93d"],"id":1,"jsonrpc":"2.0"}'
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"trace_block","params":["0xccb93d"],"id":1,"jsonrpc":"2.0"}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"action": {
7
"from": "0xa06c3c08a19e51b33309eddfb356c33ead8517a3",
8
"callType": "call",
9
"gas": "0x23c30",
10
"input": "0x00000055000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000ccb93d0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000fa6de2697d59e88ed7fc4dfe5a33dac43565ea41000000000000000000000000fa6de2697d59e88ed7fc4dfe5a33dac43565ea410000000000000000000000008dcba0b75c1038c4babbdc0ff3bd9a8f6979dd13000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003400000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000000000000000000000000000359b994a1cd0f8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000108c24b47b23b1c1cba000000000000000000000000ec001d0000004536cad29291f4000000d029abb20000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000645db34277000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000000000000000000000000108c24b47b23b1c1cba00000000000000000000000000000000000000000000000900e43c0913bd8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000008dcba0b75c1038c4babbdc0ff3bd9a8f6979dd1300000000000000000000000000000000000000000000000900e43c0913bd80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4022c0d9f000000000000000000000000000000000000000000000000362804ffdb77a1630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ec001d0000004536cad29291f4000000d029abb200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
11
"to": "0xec001d0000004536cad29291f4000000d029abb2",
12
"value": "0x0"
13
},
14
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
15
"blockNumber": 13416765,
16
"result": {
17
"gasUsed": "0x203b8",
18
"output": "0x"
19
},
20
"subtraces": 5,
21
"traceAddress": [],
22
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
23
"transactionPosition": 0,
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0xec001d0000004536cad29291f4000000d029abb2",
29
"callType": "call",
30
"gas": "0x22c00",
31
"input": "0xa9059cbb0000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000000000000000000000000000359b994a1cd0f800",
32
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
33
"value": "0x0"
34
},
35
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
36
"blockNumber": 13416765,
37
"result": {
38
"gasUsed": "0x229e",
39
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
40
},
41
"subtraces": 0,
42
"traceAddress": [
43
0
44
],
45
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
46
"transactionPosition": 0,
47
"type": "call"
48
},
49
{
50
"action": {
51
"from": "0xec001d0000004536cad29291f4000000d029abb2",
52
"callType": "call",
53
"gas": "0x2051a",
54
"input": "0x022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000108c24b47b23b1c1cba000000000000000000000000ec001d0000004536cad29291f4000000d029abb2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
55
"to": "0x3da1313ae46132a397d90d95b1424a9a7e3e0fce",
56
"value": "0x0"
57
},
58
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
59
"blockNumber": 13416765,
60
"result": {
61
"gasUsed": "0x8a28",
62
"output": "0x"
63
},
64
"subtraces": 3,
65
"traceAddress": [
66
1
67
],
68
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
69
"transactionPosition": 0,
70
"type": "call"
71
}
72
],
73
"_truncated": true,
74
"_note": "Response truncated for documentation. Original had 826 total items, showing 5."
75
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"action": {
7
"from": "0xa06c3c08a19e51b33309eddfb356c33ead8517a3",
8
"callType": "call",
9
"gas": "0x23c30",
10
"input": "0x00000055000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000ccb93d0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000fa6de2697d59e88ed7fc4dfe5a33dac43565ea41000000000000000000000000fa6de2697d59e88ed7fc4dfe5a33dac43565ea410000000000000000000000008dcba0b75c1038c4babbdc0ff3bd9a8f6979dd13000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003400000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000000000000000000000000000359b994a1cd0f8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000108c24b47b23b1c1cba000000000000000000000000ec001d0000004536cad29291f4000000d029abb20000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000645db34277000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000000000000000000000000108c24b47b23b1c1cba00000000000000000000000000000000000000000000000900e43c0913bd8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000008dcba0b75c1038c4babbdc0ff3bd9a8f6979dd1300000000000000000000000000000000000000000000000900e43c0913bd80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4022c0d9f000000000000000000000000000000000000000000000000362804ffdb77a1630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ec001d0000004536cad29291f4000000d029abb200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
11
"to": "0xec001d0000004536cad29291f4000000d029abb2",
12
"value": "0x0"
13
},
14
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
15
"blockNumber": 13416765,
16
"result": {
17
"gasUsed": "0x203b8",
18
"output": "0x"
19
},
20
"subtraces": 5,
21
"traceAddress": [],
22
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
23
"transactionPosition": 0,
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0xec001d0000004536cad29291f4000000d029abb2",
29
"callType": "call",
30
"gas": "0x22c00",
31
"input": "0xa9059cbb0000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000000000000000000000000000359b994a1cd0f800",
32
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
33
"value": "0x0"
34
},
35
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
36
"blockNumber": 13416765,
37
"result": {
38
"gasUsed": "0x229e",
39
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
40
},
41
"subtraces": 0,
42
"traceAddress": [
43
0
44
],
45
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
46
"transactionPosition": 0,
47
"type": "call"
48
},
49
{
50
"action": {
51
"from": "0xec001d0000004536cad29291f4000000d029abb2",
52
"callType": "call",
53
"gas": "0x2051a",
54
"input": "0x022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000108c24b47b23b1c1cba000000000000000000000000ec001d0000004536cad29291f4000000d029abb2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
55
"to": "0x3da1313ae46132a397d90d95b1424a9a7e3e0fce",
56
"value": "0x0"
57
},
58
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
59
"blockNumber": 13416765,
60
"result": {
61
"gasUsed": "0x8a28",
62
"output": "0x"
63
},
64
"subtraces": 3,
65
"traceAddress": [
66
1
67
],
68
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
69
"transactionPosition": 0,
70
"type": "call"
71
}
72
],
73
"_truncated": true,
74
"_note": "Response truncated for documentation. Original had 826 total items, showing 5."
75
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free