debug_traceTransaction
curl --request POST \
--url https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": [
"0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad",
{
"tracer": "callTracer"
}
]
}
'import requests
url = "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/"
payload = {
"id": 1,
"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": ["0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad", { "tracer": "callTracer" }]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
id: 1,
jsonrpc: '2.0',
method: 'debug_traceTransaction',
params: [
'0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad',
{tracer: 'callTracer'}
]
})
};
fetch('https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 1,
'jsonrpc' => '2.0',
'method' => 'debug_traceTransaction',
'params' => [
'0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad',
[
'tracer' => 'callTracer'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/"
payload := strings.NewReader("{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"debug_traceTransaction\",\n \"params\": [\n \"0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad\",\n {\n \"tracer\": \"callTracer\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/")
.header("Content-Type", "application/json")
.body("{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"debug_traceTransaction\",\n \"params\": [\n \"0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad\",\n {\n \"tracer\": \"callTracer\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"debug_traceTransaction\",\n \"params\": [\n \"0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad\",\n {\n \"tracer\": \"callTracer\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 1,
"result": {
"from": "0x05756f67f5f6f4d3c798749a3c28b050dcd9aa99",
"gas": "0xf4240",
"gasUsed": "0x29be9",
"to": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"input": "0x33f23865300b6571a26fd52c350bf33577c1107fdc30555d44eaa2b2602fbe5f878eb5ff00000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db410000000000000000000000003600000000000000000000000000000000000000000000000000000000000000171a4217b86a807a64eb94757db6849fb4bdbaa0000000000000000000000000000000000000000000000000000000001a497ae7000000000000000000000000000000000000000000000000000000000008e9f1000000000000000000000000000000000000001b798a1cb4651f0000000000000000000000000000000000000000000000000000000000000000000001c69af0",
"output": "0x000000000000000000000000000000000000000000000000000000001a497ae7000000000000000000000000000000000000000000000000000000000008ea0f",
"calls": [
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe8f6a",
"gasUsed": "0x10a",
"to": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"input": "0x0dfe1681",
"output": "0x000000000000000000000000171a4217b86a807a64eb94757db6849fb4bdbaa0",
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe8c21",
"gasUsed": "0x134",
"to": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"input": "0xd21220a7",
"output": "0x0000000000000000000000003600000000000000000000000000000000000000",
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe7c2f",
"gasUsed": "0x1ec4",
"to": "0x3600000000000000000000000000000000000000",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x0000000000000000000000000000000000000000000000000000000096d646b2",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xe26bb",
"gasUsed": "0x2a7",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x0000000000000000000000000000000000000000000000000000000096d646b2",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe5239",
"gasUsed": "0x2616",
"to": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
"calls": [
{
"from": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"gas": "0xdfd6c",
"gasUsed": "0x9f9",
"to": "0xc6061272419bb754a6c0386d1df81ddb3fe5cf3c",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe23a9",
"gasUsed": "0x192f1",
"to": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"input": "0x128acb0800000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e23955930000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a497ae7000000000000000000000000000000000000001b798a1cb4651f00000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
"output": "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffff715f1000000000000000000000000000000000000000000000000000000001a497ae7",
"calls": [
{
"from": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"gas": "0xd5446",
"gasUsed": "0x7d3f",
"to": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"input": "0xa9059cbb00000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593000000000000000000000000000000000000000000000000000000000008ea0f",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"calls": [
{
"from": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"gas": "0xd1c6d",
"gasUsed": "0x7a83",
"to": "0xc6061272419bb754a6c0386d1df81ddb3fe5cf3c",
"input": "0xa9059cbb00000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593000000000000000000000000000000000000000000000000000000000008ea0f",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"value": "0x0",
"type": "CALL"
},
{
"from": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"gas": "0xcd596",
"gasUsed": "0x560",
"to": "0x3600000000000000000000000000000000000000",
"input": "0x70a0823100000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41",
"output": "0x000000000000000000000000000000000000000000000000000004f52d7e6a4a",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc9fba",
"gasUsed": "0x2a7",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0x70a0823100000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41",
"output": "0x000000000000000000000000000000000000000000000000000004f52d7e6a4a",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
},
{
"from": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"gas": "0xccd5a",
"gasUsed": "0x5a4a",
"to": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"input": "0xfa461e33fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff715f1000000000000000000000000000000000000000000000000000000001a497ae700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
"calls": [
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xc90ea",
"gasUsed": "0x4f82",
"to": "0x3600000000000000000000000000000000000000",
"input": "0xa9059cbb00000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41000000000000000000000000000000000000000000000000000000001a497ae7",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc5c1e",
"gasUsed": "0x4cc6",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0xa9059cbb00000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41000000000000000000000000000000000000000000000000000000001a497ae7",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc14c8",
"gasUsed": "0x2eb4",
"to": "0x1800000000000000000000000000000000000000",
"input": "0xbeabacc800000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e239559300000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41000000000000000000000000000000000000000000000017e86d2e201a917000",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"value": "0x0",
"type": "CALL"
}
],
"value": "0x0",
"type": "DELEGATECALL"
}
],
"value": "0x0",
"type": "CALL"
}
],
"value": "0x0",
"type": "CALL"
},
{
"from": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"gas": "0xc7201",
"gasUsed": "0x560",
"to": "0x3600000000000000000000000000000000000000",
"input": "0x70a0823100000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41",
"output": "0x000000000000000000000000000000000000000000000000000004f547c7e531",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc3db4",
"gasUsed": "0x2a7",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0x70a0823100000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41",
"output": "0x000000000000000000000000000000000000000000000000000004f547c7e531",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
}
],
"value": "0x0",
"type": "CALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xc94d9",
"gasUsed": "0x560",
"to": "0x3600000000000000000000000000000000000000",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x000000000000000000000000000000000000000000000000000000007c8ccbcb",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc6000",
"gasUsed": "0x2a7",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x000000000000000000000000000000000000000000000000000000007c8ccbcb",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xc8d80",
"gasUsed": "0x4e2",
"to": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x000000000000000000000000000000000000000000000000000000000008ea0f",
"calls": [
{
"from": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"gas": "0xc58c5",
"gasUsed": "0x229",
"to": "0xc6061272419bb754a6c0386d1df81ddb3fe5cf3c",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x000000000000000000000000000000000000000000000000000000000008ea0f",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
}
],
"value": "0x0",
"type": "CALL"
}
}Arc node API
debug_traceTransaction | Arc
Arc API method that returns a detailed trace of a transaction’s execution. Reference for debug_traceTransaction on Arc via Chainstack.
POST
/
debug_traceTransaction
curl --request POST \
--url https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": [
"0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad",
{
"tracer": "callTracer"
}
]
}
'import requests
url = "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/"
payload = {
"id": 1,
"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": ["0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad", { "tracer": "callTracer" }]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
id: 1,
jsonrpc: '2.0',
method: 'debug_traceTransaction',
params: [
'0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad',
{tracer: 'callTracer'}
]
})
};
fetch('https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 1,
'jsonrpc' => '2.0',
'method' => 'debug_traceTransaction',
'params' => [
'0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad',
[
'tracer' => 'callTracer'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/"
payload := strings.NewReader("{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"debug_traceTransaction\",\n \"params\": [\n \"0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad\",\n {\n \"tracer\": \"callTracer\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/")
.header("Content-Type", "application/json")
.body("{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"debug_traceTransaction\",\n \"params\": [\n \"0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad\",\n {\n \"tracer\": \"callTracer\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"debug_traceTransaction\",\n \"params\": [\n \"0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad\",\n {\n \"tracer\": \"callTracer\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 1,
"result": {
"from": "0x05756f67f5f6f4d3c798749a3c28b050dcd9aa99",
"gas": "0xf4240",
"gasUsed": "0x29be9",
"to": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"input": "0x33f23865300b6571a26fd52c350bf33577c1107fdc30555d44eaa2b2602fbe5f878eb5ff00000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db410000000000000000000000003600000000000000000000000000000000000000000000000000000000000000171a4217b86a807a64eb94757db6849fb4bdbaa0000000000000000000000000000000000000000000000000000000001a497ae7000000000000000000000000000000000000000000000000000000000008e9f1000000000000000000000000000000000000001b798a1cb4651f0000000000000000000000000000000000000000000000000000000000000000000001c69af0",
"output": "0x000000000000000000000000000000000000000000000000000000001a497ae7000000000000000000000000000000000000000000000000000000000008ea0f",
"calls": [
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe8f6a",
"gasUsed": "0x10a",
"to": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"input": "0x0dfe1681",
"output": "0x000000000000000000000000171a4217b86a807a64eb94757db6849fb4bdbaa0",
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe8c21",
"gasUsed": "0x134",
"to": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"input": "0xd21220a7",
"output": "0x0000000000000000000000003600000000000000000000000000000000000000",
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe7c2f",
"gasUsed": "0x1ec4",
"to": "0x3600000000000000000000000000000000000000",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x0000000000000000000000000000000000000000000000000000000096d646b2",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xe26bb",
"gasUsed": "0x2a7",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x0000000000000000000000000000000000000000000000000000000096d646b2",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe5239",
"gasUsed": "0x2616",
"to": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
"calls": [
{
"from": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"gas": "0xdfd6c",
"gasUsed": "0x9f9",
"to": "0xc6061272419bb754a6c0386d1df81ddb3fe5cf3c",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xe23a9",
"gasUsed": "0x192f1",
"to": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"input": "0x128acb0800000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e23955930000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a497ae7000000000000000000000000000000000000001b798a1cb4651f00000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000",
"output": "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffff715f1000000000000000000000000000000000000000000000000000000001a497ae7",
"calls": [
{
"from": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"gas": "0xd5446",
"gasUsed": "0x7d3f",
"to": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"input": "0xa9059cbb00000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593000000000000000000000000000000000000000000000000000000000008ea0f",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"calls": [
{
"from": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"gas": "0xd1c6d",
"gasUsed": "0x7a83",
"to": "0xc6061272419bb754a6c0386d1df81ddb3fe5cf3c",
"input": "0xa9059cbb00000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593000000000000000000000000000000000000000000000000000000000008ea0f",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"value": "0x0",
"type": "CALL"
},
{
"from": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"gas": "0xcd596",
"gasUsed": "0x560",
"to": "0x3600000000000000000000000000000000000000",
"input": "0x70a0823100000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41",
"output": "0x000000000000000000000000000000000000000000000000000004f52d7e6a4a",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc9fba",
"gasUsed": "0x2a7",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0x70a0823100000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41",
"output": "0x000000000000000000000000000000000000000000000000000004f52d7e6a4a",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
},
{
"from": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"gas": "0xccd5a",
"gasUsed": "0x5a4a",
"to": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"input": "0xfa461e33fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff715f1000000000000000000000000000000000000000000000000000000001a497ae700000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
"calls": [
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xc90ea",
"gasUsed": "0x4f82",
"to": "0x3600000000000000000000000000000000000000",
"input": "0xa9059cbb00000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41000000000000000000000000000000000000000000000000000000001a497ae7",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc5c1e",
"gasUsed": "0x4cc6",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0xa9059cbb00000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41000000000000000000000000000000000000000000000000000000001a497ae7",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc14c8",
"gasUsed": "0x2eb4",
"to": "0x1800000000000000000000000000000000000000",
"input": "0xbeabacc800000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e239559300000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41000000000000000000000000000000000000000000000017e86d2e201a917000",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"value": "0x0",
"type": "CALL"
}
],
"value": "0x0",
"type": "DELEGATECALL"
}
],
"value": "0x0",
"type": "CALL"
}
],
"value": "0x0",
"type": "CALL"
},
{
"from": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"gas": "0xc7201",
"gasUsed": "0x560",
"to": "0x3600000000000000000000000000000000000000",
"input": "0x70a0823100000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41",
"output": "0x000000000000000000000000000000000000000000000000000004f547c7e531",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc3db4",
"gasUsed": "0x2a7",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0x70a0823100000000000000000000000082916bee18fcef517b26c72d7cb5f13694e1db41",
"output": "0x000000000000000000000000000000000000000000000000000004f547c7e531",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
}
],
"value": "0x0",
"type": "CALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xc94d9",
"gasUsed": "0x560",
"to": "0x3600000000000000000000000000000000000000",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x000000000000000000000000000000000000000000000000000000007c8ccbcb",
"calls": [
{
"from": "0x3600000000000000000000000000000000000000",
"gas": "0xc6000",
"gasUsed": "0x2a7",
"to": "0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x000000000000000000000000000000000000000000000000000000007c8ccbcb",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
},
{
"from": "0x59940b5885b2e74400cee1e8aec7fdd1e2395593",
"gas": "0xc8d80",
"gasUsed": "0x4e2",
"to": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x000000000000000000000000000000000000000000000000000000000008ea0f",
"calls": [
{
"from": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"gas": "0xc58c5",
"gasUsed": "0x229",
"to": "0xc6061272419bb754a6c0386d1df81ddb3fe5cf3c",
"input": "0x70a0823100000000000000000000000059940b5885b2e74400cee1e8aec7fdd1e2395593",
"output": "0x000000000000000000000000000000000000000000000000000000000008ea0f",
"value": "0x0",
"type": "DELEGATECALL"
}
],
"type": "STATICCALL"
}
],
"value": "0x0",
"type": "CALL"
}
}Arc API method that returns a detailed trace of a transaction’s execution. This is useful for debugging failed transactions or understanding contract behavior.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
transactionHash— the hash of the transaction to tracetracerConfig— (optional) tracer configuration object:tracer— tracer type (e.g.,callTracer,prestateTracer)timeout— (optional) timeout for the trace
Response
result— the trace result object, format depends on the tracer used
debug_traceTransaction code examples
const ethers = require('ethers');
const NODE_URL = "CHAINSTACK_NODE_URL";
const provider = new ethers.JsonRpcProvider(NODE_URL);
const traceTransaction = async (txHash) => {
const trace = await provider.send("debug_traceTransaction", [
txHash,
{ tracer: "callTracer" }
]);
console.log(JSON.stringify(trace, null, 2));
};
traceTransaction("0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad");
from web3 import Web3
node_url = "CHAINSTACK_NODE_URL"
web3 = Web3(Web3.HTTPProvider(node_url))
result = web3.provider.make_request("debug_traceTransaction", [
"0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad",
{"tracer": "callTracer"}
])
print(result['result'])
curl -X POST "CHAINSTACK_NODE_URL" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": ["0x010237c95a77484f09c3b76b209efd1edd073de7d9cd10c3056b8f51107640ad", {"tracer": "callTracer"}],
"id": 1
}'
Last modified on November 6, 2026
Was this page helpful?