Chainstack Debug And Trace API

The Debug And Trace API from Chainstack — 37 operation(s) for debug and trace.

Documentation

📖
Documentation
https://docs.chainstack.com/reference/platform-api-getting-started
📖
Documentation
https://docs.chainstack.com/reference/ethereum-getting-started
📖
Documentation
https://docs.chainstack.com/reference/ethereum-beacon-chain-api-getting-started
📖
Documentation
https://docs.chainstack.com/reference/solana-getting-started
📖
Documentation
https://docs.chainstack.com/reference/bitcoin-getting-started
📖
Documentation
https://docs.chainstack.com/reference/bnb-chain-getting-started
📖
Documentation
https://docs.chainstack.com/reference/polygon-getting-started
📖
Documentation
https://docs.chainstack.com/reference/arbitrum-getting-started
📖
Documentation
https://docs.chainstack.com/reference/optimism-getting-started
📖
Documentation
https://docs.chainstack.com/reference/base-getting-started
📖
Documentation
https://docs.chainstack.com/reference/avalanche-getting-started
📖
Documentation
https://docs.chainstack.com/reference/fantom-getting-started
📖
Documentation
https://docs.chainstack.com/reference/gnosis-getting-started
📖
Documentation
https://docs.chainstack.com/reference/cronos-getting-started
📖
Documentation
https://docs.chainstack.com/reference/aurora-getting-started
📖
Documentation
https://docs.chainstack.com/reference/ronin-getting-started
📖
Documentation
https://docs.chainstack.com/reference/tron-getting-started
📖
Documentation
https://docs.chainstack.com/reference/ton-getting-started
📖
Documentation
https://docs.chainstack.com/reference/starknet-getting-started
📖
Documentation
https://docs.chainstack.com/reference/zksync-getting-started
📖
Documentation
https://docs.chainstack.com/reference/polygon-zkevm-getting-started
📖
Documentation
https://docs.chainstack.com/reference/hyperliquid-getting-started
📖
Documentation
https://docs.chainstack.com/reference/monad-getting-started
📖
Documentation
https://docs.chainstack.com/reference/plasma-getting-started
📖
Documentation
https://docs.chainstack.com/reference/tempo-getting-started

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

chainstack-debug-and-trace-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Chainstack Arbitrum Node Account Info Debug And Trace API
  version: 1.0.0
  description: Chainstack-managed RPC node API for the Arbitrum blockchain. Endpoints follow the canonical JSON-RPC over HTTPS interface for the network. Authenticate against your Chainstack node's per-node URL (e.g. https://nd-XXX-XXX-XXX.p2pify.com/<key>). Merged from the Chainstack Developer Portal per-method fragments at https://github.com/chainstack/dev-portal/tree/main/openapi/arbitrum_node_api.
  contact:
    name: Chainstack API Support
    email: support@chainstack.com
  license:
    name: Chainstack Terms
    url: https://chainstack.com/terms-of-service/
servers:
- url: https://{node_id}.p2pify.com/{api_key}
  description: Chainstack-managed node endpoint
  variables:
    node_id:
      default: nd-000-000-000
      description: Your Chainstack node identifier
    api_key:
      default: <api-key>
      description: Per-node access key
