{
  "openrpc": "1.2.6",
  "info": {
    "title": "Ethereum Debug API",
    "description": "Quicknode Ethereum Debug API reference",
    "version": "1.0.0"
  },
  "methods": [
    {
      "name": "debug_getBadBlocks",
      "summary": "Returns a list of the last bad blocks that the client has seen on the network.",
      "description": "Returns a list of the last bad blocks that the client has seen on the network.",
      "params": [],
      "result": {
        "name": "result",
        "description": "debug_getBadBlocks result",
        "schema": {
          "type": "object",
          "properties": {
            "hash": {
              "type": "string",
              "description": "The hash of the transaction"
            },
            "block": {
              "type": "object",
              "properties": {
                "baseFeePerGas": {
                  "type": "string",
                  "description": "The integer of the difficulty for this block encoded as hexadecimal"
                },
                "difficulty": {
                  "type": "string",
                  "description": "The integer of the difficulty for this block encoded as hexadecimal"
                },
                "extraData": {
                  "type": "string",
                  "description": "The extra data field of this block"
                },
                "gasLimit": {
                  "type": "string",
                  "description": "The maximum gas allowed in this block encoded as hexadecimal"
                },
                "gasUsed": {
                  "type": "string",
                  "description": "The total used gas by all transactions in this block encoded as hexadecimal"
                },
                "hash": {
                  "type": "string",
                  "description": "The block hash of the requested block. Null if pending"
                },
                "logsBloom": {
                  "type": "string",
                  "description": "The bloom filter for the logs of the block. Null if pending"
                },
                "miner": {
                  "type": "string",
                  "description": "The address of the beneficiary to whom the mining rewards were given"
                },
                "mixHash": {
                  "type": "string",
                  "description": "A string of a 256-bit hash encoded as hexadecimal"
                },
                "nonce": {
                  "type": "string",
                  "description": "The hash of the generated proof-of-work. Null if pending"
                },
                "number": {
                  "type": "string",
                  "description": "The block number of the requested block encoded as hexadecimal. Null if pending"
                },
                "parentHash": {
                  "type": "string",
                  "description": "The hash of the parent block"
                },
                "receiptsRoot": {
                  "type": "string",
                  "description": "The root of the receipts trie of the block"
                },
                "sha3Uncles": {
                  "type": "string",
                  "description": "The SHA3 of the uncles data in the block"
                },
                "size": {
                  "type": "string",
                  "description": "The size of this block in bytes as an Integer value encoded as hexadecimal"
                },
                "stateRoot": {
                  "type": "string",
                  "description": "The root of the final state trie of the block"
                },
                "timestamp": {
                  "type": "string",
                  "description": "The unix timestamp for when the block was collated"
                },
                "transactions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "blockHash": {
                        "description": "The hash of the block where this log was in. Null when it's a pending log"
                      },
                      "blockNumber": {
                        "description": "The block number where this log was in. Null when it's a pending log"
                      },
                      "from": {
                        "description": "The address of the sender"
                      },
                      "gas": {
                        "description": "The gas provided by the sender, encoded as hexadecimal"
                      },
                      "gasPrice": {
                        "description": "The gas price provided by the sender in wei, encoded as hexadecimal"
                      },
                      "maxFeePerGas": {
                        "description": "The maximum fee per gas set in the transaction"
                      },
                      "maxPriorityFeePerGas": {
                        "description": "The maximum priority gas fee set in the transaction"
                      },
                      "hash": {
                        "description": "The hash of the transaction"
                      },
                      "input": {
                        "description": "The data sent along with the transaction"
                      },
                      "nonce": {
                        "description": "The number of transactions made by the sender before this one encoded as hexadecimal"
                      },
                      "to": {
                        "description": "The address of the receiver. Null when it's a contract creation transaction"
                      },
                      "transactionIndex": {
                        "description": "The integer of the transaction's index position that the log was created from. Null when it's a pending log"
                      },
                      "value": {
                        "description": "The value transferred in wei encoded as hexadecimal"
                      },
                      "type": {
                        "description": "The transaction type"
                      },
                      "accessList": {
                        "description": "A list of addresses and storage keys that the transaction plans to access"
                      },
                      "chainId": {
                        "description": "The chain id of the transaction, if any"
                      },
                      "v": {
                        "description": "The standardized V field of the signature"
                      },
                      "r": {
                        "description": "The R field of the signature"
                      },
                      "s": {
                        "description": "The S field of the signature"
                      }
                    }
                  },
                  "description": "An array of transaction objects with the following fields:"
                },
                "transactionsRoot": {
                  "type": "string",
                  "description": "The root of the transaction trie of the block"
                },
                "uncles": {
                  "type": "array",
                  "items": {},
                  "description": "An array of uncle hashes"
                }
              },
              "description": "A block object, or null when no block was found"
            },
            "rlp": {
              "type": "string",
              "description": "The RLP encoded header"
            }
          }
        }
      },
      "tags": [
        {
          "name": "debug"
        }
      ],
      "externalDocs": {
        "description": "Quicknode docs",
        "url": "https://www.quicknode.com/docs/ethereum/debug_getBadBlocks"
      },
      "examples": [
        {
          "name": "debug_getBadBlocks example",
          "params": [],
          "result": {
            "name": "debug_getBadBlocks result",
            "value": [
              {
                "block": {
                  "difficulty": "0x2d50ba175407",
                  "extraData": "0xe4b883e5bda9e7a59ee4bb99e9b1bc",
                  "gasLimit": "0x7a1200",
                  "gasUsed": "0x6384e4",
                  "hash": "0xbc7c31beaeee0affb39a4ddc67b18b492e7922788d19b398c5ee9caf659d86be",
                  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
                  "miner": "0xb2930b35844a230f00e51431acae96fe543a0347",
                  "mixHash": "0x7c76222e82b2e85c0e24d5357a9f669b3348910dada025716295cb658387d9c1",
                  "nonce": "0xa179e5721b38b11e",
                  "number": "0x290b61",
                  "parentHash": "0x63aef7ff9981a0b453c4494ba29514c1841e94ae46f8231a3eb332f2e8f4bcd4",
                  "receiptsRoot": "0x99c5deac50e8700862cba3d8eaa233a376dad31fde5d227aab34be9ba7c82fd1",
                  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
                  "size": "0x10d20",
                  "stateRoot": "0x7f73f5fb9f891213b671356126c31e9795985b72a3829aa2675f9a51e8f7a94c",
                  "timestamp": "0x5c8bc76e",
                  "totalDifficulty": null,
                  "transactions": [
                    {
                      "blockHash": "0xbc7c31beaeee0affb39a4ddc67b18b492e7922788d19b398c5ee9caf659d86be",
                      "blockNumber": "0x290b61",
                      "from": "0x98ec059dc3adfbdd63429454aeb0c990fba4a128",
                      "gas": "0x7d40",
                      "gasPrice": "0x3b9aca00",
                      "hash": "0x7d453927a6b5a799d40d29edb4228a3232ad2b8ed0294c621c7df42b161eb371",
                      "input": "0xa9059cbb000000000000000000000000b9fa6a25634ab7a38d57784ba06db9c7c8a6a393000000000000000000000000000000000000000000000000000000003b9aca00",
                      "nonce": "0x12fa7",
                      "to": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                      "transactionIndex": "0x0",
                      "value": "0x0",
                      "v": "0x26",
                      "r": "0xc673ce2558de8f6c81aaf0f16f9ce7f42376449b368ea0e09cc9b3175a9cdad9",
                      "s": "0x65b3d8c14066e9978d2931ab3adfc547a600e2c021d0a32d59323b15ded3f5ef"
                    }
                  ],
                  "transactionsRoot": "0x99c5deac50e8700862cba3d8eaa233a376dad31fde5d227aab34be9ba7c82fd1",
                  "uncles": []
                },
                "hash": "0xbc7c31beaeee0affb39a4ddc67b18b492e7922788d19b398c5ee9caf659d86be",
                "rlp": "0xf904320f..."
              }
            ]
          }
        }
      ]
    },
    {
      "name": "debug_storageRangeAt",
      "summary": "Returns the contract storage for the specified range.",
      "description": "Returns the contract storage for the specified range.",
      "params": [
        {
          "name": "blockReference",
          "description": "The block hash in string format or block number as hexadecimal in the object format",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "txIndex",
          "description": "The transaction index for the point in which we want the list of accounts",
          "required": true,
          "schema": {
            "type": "integer"
          }
        },
        {
          "name": "address",
          "description": "The contract address",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "startKey",
          "description": "The offset (hash of storage key)",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "limit",
          "description": "The number of storage entries to return",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "result": {
        "name": "result",
        "description": "debug_storageRangeAt result",
        "schema": {
          "type": "object",
          "properties": {
            "storage": {
              "type": "object",
              "properties": {
                "hash": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "description": "The key associated with the hash"
                    },
                    "value": {
                      "type": "string",
                      "description": "The value associated with the hash"
                    }
                  },
                  "description": "The hash value"
                }
              },
              "description": "An object with hash values, and for each of them the key and value it represents"
            },
            "nextKey": {
              "type": "string",
              "description": "The hash of next key if further storage in range. Otherwise, not included"
            }
          }
        }
      },
      "tags": [
        {
          "name": "debug"
        }
      ],
      "externalDocs": {
        "description": "Quicknode docs",
        "url": "https://www.quicknode.com/docs/ethereum/debug_storageRangeAt"
      },
      "examples": [
        {
          "name": "debug_storageRangeAt example",
          "params": [
            {
              "name": "blockReference",
              "value": "0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7"
            },
            {
              "name": "txIndex",
              "value": 0
            },
            {
              "name": "address",
              "value": "0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5"
            },
            {
              "name": "startKey",
              "value": "0x0000000000000000000000000000000000000000000000000000000000000000"
            },
            {
              "name": "limit",
              "value": "1"
            }
          ],
          "result": {
            "name": "debug_storageRangeAt result",
            "value": {
              "storage": {},
              "nextKey": null
            }
          }
        }
      ]
    },
    {
      "name": "debug_traceBlock",
      "summary": "Returns a full stack trace of all invoked opcodes of all transactions that were included in a block.",
      "description": "Returns a full stack trace of all invoked opcodes of all transactions that were included in a block.",
      "params": [
        {
          "name": "block",
          "description": "The RLP encoded block",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "object",
          "description": "The tracer object with the following fields:",
          "required": true,
          "schema": {
            "type": "object",
            "properties": {
              "tracer": {
                "enum": [
                  "callTracer",
                  "prestateTracer"
                ],
                "description": "The type of tracer. It could be callTracer or prestateTracer"
              },
              "tracerConfig": {
                "type": "object",
                "properties": {
                  "onlyTopCall": {
                    "type": "boolean",
                    "description": "When set to true, this will only trace the primary (top-level) call and not any sub-calls. It eliminates the additional processing for each call frame"
                  },
                  "diffMode": {
                    "type": "boolean",
                    "description": "When set to true, diff mode returns the differences between the transaction's pre and post-state. The result object will contain a pre and a post object."
                  }
                },
                "description": "The object to specify the configurations of the tracer"
              }
            }
          }
        }
      ],
      "result": {
        "name": "result",
        "description": "A result array with the following fields:",
        "schema": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "description": "The type of the call"
              },
              "from": {
                "type": "string",
                "description": "The address the transaction is sent from"
              },
              "to": {
                "type": "string",
                "description": "The address the transaction is directed to"
              },
              "value": {
                "type": "string",
                "description": "The integer of the value sent with this transaction"
              },
              "gas": {
                "type": "string",
                "description": "The integer of the gas provided for the transaction execution"
              },
              "gasUsed": {
                "type": "string",
                "description": "The integer of the gas used"
              },
              "input": {
                "type": "string",
                "description": "The data given at the time of input"
              },
              "output": {
                "type": "string",
                "description": "The data which is returned as an output"
              },
              "calls": {
                "type": "array",
                "items": {},
                "description": "A list of sub-calls"
              }
            }
          }
        }
      },
      "tags": [
        {
          "name": "debug"
        }
      ],
      "externalDocs": {
        "description": "Quicknode docs",
        "url": "https://www.quicknode.com/docs/ethereum/debug_traceBlock"
      },
      "examples": [
        {
          "name": "debug_traceBlock example",
          "params": [
            {
              "name": "block",
              "value": "RLP_ENCODED_BLOCK"
            }
          ],
          "result": {
            "name": "debug_traceBlock result",
            "value": [
              {
                "type": "CALL",
                "from": "0x5A0b54D5dc17e0AadC383d2db43B0a0D3E029c4c",
                "to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
                "value": "0x0",
                "gas": "0x15f90",
                "gasUsed": "0xd880",
                "input": "0xa9059cbb000000000000000000000000c6cde7c39eb2f0f0095f41570af89efc2c1ea828000000000000000000000000000000000000000000000000000000003b9aca00",
                "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
                "calls": [
                  {
                    "type": "STATICCALL",
                    "from": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
                    "to": "0xb46d4e66c0445e3b1a7df818f5fc5e9aedb90da2",
                    "gas": "0xbf83",
                    "gasUsed": "0x383",
                    "input": "0x70a082310000000000000000000000005a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c",
                    "output": "0x00000000000000000000000000000000000000000000000000000002540be400"
                  }
                ]
              },
              {
                "type": "CALL",
                "from": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",
                "to": "0x6b175474e89094c44da98b954eedeac495271d0f",
                "value": "0x0",
                "gas": "0x30d40",
                "gasUsed": "0x10a88",
                "input": "0x23b872dd0000000000000000000000008894e0a0c962cb723c1976a4421c95949be2d4e3000000000000000000000000a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000000054b419212a0b334000",
                "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
                "calls": []
              }
            ]
          }
        }
      ]
    },
    {
      "name": "debug_traceBlockByHash",
      "summary": "Returns the possible tracing result number by executing all transactions in the block specified by the block hash with a",
      "description": "Returns the possible tracing result number by executing all transactions in the block specified by the block hash with a tracer.",
      "params": [
        {
          "name": "blockHash",
          "description": "The hash of the block to be traced",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "object",
          "description": "The tracer object with the following fields:",
          "required": true,
          "schema": {
            "type": "object",
            "properties": {
              "tracer": {
                "enum": [
                  "callTracer",
                  "prestateTracer"
                ],
                "description": "The type of tracer. It could be callTracer or prestateTracer"
              },
              "tracerConfig": {
                "type": "object",
                "properties": {
                  "onlyTopCall": {
                    "type": "boolean",
                    "description": "When set to true, this will only trace the primary (top-level) call and not any sub-calls. It eliminates the additional processing for each call frame"
                  },
                  "diffMode": {
                    "type": "boolean",
                    "description": "When set to true, diff mode returns the differences between the transaction's pre and post-state. The result object will contain a pre and a post object."
                  }
                },
                "description": "The object to specify the configurations of the tracer"
              }
            }
          }
        }
      ],
      "result": {
        "name": "result",
        "description": "debug_traceBlockByHash result",
        "schema": {
          "type": "object",
          "properties": {
            "type": {
              "description": "The type of the call"
            },
            "from": {
              "description": "The address the transaction is sent from"
            },
            "to": {
              "description": "The address the transaction is directed to"
            },
            "value": {
              "description": "The integer of the value sent with this transaction"
            },
            "gas": {
              "description": "The integer of the gas provided for the transaction execution"
            },
            "gasUsed": {
              "description": "The integer of the gas used"
            },
            "input": {
              "description": "The data given at the time of input"
            },
            "output": {
              "description": "The data which is returned as an output"
            },
            "calls": {
              "description": "A list of sub-calls"
            }
          }
        }
      },
      "tags": [
        {
          "name": "debug"
        }
      ],
      "externalDocs": {
        "description": "Quicknode docs",
        "url": "https://www.quicknode.com/docs/ethereum/debug_traceBlockByHash"
      },
      "examples": [
        {
          "name": "debug_traceBlockByHash example",
          "params": [
            {
              "name": "blockHash",
              "value": "0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576"
            }
          ],
          "result": {
            "name": "debug_traceBlockByHash result",
            "value": [
              {
                "type": "CALL",
                "from": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",
                "to": "0x6b175474e89094c44da98b954eedeac495271d0f",
                "value": "0x0",
                "gas": "0x30d40",
                "gasUsed": "0x7148",
                "input": "0xa9059cbb0000000000000000000000002c46b28e4bac6b0188baf722f17f5f36e217033000000000000000000000000000000000000000000000000058d15e176280000",
                "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
                "calls": [
                  {
                    "type": "STATICCALL",
                    "from": "0x6b175474e89094c44da98b954eedeac495271d0f",
                    "to": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",
                    "gas": "0x2e010",
                    "gasUsed": "0x1388",
                    "input": "0x70a08231000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                    "output": "0x0000000000000000000000000000000000000000000b56ea85ae38dd000000",
                    "calls": []
                  }
                ]
              },
              {
                "type": "CALL",
                "from": "0x81b7e08f65bdf5648606c89998a9cc8164397647",
                "to": "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",
                "value": "0x0",
                "gas": "0x2a3a0",
                "gasUsed": "0x123b4",
                "input": "0xe8e33700000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                "output": "0x000000000000000000000000f7ae43fabe91b091e3bae07d91b5c8758e97c12b",
                "calls": []
              }
            ]
          }
        }
      ]
    },
    {
      "name": "debug_traceBlockByNumber",
      "summary": "Returns the tracing result by executing all transactions in the block specified by number with a tracer.",
      "description": "Returns the tracing result by executing all transactions in the block specified by number with a tracer.",
      "params": [
        {
          "name": "blockNumber",
          "description": "The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators. safe and finalized are only supported on Ethereum, Gnosis, Arbitrum, Arbitrum Nova, and Avalanche C-chain",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "object",
          "description": "The tracer object with the following fields:",
          "required": true,
          "schema": {
            "type": "object",
            "properties": {
              "tracer": {
                "enum": [
                  "callTracer",
                  "prestateTracer"
                ],
                "description": "The type of tracer. It could be callTracer or prestateTracer"
              },
              "tracerConfig": {
                "type": "object",
                "properties": {
                  "onlyTopCall": {
                    "type": "boolean",
                    "description": "When set to true, this will only trace the primary (top-level) call and not any sub-calls. It eliminates the additional processing for each call frame"
                  },
                  "diffMode": {
                    "type": "boolean",
                    "description": "When set to true, diff mode returns the differences between the transaction's pre and post-state. The result object will contain a pre and a post object."
                  }
                },
                "description": "The object to specify the configurations of the tracer"
              }
            }
          }
        }
      ],
      "result": {
        "name": "result",
        "description": "debug_traceBlockByNumber result",
        "schema": {
          "type": "object",
          "properties": {
            "type": {
              "description": "The type of the call"
            },
            "from": {
              "description": "The address the transaction is sent from"
            },
            "to": {
              "description": "The address the transaction is directed to"
            },
            "value": {
              "description": "The integer of the value sent with this transaction"
            },
            "gas": {
              "description": "The integer of the gas provided for the transaction execution"
            },
            "gasUsed": {
              "description": "The integer of the gas used"
            },
            "input": {
              "description": "The data given at the time of input"
            },
            "output": {
              "description": "The data which is returned as an output"
            },
            "calls": {
              "description": "A list of sub-calls"
            }
          }
        }
      },
      "tags": [
        {
          "name": "debug"
        }
      ],
      "externalDocs": {
        "description": "Quicknode docs",
        "url": "https://www.quicknode.com/docs/ethereum/debug_traceBlockByNumber"
      },
      "examples": [
        {
          "name": "debug_traceBlockByNumber example",
          "params": [
            {
              "name": "blockNumber",
              "value": "0xccde12"
            }
          ],
          "result": {
            "name": "debug_traceBlockByNumber result",
            "value": [
              {
                "type": "CALL",
                "from": "0x3b5b09d988ba5be25d130a6959a7e4dc5cad4578",
                "to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                "value": "0x2386f26fc10000",
                "gas": "0x55730",
                "gasUsed": "0x3d227",
                "input": "0x7ff36ab5000000000000000000000000000000000000000000000000000b8d442e2d8b000000000000000000000000000003b5b09d988ba5be25d130a6959a7e4dc5cad45780000000000000000000000000000000000000000000000000000000064a571e9",
                "output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000002e90edd00000",
                "calls": [
                  {
                    "type": "CALL",
                    "from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                    "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                    "value": "0x2386f26fc10000",
                    "gas": "0x12e04",
                    "gasUsed": "0x8fc",
                    "input": "0xd0e30db0",
                    "output": "0x",
                    "calls": []
                  },
                  {
                    "type": "CALL",
                    "from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                    "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                    "value": "0x0",
                    "gas": "0x11b36",
                    "gasUsed": "0x2c33",
                    "input": "0xa9059cbb0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000000000000000000000000000000002386f26fc10000",
                    "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
                    "calls": []
                  }
                ]
              },
              {
                "type": "CALL",
                "from": "0xf04a5cc80b1e94c69b48f5ee68a08cd2f09a7c3e",
                "to": "0x881d40237659c251811cec9c364ef91dc08d300c",
                "value": "0x0",
                "gas": "0x29dbb",
                "gasUsed": "0x16e0a",
                "input": "0x38ed1739000000000000000000000000000000000000000000000000000429d069189e00000000000000000000000000000000000000000000000000029e8d66e8203c2e0000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f04a5cc80b1e94c69b48f5ee68a08cd2f09a7c3e0000000000000000000000000000000000000000000000000000000064a571f40000000000000000000000000000000000000000000000000000000000000002000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef",
                "output": "0x0000000000000000000000000000000000000000000000000029e8d66e8203c2e",
                "calls": []
              }
            ]
          }
        }
      ]
    },
    {
      "name": "debug_traceCall",
      "summary": "Returns the number of possible tracing result by executing an eth call within the context of the given block execution.",
      "description": "Returns the number of possible tracing result by executing an eth call within the context of the given block execution.",
      "params": [
        {
          "name": "object",
          "description": "The transaction call object with the following fields:",
          "schema": {
            "type": "object",
            "properties": {
              "from": {
                "type": "string",
                "description": "The address the transaction is sent from"
              },
              "to": {
                "type": "string",
                "description": "The address the transaction is directed to"
              },
              "gas": {
                "type": "integer",
                "description": "The integer of the gas provided for the transaction execution"
              },
              "gasPrice": {
                "type": "integer",
                "description": "The integer of the gasPrice used for each paid gas"
              },
              "value": {
                "type": "integer",
                "description": "The integer of the value sent with this transaction"
              },
              "data": {
                "type": "string",
                "description": "The hash of the method signature and encoded parameters"
              }
            }
          }
        },
        {
          "name": "blockReference",
          "description": "The block number in hexadecimal format, the block hash, or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators. safe and finalized are only supported on Ethereum, Gnosis, Arbitrum, Arbitrum Nova, and Avalanche C-chain",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "object",
          "description": "The tracer object with the following fields:",
          "required": true,
          "schema": {
            "type": "object",
            "properties": {
              "tracer": {
                "enum": [
                  "callTracer",
                  "prestateTracer"
                ],
                "description": "The type of tracer. It could be callTracer or prestateTracer"
              },
              "tracerConfig": {
                "type": "object",
                "properties": {
                  "onlyTopCall": {
                    "type": "boolean",
                    "description": "When set to true, this will only trace the primary (top-level) call and not any sub-calls. It eliminates the additional processing for each call frame"
                  },
                  "diffMode": {
                    "type": "boolean",
                    "description": "When set to true, diff mode returns the differences between the transaction's pre and post-state. The result object will contain a pre and a post object."
                  }
                },
                "description": "The object to specify the configurations of the tracer"
              }
            }
          }
        }
      ],
      "result": {
        "name": "result",
        "description": "The transaction trace object, which has the following fields:",
        "schema": {
          "type": "object",
          "properties": {
            "failed": {
              "type": "boolean",
              "description": "The transaction is successful or not"
            },
            "gas": {
              "type": "string",
              "description": "The total consumed gas in the transaction"
            },
            "returnValue": {
              "type": "string",
              "description": "The return value of the executed contract call"
            },
            "structLogs": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "pc": {
                    "type": "string",
                    "description": "The current index in bytecode"
                  },
                  "op": {
                    "type": "string",
                    "description": "The name of current executing operation"
                  },
                  "gas": {
                    "type": "string",
                    "description": "The available gas in the execution"
                  },
                  "gasCost": {
                    "type": "string",
                    "description": "The gas cost of the operation"
                  },
                  "depth": {
                    "type": "string",
                    "description": "The number of levels of calling functions"
                  },
                  "error": {
                    "type": "string",
                    "description": "The error of the execution"
                  },
                  "stack": {
                    "type": "array",
                    "items": {},
                    "description": "An array of values in the current stack"
                  },
                  "memory": {
                    "type": "array",
                    "items": {},
                    "description": "An array of values in the current memory"
                  },
                  "storage": {
                    "type": "object",
                    "description": "The mapping of the current storage"
                  },
                  "refund": {
                    "type": "string",
                    "description": "The total of current refund value"
                  }
                }
              },
              "description": "The trace result of each step with the following fields:"
            }
          }
        }
      },
      "tags": [
        {
          "name": "debug"
        }
      ],
      "externalDocs": {
        "description": "Quicknode docs",
        "url": "https://www.quicknode.com/docs/ethereum/debug_traceCall"
      },
      "examples": [
        {
          "name": "debug_traceCall example",
          "params": [
            {
              "name": "blockReference",
              "value": "latest"
            }
          ],
          "result": {
            "name": "debug_traceCall result",
            "value": {
              "gas": 24034,
              "failed": false,
              "returnValue": "0000000000000000000000000000000000000000000000000858898f93629000",
              "structLogs": [
                {
                  "pc": 0,
                  "op": "PUSH1",
                  "gas": 599978568,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": []
                },
                {
                  "pc": 2,
                  "op": "PUSH1",
                  "gas": 599978565,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x80"
                  ]
                },
                {
                  "pc": 4,
                  "op": "MSTORE",
                  "gas": 599978562,
                  "gasCost": 12,
                  "depth": 1,
                  "stack": [
                    "0x80",
                    "0x40"
                  ]
                },
                {
                  "pc": 5,
                  "op": "CALLVALUE",
                  "gas": 599978550,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": []
                },
                {
                  "pc": 6,
                  "op": "DUP1",
                  "gas": 599978548,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x0"
                  ]
                },
                {
                  "pc": 7,
                  "op": "ISZERO",
                  "gas": 599978545,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x0",
                    "0x0"
                  ]
                },
                {
                  "pc": 8,
                  "op": "PUSH2",
                  "gas": 599978542,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x0",
                    "0x1"
                  ]
                },
                {
                  "pc": 11,
                  "op": "JUMPI",
                  "gas": 599978539,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x0",
                    "0x1",
                    "0x10"
                  ]
                },
                {
                  "pc": 16,
                  "op": "JUMPDEST",
                  "gas": 599978529,
                  "gasCost": 1,
                  "depth": 1,
                  "stack": [
                    "0x0"
                  ]
                },
                {
                  "pc": 17,
                  "op": "POP",
                  "gas": 599978528,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x0"
                  ]
                },
                {
                  "pc": 18,
                  "op": "PUSH1",
                  "gas": 599978526,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": []
                },
                {
                  "pc": 20,
                  "op": "CALLDATASIZE",
                  "gas": 599978523,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x4"
                  ]
                },
                {
                  "pc": 21,
                  "op": "LT",
                  "gas": 599978521,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x4",
                    "0x24"
                  ]
                },
                {
                  "pc": 22,
                  "op": "PUSH2",
                  "gas": 599978518,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x0"
                  ]
                },
                {
                  "pc": 25,
                  "op": "JUMPI",
                  "gas": 599978515,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x0",
                    "0x142"
                  ]
                },
                {
                  "pc": 26,
                  "op": "PUSH1",
                  "gas": 599978505,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": []
                },
                {
                  "pc": 28,
                  "op": "CALLDATALOAD",
                  "gas": 599978502,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x0"
                  ]
                },
                {
                  "pc": 29,
                  "op": "PUSH1",
                  "gas": 599978499,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a082310000000000000000000000006e0d01a76c3cf4288372a29124a26d43"
                  ]
                },
                {
                  "pc": 31,
                  "op": "SHR",
                  "gas": 599978496,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a082310000000000000000000000006e0d01a76c3cf4288372a29124a26d43",
                    "0xe0"
                  ]
                },
                {
                  "pc": 32,
                  "op": "DUP1",
                  "gas": 599978493,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 33,
                  "op": "PUSH4",
                  "gas": 599978490,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 38,
                  "op": "GT",
                  "gas": 599978487,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231",
                    "0x7ecebe00"
                  ]
                },
                {
                  "pc": 39,
                  "op": "PUSH2",
                  "gas": 599978484,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x1"
                  ]
                },
                {
                  "pc": 42,
                  "op": "JUMPI",
                  "gas": 599978481,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x1",
                    "0xb8"
                  ]
                },
                {
                  "pc": 184,
                  "op": "JUMPDEST",
                  "gas": 599978471,
                  "gasCost": 1,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 185,
                  "op": "DUP1",
                  "gas": 599978470,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 186,
                  "op": "PUSH4",
                  "gas": 599978467,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 191,
                  "op": "GT",
                  "gas": 599978464,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231",
                    "0x313ce567"
                  ]
                },
                {
                  "pc": 192,
                  "op": "PUSH2",
                  "gas": 599978461,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0"
                  ]
                },
                {
                  "pc": 195,
                  "op": "JUMPI",
                  "gas": 599978458,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0",
                    "0x10a"
                  ]
                },
                {
                  "pc": 196,
                  "op": "DUP1",
                  "gas": 599978448,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 197,
                  "op": "PUSH4",
                  "gas": 599978445,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 202,
                  "op": "EQ",
                  "gas": 599978442,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231",
                    "0x313ce567"
                  ]
                },
                {
                  "pc": 203,
                  "op": "PUSH2",
                  "gas": 599978439,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0"
                  ]
                },
                {
                  "pc": 206,
                  "op": "JUMPI",
                  "gas": 599978436,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0",
                    "0x2f2"
                  ]
                },
                {
                  "pc": 207,
                  "op": "DUP1",
                  "gas": 599978426,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 208,
                  "op": "PUSH4",
                  "gas": 599978423,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 213,
                  "op": "EQ",
                  "gas": 599978420,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231",
                    "0x3644e515"
                  ]
                },
                {
                  "pc": 214,
                  "op": "PUSH2",
                  "gas": 599978417,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0"
                  ]
                },
                {
                  "pc": 217,
                  "op": "JUMPI",
                  "gas": 599978414,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0",
                    "0x316"
                  ]
                },
                {
                  "pc": 218,
                  "op": "DUP1",
                  "gas": 599978404,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 219,
                  "op": "PUSH4",
                  "gas": 599978401,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 224,
                  "op": "EQ",
                  "gas": 599978398,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231",
                    "0x40c10f19"
                  ]
                },
                {
                  "pc": 225,
                  "op": "PUSH2",
                  "gas": 599978395,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0"
                  ]
                },
                {
                  "pc": 228,
                  "op": "JUMPI",
                  "gas": 599978392,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0",
                    "0x334"
                  ]
                },
                {
                  "pc": 229,
                  "op": "DUP1",
                  "gas": 599978382,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 230,
                  "op": "PUSH4",
                  "gas": 599978379,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 235,
                  "op": "EQ",
                  "gas": 599978376,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231",
                    "0x54fd4d50"
                  ]
                },
                {
                  "pc": 236,
                  "op": "PUSH2",
                  "gas": 599978373,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0"
                  ]
                },
                {
                  "pc": 239,
                  "op": "JUMPI",
                  "gas": 599978370,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0",
                    "0x382"
                  ]
                },
                {
                  "pc": 240,
                  "op": "DUP1",
                  "gas": 599978360,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 241,
                  "op": "PUSH4",
                  "gas": 599978357,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 246,
                  "op": "EQ",
                  "gas": 599978354,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231",
                    "0x65fae35e"
                  ]
                },
                {
                  "pc": 247,
                  "op": "PUSH2",
                  "gas": 599978351,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0"
                  ]
                },
                {
                  "pc": 250,
                  "op": "JUMPI",
                  "gas": 599978348,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x0",
                    "0x405"
                  ]
                },
                {
                  "pc": 251,
                  "op": "DUP1",
                  "gas": 599978338,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 252,
                  "op": "PUSH4",
                  "gas": 599978335,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 257,
                  "op": "EQ",
                  "gas": 599978332,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x70a08231",
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 258,
                  "op": "PUSH2",
                  "gas": 599978329,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x1"
                  ]
                },
                {
                  "pc": 261,
                  "op": "JUMPI",
                  "gas": 599978326,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x1",
                    "0x449"
                  ]
                },
                {
                  "pc": 1097,
                  "op": "JUMPDEST",
                  "gas": 599978316,
                  "gasCost": 1,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 1098,
                  "op": "PUSH2",
                  "gas": 599978315,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231"
                  ]
                },
                {
                  "pc": 1101,
                  "op": "PUSH1",
                  "gas": 599978312,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b"
                  ]
                },
                {
                  "pc": 1103,
                  "op": "DUP1",
                  "gas": 599978309,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4"
                  ]
                },
                {
                  "pc": 1104,
                  "op": "CALLDATASIZE",
                  "gas": 599978306,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x4"
                  ]
                },
                {
                  "pc": 1105,
                  "op": "SUB",
                  "gas": 599978304,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x4",
                    "0x24"
                  ]
                },
                {
                  "pc": 1106,
                  "op": "PUSH1",
                  "gas": 599978301,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x20"
                  ]
                },
                {
                  "pc": 1108,
                  "op": "DUP2",
                  "gas": 599978298,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x20",
                    "0x20"
                  ]
                },
                {
                  "pc": 1109,
                  "op": "LT",
                  "gas": 599978295,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x20",
                    "0x20",
                    "0x20"
                  ]
                },
                {
                  "pc": 1110,
                  "op": "ISZERO",
                  "gas": 599978292,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x20",
                    "0x0"
                  ]
                },
                {
                  "pc": 1111,
                  "op": "PUSH2",
                  "gas": 599978289,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x20",
                    "0x1"
                  ]
                },
                {
                  "pc": 1114,
                  "op": "JUMPI",
                  "gas": 599978286,
                  "gasCost": 10,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x20",
                    "0x1",
                    "0x45f"
                  ]
                },
                {
                  "pc": 1119,
                  "op": "JUMPDEST",
                  "gas": 599978276,
                  "gasCost": 1,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x20"
                  ]
                },
                {
                  "pc": 1120,
                  "op": "DUP2",
                  "gas": 599978275,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x20"
                  ]
                },
                {
                  "pc": 1121,
                  "op": "ADD",
                  "gas": 599978272,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x20",
                    "0x4"
                  ]
                },
                {
                  "pc": 1122,
                  "op": "SWAP1",
                  "gas": 599978269,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x4",
                    "0x24"
                  ]
                },
                {
                  "pc": 1123,
                  "op": "DUP1",
                  "gas": 599978266,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4"
                  ]
                },
                {
                  "pc": 1124,
                  "op": "DUP1",
                  "gas": 599978263,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4",
                    "0x4"
                  ]
                },
                {
                  "pc": 1125,
                  "op": "CALLDATALOAD",
                  "gas": 599978260,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4",
                    "0x4",
                    "0x4"
                  ]
                },
                {
                  "pc": 1126,
                  "op": "PUSH20",
                  "gas": 599978257,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4",
                    "0x4",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 1147,
                  "op": "AND",
                  "gas": 599978254,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4",
                    "0x4",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0xffffffffffffffffffffffffffffffffffffffff"
                  ]
                },
                {
                  "pc": 1148,
                  "op": "SWAP1",
                  "gas": 599978251,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4",
                    "0x4",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 1149,
                  "op": "PUSH1",
                  "gas": 599978248,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x4"
                  ]
                },
                {
                  "pc": 1151,
                  "op": "ADD",
                  "gas": 599978245,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x4",
                    "0x20"
                  ]
                },
                {
                  "pc": 1152,
                  "op": "SWAP1",
                  "gas": 599978242,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x24"
                  ]
                },
                {
                  "pc": 1153,
                  "op": "SWAP3",
                  "gas": 599978239,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x24",
                    "0x4",
                    "0x24",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 1154,
                  "op": "SWAP2",
                  "gas": 599978236,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x4",
                    "0x24",
                    "0x24"
                  ]
                },
                {
                  "pc": 1155,
                  "op": "SWAP1",
                  "gas": 599978233,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x24",
                    "0x24",
                    "0x4"
                  ]
                },
                {
                  "pc": 1156,
                  "op": "POP",
                  "gas": 599978230,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x24",
                    "0x4",
                    "0x24"
                  ]
                },
                {
                  "pc": 1157,
                  "op": "POP",
                  "gas": 599978228,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x24",
                    "0x4"
                  ]
                },
                {
                  "pc": 1158,
                  "op": "POP",
                  "gas": 599978226,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x24"
                  ]
                },
                {
                  "pc": 1159,
                  "op": "PUSH2",
                  "gas": 599978224,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 1162,
                  "op": "JUMP",
                  "gas": 599978221,
                  "gasCost": 8,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x128f"
                  ]
                },
                {
                  "pc": 4751,
                  "op": "JUMPDEST",
                  "gas": 599978213,
                  "gasCost": 1,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 4752,
                  "op": "PUSH1",
                  "gas": 599978212,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 4754,
                  "op": "PUSH1",
                  "gas": 599978209,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x2"
                  ]
                },
                {
                  "pc": 4756,
                  "op": "MSTORE",
                  "gas": 599978206,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x2",
                    "0x20"
                  ]
                },
                {
                  "pc": 4757,
                  "op": "DUP1",
                  "gas": 599978203,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 4758,
                  "op": "PUSH1",
                  "gas": 599978200,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 4760,
                  "op": "MSTORE",
                  "gas": 599978197,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x0"
                  ]
                },
                {
                  "pc": 4761,
                  "op": "PUSH1",
                  "gas": 599978194,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 4763,
                  "op": "PUSH1",
                  "gas": 599978191,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x40"
                  ]
                },
                {
                  "pc": 4765,
                  "op": "KECCAK256",
                  "gas": 599978188,
                  "gasCost": 42,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x40",
                    "0x0"
                  ]
                },
                {
                  "pc": 4766,
                  "op": "PUSH1",
                  "gas": 599978146,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x870c48722b584c894d6f9acebb68510e648c15b901e9bfbc4744a0b5def38cfa"
                  ]
                },
                {
                  "pc": 4768,
                  "op": "SWAP2",
                  "gas": 599978143,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be",
                    "0x870c48722b584c894d6f9acebb68510e648c15b901e9bfbc4744a0b5def38cfa",
                    "0x0"
                  ]
                },
                {
                  "pc": 4769,
                  "op": "POP",
                  "gas": 599978140,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x0",
                    "0x870c48722b584c894d6f9acebb68510e648c15b901e9bfbc4744a0b5def38cfa",
                    "0x6e0d01a76c3cf4288372a29124a26d4353ee51be"
                  ]
                },
                {
                  "pc": 4770,
                  "op": "SWAP1",
                  "gas": 599978138,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x0",
                    "0x870c48722b584c894d6f9acebb68510e648c15b901e9bfbc4744a0b5def38cfa"
                  ]
                },
                {
                  "pc": 4771,
                  "op": "POP",
                  "gas": 599978135,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x870c48722b584c894d6f9acebb68510e648c15b901e9bfbc4744a0b5def38cfa",
                    "0x0"
                  ]
                },
                {
                  "pc": 4772,
                  "op": "SLOAD",
                  "gas": 599978133,
                  "gasCost": 2100,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x870c48722b584c894d6f9acebb68510e648c15b901e9bfbc4744a0b5def38cfa"
                  ],
                  "storage": {
                    "870c48722b584c894d6f9acebb68510e648c15b901e9bfbc4744a0b5def38cfa": "0000000000000000000000000000000000000000000000000858898f93629000"
                  }
                },
                {
                  "pc": 4773,
                  "op": "DUP2",
                  "gas": 599976033,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000"
                  ]
                },
                {
                  "pc": 4774,
                  "op": "JUMP",
                  "gas": 599976030,
                  "gasCost": 8,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000",
                    "0x48b"
                  ]
                },
                {
                  "pc": 1163,
                  "op": "JUMPDEST",
                  "gas": 599976022,
                  "gasCost": 1,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000"
                  ]
                },
                {
                  "pc": 1164,
                  "op": "PUSH1",
                  "gas": 599976021,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000"
                  ]
                },
                {
                  "pc": 1166,
                  "op": "MLOAD",
                  "gas": 599976018,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000",
                    "0x40"
                  ]
                },
                {
                  "pc": 1167,
                  "op": "DUP1",
                  "gas": 599976015,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000",
                    "0x80"
                  ]
                },
                {
                  "pc": 1168,
                  "op": "DUP3",
                  "gas": 599976012,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000",
                    "0x80",
                    "0x80"
                  ]
                },
                {
                  "pc": 1169,
                  "op": "DUP2",
                  "gas": 599976009,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000",
                    "0x80",
                    "0x80",
                    "0x858898f93629000"
                  ]
                },
                {
                  "pc": 1170,
                  "op": "MSTORE",
                  "gas": 599976006,
                  "gasCost": 9,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000",
                    "0x80",
                    "0x80",
                    "0x858898f93629000",
                    "0x80"
                  ]
                },
                {
                  "pc": 1171,
                  "op": "PUSH1",
                  "gas": 599975997,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000",
                    "0x80",
                    "0x80"
                  ]
                },
                {
                  "pc": 1173,
                  "op": "ADD",
                  "gas": 599975994,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000",
                    "0x80",
                    "0x80",
                    "0x20"
                  ]
                },
                {
                  "pc": 1174,
                  "op": "SWAP2",
                  "gas": 599975991,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x858898f93629000",
                    "0x80",
                    "0xa0"
                  ]
                },
                {
                  "pc": 1175,
                  "op": "POP",
                  "gas": 599975988,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0xa0",
                    "0x80",
                    "0x858898f93629000"
                  ]
                },
                {
                  "pc": 1176,
                  "op": "POP",
                  "gas": 599975986,
                  "gasCost": 2,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0xa0",
                    "0x80"
                  ]
                },
                {
                  "pc": 1177,
                  "op": "PUSH1",
                  "gas": 599975984,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0xa0"
                  ]
                },
                {
                  "pc": 1179,
                  "op": "MLOAD",
                  "gas": 599975981,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0xa0",
                    "0x40"
                  ]
                },
                {
                  "pc": 1180,
                  "op": "DUP1",
                  "gas": 599975978,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0xa0",
                    "0x80"
                  ]
                },
                {
                  "pc": 1181,
                  "op": "SWAP2",
                  "gas": 599975975,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0xa0",
                    "0x80",
                    "0x80"
                  ]
                },
                {
                  "pc": 1182,
                  "op": "SUB",
                  "gas": 599975972,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x80",
                    "0x80",
                    "0xa0"
                  ]
                },
                {
                  "pc": 1183,
                  "op": "SWAP1",
                  "gas": 599975969,
                  "gasCost": 3,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x80",
                    "0x20"
                  ]
                },
                {
                  "pc": 1184,
                  "op": "RETURN",
                  "gas": 599975966,
                  "gasCost": 0,
                  "depth": 1,
                  "stack": [
                    "0x70a08231",
                    "0x48b",
                    "0x20",
                    "0x80"
                  ]
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "debug_traceTransaction",
      "summary": "Returns all traces of a given transaction.",
      "description": "Returns all traces of a given transaction.",
      "params": [
        {
          "name": "transactionHash",
          "description": "The transaction hash that needs to be traced, encoded in hexadecimal format",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "object",
          "description": "The tracer object with the following fields:",
          "required": true,
          "schema": {
            "type": "object",
            "properties": {
              "tracer": {
                "enum": [
                  "callTracer",
                  "prestateTracer"
                ],
                "description": "The type of tracer. It could be callTracer or prestateTracer"
              },
              "tracerConfig": {
                "type": "object",
                "properties": {
                  "onlyTopCall": {
                    "type": "boolean",
                    "description": "When set to true, this will only trace the primary (top-level) call and not any sub-calls. It eliminates the additional processing for each call frame"
                  },
                  "diffMode": {
                    "type": "boolean",
                    "description": "When set to true, diff mode returns the differences between the transaction's pre and post-state. The result object will contain a pre and a post object."
                  }
                },
                "description": "The object to specify the configurations of the tracer"
              },
              "timeout": {
                "type": "string",
                "description": "A string of decimal integers that overrides the JavaScript-based tracing calls default timeout of 5 seconds"
              }
            }
          }
        }
      ],
      "result": {
        "name": "result",
        "description": "debug_traceTransaction result",
        "schema": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "description": "The type of the call"
            },
            "from": {
              "type": "string",
              "description": "The address the transaction is sent from"
            },
            "to": {
              "type": "string",
              "description": "The address the transaction is directed to"
            },
            "value": {
              "type": "string",
              "description": "The integer of the value sent with this transaction"
            },
            "gas": {
              "type": "string",
              "description": "The integer of the gas provided for the transaction execution"
            },
            "gasUsed": {
              "type": "string",
              "description": "The integer of the gas used"
            },
            "input": {
              "type": "string",
              "description": "The data given at the time of input"
            },
            "output": {
              "type": "string",
              "description": "The data which is returned as an output"
            },
            "error": {
              "type": "string",
              "description": "The type of error, if any"
            },
            "revertReason": {
              "type": "string",
              "description": "The type solidity revert reason, if any"
            },
            "calls": {
              "type": "array",
              "items": {},
              "description": "A list of sub-calls"
            }
          }
        }
      },
      "tags": [
        {
          "name": "debug"
        }
      ],
      "externalDocs": {
        "description": "Quicknode docs",
        "url": "https://www.quicknode.com/docs/ethereum/debug_traceTransaction"
      },
      "examples": [
        {
          "name": "debug_traceTransaction example",
          "params": [
            {
              "name": "transactionHash",
              "value": "0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b"
            }
          ],
          "result": {
            "name": "debug_traceTransaction result",
            "value": {
              "from": "0x688c1de81ce07a698679928ae319bbe503da1a5d",
              "gas": "0x226c9",
              "gasUsed": "0x1a529",
              "input": "0xaea01419000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000b7180b07bd1906c59af640bd8eeab367b7594f9af0fc90ecd5ebe7c0a1be8a4e536f3393fd943b12745241929d83318675e662c725c1ede53fcb3b8396277bf617b5839bd4d6e005d4dda81701f87378e34cb9cbd113c435db0c10ac07f2465579615210131a0c66381308e606e3b6da4a360285b8865010f14d3c3f92aa9043d6d48b0e6493b6b63887c0fbfe88c48d280c01cbf4df2a77a7221536436b02c0382ab5368bb19710ec9ba7bf6375faf6d4936e21152556361682e63b083f0b61402ac2171cc082861c603adf7e26abfc9c196e8fe07491088f1a887a8e2124e90f9b26afe29ac9f0c44594eb6ad83ce13fc4362fb86cd71e5d8133548a9ed2165d90a60b7959951ce31ebe733f8e648987339c66246b7dcab61eae5c6f95604a2133af90e4ee678878c0c249c07e4f3159c5e7bef52a67baf54e075715cc39b4795940b8f2632eabc4a68d61d83c4ed2a4b4a2a1d80da98ee8a74a0d497924866",
              "to": "0xf15176bc2a8d95102e21641fc0c3b1a9990d2d2d",
              "type": "CALL",
              "value": "0x0"
            }
          }
        }
      ]
    }
  ],
  "servers": [
    {
      "name": "Debug API",
      "url": "https://docs-demo.quiknode.pro"
    }
  ]
}