run commond below, the parameter is block number:
curl --request POST 'http://52.147.194.138:9500' --header 'Content-Type: application/json' --data-raw '{
"jsonrpc": "2.0",
"method": "trace_block",
"params": ["0x766914"],
"id": 1
}'
response:
{
"id" : 1,
"jsonrpc" : "2.0",
"result" : [
{
"result" : {
"gasUsed" : "0x832c",
"output" : "0x"
},
"blockNumber" : 7760148,
"traceAddress" : [],
"blockHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"transactionPosition" : 0,
"action" : {
"value" : "0x64",
"to" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"gas" : "0x79bdc8",
"callType" : "call",
"input" : "0x8100626b0000000000000000000000001a6c42835f18102ed3a97bc4b4d703681055e64d0000000000000000000000000000000000000000000000000000000000000003",
"from" : "0x8520021f89450394244cd4abda4cfe2f1b0ef61c"
},
"transactionHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"subtraces" : 2,
"type" : "call"
},
{
"transactionPosition" : 0,
"action" : {
"from" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"input" : "0x8100626b0000000000000000000000001a6c42835f18102ed3a97bc4b4d703681055e64d0000000000000000000000000000000000000000000000000000000000000002",
"callType" : "call",
"gas" : "0x77b623",
"to" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"value" : "0x32"
},
"transactionHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"subtraces" : 2,
"type" : "call",
"blockNumber" : 7760148,
"result" : {
"output" : "0x",
"gasUsed" : "0x5a41"
},
"traceAddress" : [
0
],
"blockHash" : "0x0000000000000000000000000000000000000000000000000000000000000000"
},
{
"transactionPosition" : 0,
"action" : {
"callType" : "call",
"from" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"input" : "0x8100626b0000000000000000000000001a6c42835f18102ed3a97bc4b4d703681055e64d0000000000000000000000000000000000000000000000000000000000000001",
"to" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"gas" : "0x75b69c",
"value" : "0x19"
},
"transactionHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"subtraces" : 2,
"type" : "call",
"blockNumber" : 7760148,
"result" : {
"gasUsed" : "0x3156",
"output" : "0x"
},
"traceAddress" : [
0,
0
],
"blockHash" : "0x0000000000000000000000000000000000000000000000000000000000000000"
},
{
"blockNumber" : 7760148,
"traceAddress" : [
0,
0,
0
],
"result" : {
"output" : "0x",
"gasUsed" : "0xfe"
},
"blockHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"transactionPosition" : 0,
"action" : {
"input" : "0x8100626b0000000000000000000000001a6c42835f18102ed3a97bc4b4d703681055e64d0000000000000000000000000000000000000000000000000000000000000000",
"from" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"callType" : "call",
"gas" : "0x73bf13",
"to" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"value" : "0xc"
},
"transactionHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"type" : "call",
"subtraces" : 0
},
{
"transactionPosition" : 0,
"action" : {
"callType" : "call",
"input" : "0x9eb7a67f0000000000000000000000001a6c42835f18102ed3a97bc4b4d703681055e64d0000000000000000000000000000000000000000000000000000000000000001",
"from" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"value" : "0x0",
"to" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"gas" : "0x73b7d4"
},
"transactionHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"subtraces" : 1,
"type" : "call",
"blockHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"blockNumber" : 7760148,
"traceAddress" : [
0,
0,
1
],
"result" : {
"gasUsed" : "0x899",
"output" : "0x"
}
},
{
"result" : {
"gasUsed" : "0x12c",
"output" : "0x"
},
"blockNumber" : 7760148,
"traceAddress" : [
0,
0,
1,
0
],
"blockHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"transactionPosition" : 0,
"action" : {
"input" : "0x9eb7a67f0000000000000000000000001a6c42835f18102ed3a97bc4b4d703681055e64d0000000000000000000000000000000000000000000000000000000000000002",
"from" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"callType" : "call",
"value" : "0x0",
"gas" : "0x71e1d2",
"to" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d"
},
"transactionHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"subtraces" : 0,
"type" : "call"
},
{
"type" : "call",
"subtraces" : 0,
"transactionHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"action" : {
"value" : "0x0",
"to" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"gas" : "0x757fc7",
"callType" : "call",
"from" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"input" : "0x9eb7a67f0000000000000000000000001a6c42835f18102ed3a97bc4b4d703681055e64d0000000000000000000000000000000000000000000000000000000000000002"
},
"transactionPosition" : 0,
"result" : {
"gasUsed" : "0x12c",
"output" : "0x"
},
"blockNumber" : 7760148,
"traceAddress" : [
0,
1
],
"blockHash" : "0x0000000000000000000000000000000000000000000000000000000000000000"
},
{
"transactionPosition" : 0,
"action" : {
"from" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"input" : "0x9eb7a67f0000000000000000000000001a6c42835f18102ed3a97bc4b4d703681055e64d0000000000000000000000000000000000000000000000000000000000000003",
"callType" : "call",
"gas" : "0x775706",
"to" : "0x1a6c42835f18102ed3a97bc4b4d703681055e64d",
"value" : "0x0"
},
"transactionHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"type" : "call",
"subtraces" : 0,
"blockHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"result" : {
"output" : "0x",
"gasUsed" : "0x12c"
},
"blockNumber" : 7760148,
"traceAddress" : [
1
]
}
]
}