tags:
- name: Debug And Trace
paths:
  /arbtrace_block:
    post:
      tags:
      - Debug And Trace
      summary: Arbtrace_Block
      operationId: arbtraceBlock
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arbtrace_block
                params:
                  type: array
                  items:
                    type: string
                    title: Block Identifier
                  default:
                  - '0xE4E1C0'
      responses:
        '200':
          description: The result of the arbtrace_block method.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /arbtrace_call:
    post:
      tags:
      - Debug And Trace
      summary: Arbtrace_Call
      operationId: arbtraceCall
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arbtrace_call
                params:
                  type: array
                  items:
                    anyOf:
                    - type: object
                      title: Transaction call Object
                    - type: array
                      items:
                        type: string
                      title: Options Array
                    - type: string
                      title: Block Identifier
                  default:
                  - from: '0xeff678bf68ca0da9dfdac0c88f431e8d0e2f7116'
                    to: '0x1b02da8cb0d097eb8d57a175b88c7d8b47997506'
                    gas: '0xfa4d9'
                    gasPrice: '0x9c1e25d'
                    data: '0x18cbafe5000000000000000000000000000000000000000000000000000000003038624200000000000000000000000000000000000000000000000006ff882fdeb13bd100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000eff678bf68ca0da9dfdac0c88f431e8d0e2f711600000000000000000000000000000000000000000000000000000000630f76620000000000000000000000000000000000000000000000000000000000000002000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc800000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1'
                  - - trace
                  - '0xE4E1C0'
      responses:
        '200':
          description: The call's trace.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /arbtrace_callMany:
    post:
      tags:
      - Debug And Trace
      summary: arbtrace_callMany
      operationId: arbtraceCallMany
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arbtrace_callMany
                params:
                  type: array
                  items:
                    anyOf:
                    - type: array
                      items:
                        type: array
                        items:
                          anyOf:
                          - type: object
                            title: Transaction call Object
                          - type: array
                            items:
                              type: string
                            title: Options Array
                    - type: string
                      title: Block Identifier
                  default:
                  - - - from: '0xb8351B61Fa1Eb007A9f80144C489d513e6A76b14'
                        to: '0x478fa4C971a077038B4Fc5C172c3Af5552224ccc'
                        value: '0xb1a2bc2ec50000'
                      - - trace
                    - - from: '0xb8351B61Fa1Eb007A9f80144C489d513e6A76b14'
                        to: '0x988aA44E12c7BCE07E449A4156b4A269d6642B3A'
                        value: '0x6f05b59d3b20000'
                      - - trace
                  - latest
      responses:
        '200':
          description: The calls' traces.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /arbtrace_filter:
    post:
      tags:
      - Debug And Trace
      summary: Arbtrace_Filter
      operationId: arbtraceFilter
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arbtrace_filter
                params:
                  type: array
                  items:
                    type: object
                    properties:
                      fromBlock:
                        type: string
                        title: From Block Identifier
                      toBlock:
                        type: string
                        title: To Block Identifier
                    required:
                    - fromBlock
                    - toBlock
                  default:
                  - fromBlock: '0xE4E1C0'
                    toBlock: '0xE4E1C2'
      responses:
        '200':
          description: The result of the arbtrace_filter method.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /arbtrace_get:
    post:
      tags:
      - Debug And Trace
      summary: Arbtrace_Get
      operationId: arbtraceGet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arbtrace_get
                params:
                  type: array
                  items:
                    anyOf:
                    - type: string
                      title: Transaction Hash
                    - type: array
                      items:
                        type: string
                      title: Index
                  default:
                  - '0xe8648e3ad982a3d67ef0880d6631343cffff364786994b34e5fa292cfef0e680'
                  - - '0x0'
      responses:
        '200':
          description: The transaction's trace.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /arbtrace_replayBlockTransactions:
    post:
      tags:
      - Debug And Trace
      summary: arbtrace_replayBlockTransactions
      operationId: arbtraceReplayBlockTransactions
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arbtrace_replayBlockTransactions
                params:
                  type: array
                  items:
                    anyOf:
                    - type: string
                      title: Block Identifier
                    - type: array
                      items:
                        type: string
                      title: Options Array
                  default:
                  - '0xE4E1C0'
                  - - trace
      responses:
        '200':
          description: The replayed block transactions' traces.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /arbtrace_replayTransaction:
    post:
      tags:
      - Debug And Trace
      summary: arbtrace_replayTransaction
      operationId: arbtraceReplayTransaction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arbtrace_replayTransaction
                params:
                  type: array
                  items:
                    anyOf:
                    - type: string
                      title: Transaction Hash
                    - type: array
                      items:
                        type: string
                      title: Options Array
                  default:
                  - '0xe8648e3ad982a3d67ef0880d6631343cffff364786994b34e5fa292cfef0e680'
                  - - trace
      responses:
        '200':
          description: The replayed transaction's trace.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /arbtrace_transaction:
    post:
      tags:
      - Debug And Trace
      summary: Arbtrace_Transaction
      operationId: arbtraceTransaction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arbtrace_transaction
                params:
                  type: array
                  items:
                    anyOf:
                    - type: string
                      title: Transaction Hash
                    - type: array
                      items:
                        type: string
                      title: Options Array
                  default:
                  - '0xe8648e3ad982a3d67ef0880d6631343cffff364786994b34e5fa292cfef0e680'
      responses:
        '200':
          description: The transaction's trace.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /debug_accountRange:
    post:
      tags:
      - Debug And Trace
      summary: debug_accountRange
      operationId: debugAccountRange
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_accountRange
                params:
                  type: array
                  items:
                    anyOf:
                    - type: string
                      title: Block
                      description: Block number or tag (latest, earliest, pending, safe, finalized).
                    - type: string
                      title: Start
                      description: The start key hash for pagination, as hex bytes.
                    - type: integer
                      title: Max Results
                      description: Maximum number of accounts to return (max 256).
                    - type: boolean
                      title: No Code
                      description: If true, excludes contract code from the result.
                    - type: boolean
                      title: No Storage
                      description: If true, excludes storage from the result.
                    - type: boolean
                      title: Incompletes
                      description: If true, includes accounts without addresses.
                  default:
                  - latest
                  - '0x0000000000000000000000000000000000000000000000000000000000000000'
                  - 10
                  - true
                  - true
                  - false
      responses:
        '200':
          description: Returns the account range dump.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /debug_dumpBlock:
    post:
      tags:
      - Debug And Trace
      summary: debug_dumpBlock
      operationId: debugDumpBlock
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_dumpBlock
                params:
                  type: array
                  items:
                    type: string
                    title: Block Number
                    description: Block number in hex format or tag (latest, earliest, pending, safe, finalized).
                  default:
                  - latest
      responses:
        '200':
          description: Returns the state dump at the given block.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
  /debug_getAccessibleState:
    post:
      tags:
      - Debug And Trace
      summary: debug_getAccessibleState
      operationId: debugGetAccessibleState
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_getAccessibleState
                params:
                  type: array
                  items:
                    type: string
                    title: Block Number
                    description: Block number in hex format or tag.
                  default:
                  - '0x1C9C380'
                  - latest
      responses:
        '200':
          description: Returns the first block number in the range where state is accessible.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: integer
  /debug_getModifiedAccountsByHash:
    post:
      tags:
      - Debug And Trace
      summary: debug_getModifiedAccountsByHash
      operationId: debugGetModifiedAccountsByHash
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_getModifiedAccountsByHash
                params:
                  type: array
                  items:
                    type: string
                  default:
                  - '0x5765eab677d93b81a1c29de804e115d0e4db8dd40e0deabcf187e4e0d047c758'
      responses:
        '200':
          description: Returns a list of accounts modified in the specified block.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: string
                    description: The addresses of the modified accounts.
  /debug_getModifiedAccountsByNumber:
    post:
      tags:
      - Debug And Trace
      summary: debug_getModifiedAccountsByNumber
      operationId: debugGetModifiedAccountsByNumber
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_getModifiedAccountsByNumber
                params:
                  type: array
                  items:
                    type: integer
                  default:
                  - 30000000
      responses:
        '200':
          description: Returns a list of accounts modified between the specified blocks.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: string
                    description: The addresses of the modified accounts.
  /debug_getRawBlock:
    post:
      tags:
      - Debug And Trace
      summary: debug_getRawBlock
      operationId: debugGetRawBlock
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_getRawBlock
                params:
                  type: array
                  items:
                    type: string
                    title: Block
                    description: Block number in hex format or tag (latest, earliest, pending, safe, finalized).
                  default:
                  - latest
      responses:
        '200':
          description: Returns the RLP-encoded block.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
  /debug_getRawHeader:
    post:
      tags:
      - Debug And Trace
      summary: debug_getRawHeader
      operationId: debugGetRawHeader
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_getRawHeader
                params:
                  type: array
                  items:
                    type: string
                    title: Block
                    description: Block number in hex format or tag (latest, earliest, pending, safe, finalized).
                  default:
                  - latest
      responses:
        '200':
          description: Returns the RLP-encoded block header.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
  /debug_getRawReceipts:
    post:
      tags:
      - Debug And Trace
      summary: debug_getRawReceipts
      operationId: debugGetRawReceipts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_getRawReceipts
                params:
                  type: array
                  items:
                    type: string
                    title: Block
                    description: Block number in hex format or tag (latest, earliest, pending, safe, finalized).
                  default:
                  - latest
      responses:
        '200':
          description: Returns the binary-encoded receipts for the block.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: string
  /debug_getRawTransaction:
    post:
      tags:
      - Debug And Trace
      summary: debug_getRawTransaction
      operationId: debugGetRawTransaction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_getRawTransaction
                params:
                  type: array
                  items:
                    type: string
                    title: Transaction Hash
                    description: The hash of the transaction.
                  default:
                  - '0x5765eab677d93b81a1c29de804e115d0e4db8dd40e0deabcf187e4e0d047c758'
      responses:
        '200':
          description: Returns the binary-encoded transaction.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
  /debug_intermediateRoots:
    post:
      tags:
      - Debug And Trace
      summary: debug_intermediateRoots
      operationId: debugIntermediateRoots
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_intermediateRoots
                params:
                  type: array
                  items:
                    anyOf:
                    - type: string
                      title: Block Hash
                      description: The hash of the block.
                    - type: object
                      title: Tracing options
                  default:
                  - '0x5765eab677d93b81a1c29de804e115d0e4db8dd40e0deabcf187e4e0d047c758'
                  - {}
      responses:
        '200':
          description: Returns intermediate state roots for each transaction in the block.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: string
  /debug_preimage:
    post:
      tags:
      - Debug And Trace
      summary: Debug_Preimage
      operationId: debugPreimage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_preimage
                params:
                  type: array
                  items:
                    type: string
                    title: Hash
                    description: The Keccak-256 hash to look up the preimage for.
                  default:
                  - '0x0000000000000000000000000000000000000000000000000000000000000000'
      responses:
        '200':
          description: Returns the preimage for the given hash.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
  /debug_printBlock:
    post:
      tags:
      - Debug And Trace
      summary: debug_printBlock
      operationId: debugPrintBlock
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_printBlock
                params:
                  type: array
                  items:
                    type: integer
                    title: Block Number
                    description: The block number as a decimal integer.
                  default:
                  - 30000000
      responses:
        '200':
          description: Returns a human-readable representation of the block.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
  /debug_traceBadBlock:
    post:
      tags:
      - Debug And Trace
      summary: debug_traceBadBlock
      operationId: debugTraceBadBlock
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_traceBadBlock
                params:
                  type: array
                  items:
                    anyOf:
                    - type: string
                      title: Block Hash
                      description: The hash of the bad block to trace.
                    - type: object
                      title: Tracing options
                  default:
                  - '0x0000000000000000000000000000000000000000000000000000000000000000'
                  - tracer: callTracer
      responses:
        '200':
          description: Returns trace results for each transaction in the bad block.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: object
  /debug_traceBlockByHash:
    post:
      tags:
      - Debug And Trace
      summary: debug_traceBlockByHash
      operationId: arbitrumTraceBlockByHash
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: de

# --- truncated at 32 KB (54 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/chainstack/refs/heads/main/openapi/chainstack-debug-and-trace-api-openapi.yml