v1
latestOpenAPI 3.1.02026-07-2612501.4 MBdebug_traceTransaction
Attempts to run the transaction in the exact same manner as it was executed on the network. It will replay any transaction that may have been executed prior to this one before it and will then attempt to execute the transaction that corresponds to the given hash.
Path parameters
The category represents the ecosystem category of the API. Available categories include "eth", "btc", "polygon", etc, see <span class="custom-style"><a href="./api-instructions" target="_blank">supported-ecosystems</a></span>.
The ecosystem represents the specific network or environment of the API. Available ecosystems include "mainnet", "testnet", etc, see <span class="custom-style"><a href="./api-instructions" target="_blank">supported-ecosystems</a></span>.
For higher throughput, please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>.
Request body
Response
Returns transaction trace
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"type": "CALL",
"from": "0x5067c042e35881843f2b31dfc2db1f4f272ef48c",
"to": "0x3ee18b2214aff97000d974cf647e7c347e8fa585",
"value": "0x0",
"gas": "0x17459",
"gasUsed": "0x166cb",
"input": "0x0f5287b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000001debea42000000000000000000000000000000000000000000000000000000000000000167c46aa713cfe47608dd1c16f8a0325208df084c3cbebf9f366ad0eafc2653e400000000000000000000000000000000000000000000000000000000001e8542000000000000000000000000000000000000000000000000000000006eca0000",
"output": "0x000000000000000000000000000000000000000000000000000000000001371e",
"calls": [
{
"type": "DELEGATECALL",
"from": "0x3ee18b2214aff97000d974cf647e7c347e8fa585",
"to": "0x76364611e457b1f97cd58ffc332ddc7561a193f6",
"gas": "0x15bc0",
"gasUsed": "0x1538e",
"input": "0x0f5287b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000001debea42000000000000000000000000000000000000000000000000000000000000000167c46aa713cfe47608dd1c16f8a0325208df084c3cbebf9f366ad0eafc2653e400000000000000000000000000000000000000000000000000000000001e8542000000000000000000000000000000000000000000000000000000006eca0000",
"output": "0x000000000000000000000000000000000000000000000000000000000001371e",
"calls": [
{
"type": "STATICCALL",
"from": "0x3ee18b2214aff97000d974cf647e7c347e8fa585",
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"gas": "0x123bb",
"gasUsed": "0x25c0",
"input": "0x313ce567",
"output": "0x0000000000000000000000000000000000000000000000000000000000000006",
"calls": [
{
"type": "DELEGATECALL",
"from": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"to": "0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf",
"gas": "0x10357",
"gasUsed": "0x94d",
"input": "0x313ce567",
"output": "0x0000000000000000000000000000000000000000000000000000000000000006"
}
]
},
{
"type": "STATICCALL",
"from": "0x3ee18b2214aff97000d974cf647e7c347e8fa585",
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"gas": "0xf9d6",
"gasUsed": "0xcf3",
"input": "0x70a082310000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa585",
"output": "0x00000000000000000000000000000000000000000000000000001691e551e115",
"calls": [
{
"type": "DELEGATECALL",
"from": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"to": "0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf",
"gas": "0xf315",
"gasUsed": "0x9e1",
"input": "0x70a082310000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa585",
"output": "0x00000000000000000000000000000000000000000000000000001691e551e115"
}
]
},
{
"type": "CALL",
"from": "0x3ee18b2214aff97000d974cf647e7c347e8fa585",
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"value": "0x0",
"gas": "0xe796",
"gasUsed": "0x5f48",
"input": "0x23b872dd0000000000000000000000005067c042e35881843f2b31dfc2db1f4f272ef48c0000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa585000000000000000000000000000000000000000000000000000000001debea42",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"calls": [
{
"type": "DELEGATECALL",
"from": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"to": "0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf",
"gas": "0xe115",
"gasUsed": "0x5c2d",
"input": "0x23b872dd0000000000000000000000005067c042e35881843f2b31dfc2db1f4f272ef48c0000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa585000000000000000000000000000000000000000000000000000000001debea42",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
}
]
},
{
"type": "STATICCALL",
"from": "0x3ee18b2214aff97000d974cf647e7c347e8fa585",
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"gas": "0x857c",
"gasUsed": "0x523",
"input": "0x70a082310000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa585",
"output": "0x00000000000000000000000000000000000000000000000000001692033dcb57",
"calls": [
{
"type": "DELEGATECALL",
"from": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"to": "0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf",
"gas": "0x808c",
"gasUsed": "0x211",
"input": "0x70a082310000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa585",
"output": "0x00000000000000000000000000000000000000000000000000001692033dcb57"
}
]
},
{
"type": "CALL",
"from": "0x3ee18b2214aff97000d974cf647e7c347e8fa585",
"to": "0x98f3c9e6e3face36baad05fe09d375ef1464288b",
"value": "0x0",
"gas": "0x4f9f",
"gasUsed": "0x46c6",
"input": "0xb19a437e000000000000000000000000000000000000000000000000000000006eca00000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000008501000000000000000000000000000000000000000000000000000000001debea42000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000267c46aa713cfe47608dd1c16f8a0325208df084c3cbebf9f366ad0eafc2653e4000100000000000000000000000000000000000000000000000000000000001e8542000000000000000000000000000000000000000000000000000000",
"output": "0x000000000000000000000000000000000000000000000000000000000001371e",
"calls": [
{
"type": "DELEGATECALL",
"from": "0x98f3c9e6e3face36baad05fe09d375ef1464288b",
"to": "0x8c0041566e0bc27efe285a9e98d0b4217a46809c",
"gas": "0x3b88",
"gasUsed": "0x3377",
"input": "0xb19a437e000000000000000000000000000000000000000000000000000000006eca00000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000008501000000000000000000000000000000000000000000000000000000001debea42000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000267c46aa713cfe47608dd1c16f8a0325208df084c3cbebf9f366ad0eafc2653e4000100000000000000000000000000000000000000000000000000000000001e8542000000000000000000000000000000000000000000000000000000",
"output": "0x000000000000000000000000000000000000000000000000000000000001371e"
}
]
}
]
}
]
}
}