---
title: "Get Trace Block"
method: POST
path: "/node/rest/trace_block"
tags: ["node"]
---

# Get Trace Block

`POST /node/rest/trace_block`

## Request body

- BlockNumberIn
  - `number` union, required
    - integer
    - string

## Response `200`

Successful Response

- Trace[], nullable
  - `action` Action, required
    - `callType` string, nullable
    - `from` string, nullable, required
    - `gas` string, nullable
    - `init` string, nullable
    - `input` string, nullable
    - `to` string, nullable
    - `author` string, nullable
    - `rewardType` string, nullable
    - `value` string, nullable
    - `address` string, nullable
    - `balance` string, nullable
    - `refundAddress` string, nullable
  - `result` Result
    - `gasUsed` string, nullable
    - `output` string, nullable
    - `address` string, nullable
    - `code` string, nullable
  - `error` string, nullable
  - `subtraces` integer, required
  - `traceAddress` integer[], required
  - `transactionHash` string, nullable
  - `transactionPosition` integer, nullable
  - `type` string, required
  - `blockHash` string, required
  - `blockNumber` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/watchdata/apis/fastapi.md) · [All operations](https://skmtc.dev/watchdata/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/watchdata/fastapi/revisions/1f56b91b44f0/schema)
