debug_traceTransaction RPC Method
Please note that this RPC method is available to all users on the Build plan and higher. If you are using the Free plan, you will need to upgrade to utilize this method. See our pricing for more information.
Parameters
transactionHash
string
REQUIRED
Loading...
object
object
REQUIRED
Loading...
tracer
string
Loading...
callTracer
string
Loading...
prestateTracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...
timeout
string
Loading...
Returns
object
object
Loading...
type
string
Loading...
from
string
Loading...
to
string
Loading...
value
string
Loading...
gas
string
Loading...
gasUsed
string
Loading...
input
string
Loading...
output
string
Loading...
error
string
Loading...
calls
array
Loading...
type
string
Loading...
from
string
Loading...
to
string
Loading...
value
string
Loading...
gas
string
Loading...
gasUsed
string
Loading...
input
string
Loading...
output
string
Loading...
error
string
Loading...
calls
array
Loading...
Request
1curl -X POST "https://docs-demo.xlayer-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_traceTransaction",6"params": [7"0xad8b5a9c405d28b4ba5153abfeb7ddf0800e01d9a09ca2914297ff3d9760a334",8{9"tracer": "callTracer",10"tracerConfig": {11"onlyTopCall": false12}13}14],15"id": 116}'
1curl -X POST "https://docs-demo.xlayer-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_traceTransaction",6"params": [7"0xad8b5a9c405d28b4ba5153abfeb7ddf0800e01d9a09ca2914297ff3d9760a334",8{9"tracer": "callTracer",10"tracerConfig": {11"onlyTopCall": false12}13}14],15"id": 116}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",8"gas": "0x958136",9"gasUsed": "0xb4d",10"input": "0x0902f1ac",11"output": "0x0000000000000000000000000000000000000000000000000000003473208dc700000000000000000000000000000000000000000000003fed5b32a8ef74bda80000000000000000000000000000000000000000000000000000000068cd8a1e",12"to": "0xc71f9e1de80eb505c0cb3bbf90ae6593130e5d25",13"type": "STATICCALL"14},15{16"error": "execution reverted",17"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",18"gas": "0x955d04",19"gasUsed": "0x2d0",20"input": "0x3850c7bd",21"to": "0x2b59b462103efaa4d04e869d62985b43b46a93c9",22"type": "STATICCALL"23},24{25"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",26"gas": "0x955952",27"gasUsed": "0xc53",28"input": "0xe76c01e4",29"output": "0x0000000000000000000000000000000000011a24690fab1be586bedc49a44ac30000000000000000000000000000000000000000000000000000000000036a120000000000000000000000000000000000000000000000000000000000000b11000000000000000000000000000000000000000000000000000000000000176a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",30"to": "0x2b59b462103efaa4d04e869d62985b43b46a93c9",31"type": "STATICCALL"32},33{34"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",35"gas": "0x953412",36"gasUsed": "0x12ff",37"input": "0x3850c7bd",38"output": "0x0000000000000000000000000000000000011a4d33168f34eff8eaa883b080cf0000000000000000000000000000000000000000000000000000000000036a1e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000d480d480000000000000000000000000000000000000000000000000000000000000001",39"to": "0xdd755ebc1c84bdcdf31177f2f20ed9ae3e936854",40"type": "STATICCALL"41},42{43"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",44"gas": "0x950853",45"gasUsed": "0x12ff",46"input": "0x3850c7bd",47"output": "0x0000000000000000000000000000000000011a24bbbbf3993172bd5008885bd90000000000000000000000000000000000000000000000000000000000036a13000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000c800c800000000000000000000000000000000000000000000000000000000000000001",48"to": "0x4e6c7d221b5fa285aabdd8c7fa692bc0c79e7d8b",49"type": "STATICCALL"50},51{52"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",53"gas": "0x94dc94",54"gasUsed": "0x12ff",55"input": "0x3850c7bd",56"output": "0x0000000000000000000000000000000000011a3eb360b967c28153c5d49f352c0000000000000000000000000000000000000000000000000000000000036a1a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000ce40ce40000000000000000000000000000000000000000000000000000000000000001",57"to": "0xff922dfe6588079d79a9732afed4f96a25937869",58"type": "STATICCALL"59},60{61"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",62"gas": "0x94af8a",63"gasUsed": "0xb4d",64"input": "0x0902f1ac",65"output": "0x000000000000000000000000000000000000000000114d1eaa3e4df494b5fa6e0000000000000000000000000000000000000000000000d566dee92b9f3b0ec10000000000000000000000000000000000000000000000000000000068cd8a30",66"to": "0x3ea2a2f97a8bf3bbb1a3539bce45c612982ea9bf",67"type": "STATICCALL"68},69{70"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",71"gas": "0x948b58",72"gasUsed": "0xa88",73"input": "0x3850c7bd",74"output": "0x00000000000000000000000000000000000000000384541f43eb23aee1470957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeb10300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000001",75"to": "0xc23522b8303874a77d239117f8d66a1ea7404702",76"type": "STATICCALL"77},78{79"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",80"gas": "0x9466a3",81"gasUsed": "0xb4d",82"input": "0x0902f1ac",83"output": "0x00000000000000000000000000000000000000000000da5418154fcf1bf7e14a00000000000000000000000000000000000000000000000a84b70691eba7bf200000000000000000000000000000000000000000000000000000000068cd8a29",84"to": "0x07acace793c28a3936645c1906cea701dd757f04",85"type": "STATICCALL"86},87{88"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",89"gas": "0x944271",90"gasUsed": "0xa88",91"input": "0x3850c7bd",92"output": "0x00000000000000000000000000000000000000000387c225b72d8e7c5cf927d2fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeb14f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000001",93"to": "0x4a2407054a73e2834bcab3b7e22420ab02ca46ca",94"type": "STATICCALL"95},96{97"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",98"gas": "0x941da7",99"gasUsed": "0x9d5",100"input": "0x0902f1ac",101"output": "0x000000000000000000000000000000000000000000068efa27ada3adcf6ab769000000000000000000000000000000000000000000000040e0516a6f2f5a38590000000000000000000000000000000000000000000000000000000068cd880d",102"to": "0xe629cf6f707c7d7dcb8ee06035bd606570f92629",103"type": "STATICCALL"104},105{106"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",107"gas": "0x93f99e",108"gasUsed": "0xb4d",109"input": "0x0902f1ac",110"output": "0x00000000000000000000000000000000000000000000276a67baa2ad6746baa80000000000000000000000000000000000000000000000018411f620ff9894930000000000000000000000000000000000000000000000000000000068cd82a0",111"to": "0xe76ba4347537cd4cdc6d13f29479a06c2ab1a2e2",112"type": "STATICCALL"113},114{115"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",116"gas": "0x93d421",117"gasUsed": "0xb4d",118"input": "0x0902f1ac",119"output": "0x0000000000000000000000000000000000000000000000000000001edd7662c60000000000000000000000000000000000000000000000257c95337356127c690000000000000000000000000000000000000000000000000000000068cd8a07",120"to": "0xd352a852a328d7eccc8bbf63e2e1dd73c68527cd",121"type": "STATICCALL"122},123{124"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",125"gas": "0x93aea5",126"gasUsed": "0xb3b",127"input": "0x0902f1ac",128"output": "0x00000000000000000000000000000000000000000000000000000011f81ac1c4000000000000000000000000000000000000000000000015d1028b0352486b9f0000000000000000000000000000000000000000000000000000000068cd8828",129"to": "0x76451ea2075ef09f0e31ea86204547ac0caf3647",130"type": "STATICCALL"131},132{133"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",134"gas": "0x938936",135"gasUsed": "0xb4d",136"input": "0x0902f1ac",137"output": "0x00000000000000000000000000000000000000000000000000000004ebc8af70000000000000000000000000000000000000000000000005fb3c418736cf82f30000000000000000000000000000000000000000000000000000000068cd8828",138"to": "0xfb43803eaf41a516c062e7cfb9d77c65c5235907",139"type": "STATICCALL"140},141{142"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",143"gas": "0x9363b8",144"gasUsed": "0xb4d",145"input": "0x0902f1ac",146"output": "0x00000000000000000000000000000000000000000023d66dade80bdde96a6a1a0000000000000000000000000000000000000000000000256edfb091c2350b1a0000000000000000000000000000000000000000000000000000000068cd8a0f",147"to": "0xac9295012a41ae7e5fed60c8878fc51bdd79f55e",148"type": "STATICCALL"149},150{151"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",152"gas": "0x933f85",153"gasUsed": "0xa88",154"input": "0x3850c7bd",155"output": "0x00000000000000000000000000000000000000000105d2aa762ef408c4a9939ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe508400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000001",156"to": "0x884f2048d3c03af43ed1cb801557d921c0366e02",157"type": "STATICCALL"158}159],160"from": "0xaef7197e050a8eac5f94ea335d97847dd0a77fd4",161"gas": "0x989680",162"gasUsed": "0x30ee8",163"input": "0x",164"to": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",165"type": "CALL",166"value": "0x0"167}168}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",8"gas": "0x958136",9"gasUsed": "0xb4d",10"input": "0x0902f1ac",11"output": "0x0000000000000000000000000000000000000000000000000000003473208dc700000000000000000000000000000000000000000000003fed5b32a8ef74bda80000000000000000000000000000000000000000000000000000000068cd8a1e",12"to": "0xc71f9e1de80eb505c0cb3bbf90ae6593130e5d25",13"type": "STATICCALL"14},15{16"error": "execution reverted",17"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",18"gas": "0x955d04",19"gasUsed": "0x2d0",20"input": "0x3850c7bd",21"to": "0x2b59b462103efaa4d04e869d62985b43b46a93c9",22"type": "STATICCALL"23},24{25"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",26"gas": "0x955952",27"gasUsed": "0xc53",28"input": "0xe76c01e4",29"output": "0x0000000000000000000000000000000000011a24690fab1be586bedc49a44ac30000000000000000000000000000000000000000000000000000000000036a120000000000000000000000000000000000000000000000000000000000000b11000000000000000000000000000000000000000000000000000000000000176a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",30"to": "0x2b59b462103efaa4d04e869d62985b43b46a93c9",31"type": "STATICCALL"32},33{34"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",35"gas": "0x953412",36"gasUsed": "0x12ff",37"input": "0x3850c7bd",38"output": "0x0000000000000000000000000000000000011a4d33168f34eff8eaa883b080cf0000000000000000000000000000000000000000000000000000000000036a1e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000d480d480000000000000000000000000000000000000000000000000000000000000001",39"to": "0xdd755ebc1c84bdcdf31177f2f20ed9ae3e936854",40"type": "STATICCALL"41},42{43"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",44"gas": "0x950853",45"gasUsed": "0x12ff",46"input": "0x3850c7bd",47"output": "0x0000000000000000000000000000000000011a24bbbbf3993172bd5008885bd90000000000000000000000000000000000000000000000000000000000036a13000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000c800c800000000000000000000000000000000000000000000000000000000000000001",48"to": "0x4e6c7d221b5fa285aabdd8c7fa692bc0c79e7d8b",49"type": "STATICCALL"50},51{52"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",53"gas": "0x94dc94",54"gasUsed": "0x12ff",55"input": "0x3850c7bd",56"output": "0x0000000000000000000000000000000000011a3eb360b967c28153c5d49f352c0000000000000000000000000000000000000000000000000000000000036a1a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000ce40ce40000000000000000000000000000000000000000000000000000000000000001",57"to": "0xff922dfe6588079d79a9732afed4f96a25937869",58"type": "STATICCALL"59},60{61"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",62"gas": "0x94af8a",63"gasUsed": "0xb4d",64"input": "0x0902f1ac",65"output": "0x000000000000000000000000000000000000000000114d1eaa3e4df494b5fa6e0000000000000000000000000000000000000000000000d566dee92b9f3b0ec10000000000000000000000000000000000000000000000000000000068cd8a30",66"to": "0x3ea2a2f97a8bf3bbb1a3539bce45c612982ea9bf",67"type": "STATICCALL"68},69{70"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",71"gas": "0x948b58",72"gasUsed": "0xa88",73"input": "0x3850c7bd",74"output": "0x00000000000000000000000000000000000000000384541f43eb23aee1470957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeb10300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000001",75"to": "0xc23522b8303874a77d239117f8d66a1ea7404702",76"type": "STATICCALL"77},78{79"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",80"gas": "0x9466a3",81"gasUsed": "0xb4d",82"input": "0x0902f1ac",83"output": "0x00000000000000000000000000000000000000000000da5418154fcf1bf7e14a00000000000000000000000000000000000000000000000a84b70691eba7bf200000000000000000000000000000000000000000000000000000000068cd8a29",84"to": "0x07acace793c28a3936645c1906cea701dd757f04",85"type": "STATICCALL"86},87{88"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",89"gas": "0x944271",90"gasUsed": "0xa88",91"input": "0x3850c7bd",92"output": "0x00000000000000000000000000000000000000000387c225b72d8e7c5cf927d2fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeb14f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000001",93"to": "0x4a2407054a73e2834bcab3b7e22420ab02ca46ca",94"type": "STATICCALL"95},96{97"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",98"gas": "0x941da7",99"gasUsed": "0x9d5",100"input": "0x0902f1ac",101"output": "0x000000000000000000000000000000000000000000068efa27ada3adcf6ab769000000000000000000000000000000000000000000000040e0516a6f2f5a38590000000000000000000000000000000000000000000000000000000068cd880d",102"to": "0xe629cf6f707c7d7dcb8ee06035bd606570f92629",103"type": "STATICCALL"104},105{106"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",107"gas": "0x93f99e",108"gasUsed": "0xb4d",109"input": "0x0902f1ac",110"output": "0x00000000000000000000000000000000000000000000276a67baa2ad6746baa80000000000000000000000000000000000000000000000018411f620ff9894930000000000000000000000000000000000000000000000000000000068cd82a0",111"to": "0xe76ba4347537cd4cdc6d13f29479a06c2ab1a2e2",112"type": "STATICCALL"113},114{115"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",116"gas": "0x93d421",117"gasUsed": "0xb4d",118"input": "0x0902f1ac",119"output": "0x0000000000000000000000000000000000000000000000000000001edd7662c60000000000000000000000000000000000000000000000257c95337356127c690000000000000000000000000000000000000000000000000000000068cd8a07",120"to": "0xd352a852a328d7eccc8bbf63e2e1dd73c68527cd",121"type": "STATICCALL"122},123{124"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",125"gas": "0x93aea5",126"gasUsed": "0xb3b",127"input": "0x0902f1ac",128"output": "0x00000000000000000000000000000000000000000000000000000011f81ac1c4000000000000000000000000000000000000000000000015d1028b0352486b9f0000000000000000000000000000000000000000000000000000000068cd8828",129"to": "0x76451ea2075ef09f0e31ea86204547ac0caf3647",130"type": "STATICCALL"131},132{133"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",134"gas": "0x938936",135"gasUsed": "0xb4d",136"input": "0x0902f1ac",137"output": "0x00000000000000000000000000000000000000000000000000000004ebc8af70000000000000000000000000000000000000000000000005fb3c418736cf82f30000000000000000000000000000000000000000000000000000000068cd8828",138"to": "0xfb43803eaf41a516c062e7cfb9d77c65c5235907",139"type": "STATICCALL"140},141{142"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",143"gas": "0x9363b8",144"gasUsed": "0xb4d",145"input": "0x0902f1ac",146"output": "0x00000000000000000000000000000000000000000023d66dade80bdde96a6a1a0000000000000000000000000000000000000000000000256edfb091c2350b1a0000000000000000000000000000000000000000000000000000000068cd8a0f",147"to": "0xac9295012a41ae7e5fed60c8878fc51bdd79f55e",148"type": "STATICCALL"149},150{151"from": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",152"gas": "0x933f85",153"gasUsed": "0xa88",154"input": "0x3850c7bd",155"output": "0x00000000000000000000000000000000000000000105d2aa762ef408c4a9939ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe508400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000001",156"to": "0x884f2048d3c03af43ed1cb801557d921c0366e02",157"type": "STATICCALL"158}159],160"from": "0xaef7197e050a8eac5f94ea335d97847dd0a77fd4",161"gas": "0x989680",162"gasUsed": "0x30ee8",163"input": "0x",164"to": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",165"type": "CALL",166"value": "0x0"167}168}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free