openapi: 3.2.0 info: title: Chainstack TON Node Get Traces API version: 1.0.0 description: Chainstack-managed RPC node API for the TON 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/). Merged from the Chainstack Developer Portal per-method fragments at https://github.com/chainstack/dev-portal/tree/main/openapi/ton_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: description: Per-node access key tags: - name: GetTraces paths: /getTraces: get: summary: Get Traces description: Retrieves transaction traces by specified filters operationId: getTraces tags: - GetTraces parameters: - name: trace_id in: query description: Trace ID to filter by schema: type: string - name: tx_hash in: query description: Transaction hash to get traces for schema: type: string default: BhLJTdV2R6Vr5c3BAOjH8nFpnMYOuPcJvRlagGSKU88= - name: tx_lt in: query description: Transaction logical time schema: type: integer - name: limit in: query description: Maximum number of traces to return schema: type: integer default: 10 - name: offset in: query description: Number of traces to skip schema: type: integer default: 0 - name: sort in: query description: Sort order schema: type: string enum: - asc - desc default: desc responses: '200': description: Successful response content: application/json: schema: type: object properties: traces: type: array items: type: object properties: trace_id: type: string description: Unique identifier for the trace external_hash: type: string description: Hash of the external message that initiated the trace mc_seqno_start: type: integer description: Masterchain sequence number at trace start mc_seqno_end: type: integer description: Masterchain sequence number at trace end start_lt: type: integer description: Logical time at trace start start_utime: type: integer description: Unix timestamp at trace start end_lt: type: integer description: Logical time at trace end end_utime: type: integer description: Unix timestamp at trace end state: type: string description: Current state of the trace pending_edges: type: integer description: Number of pending message edges edges: type: integer description: Total number of message edges nodes: type: integer description: Total number of transaction nodes classification_state: type: string description: Classification state of the trace address_book: type: object description: Address book mapping addresses to user-friendly names components: securitySchemes: APIKeyHeader: type: apiKey in: header name: X-API-Key APIKeyQuery: type: apiKey in: query name: api_key