Skip to main content

Trace API (1.0.0)

Download OpenAPI specification:Download

URL: https://wire.network License: MIT

get_block

Returns a block trace object containing retired actions and related metadata.

Request Body schema: application/json
block_num
required
integer

Provide a block number

Responses

Request samples

Content type
application/json
{
  • "block_num": 1000
}

Response samples

Content type
application/json
Example
{
  • "id": "string",
  • "number": 0,
  • "previous_id": "string",
  • "status": "string",
  • "timestamp": "string",
  • "producer": "string",
  • "transactions": [
    ]
}

get_transaction_trace

Returns the trace information for a specific transaction by its ID. This endpoint searches for the block containing the transaction and returns the full transaction trace.

Request Body schema: application/json
id
required
string [ 8 .. 64 ] characters

The transaction ID (hash) to retrieve the trace for. Must be between 8 and 64 characters.

Responses

Request samples

Content type
application/json
{
  • "id": "02ca32345cc025052c8fe119516aa6086e14a333eddc4433283ecf50374e2b06"
}

Response samples

Content type
application/json
{
  • "id": "02ca32345cc025052c8fe119516aa6086e14a333eddc4433283ecf50374e2b06",
  • "block_num": 12345,
  • "block_time": "2025-02-07T18:50:13.000",
  • "producer_block_id": "0000303939c5b8b5c6d7e8f9...",
  • "status": "executed",
  • "cpu_usage_us": 250,
  • "net_usage_words": 12,
  • "actions": [
    ]
}