主内

Trace API (1.0.0)

Download OpenAPI specification:Download

URL: https://eosnetwork.com License: MIT

Nodeos Trace API Specification. See developer documentation at https://docs.eosnetwork.com for information on enabling this plugin.

get block

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

Authorizations:
None
Request Body schema: application/json
block_num
required
integer

Provide a block number

Responses

Request samples

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

Response samples

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

transaction trace

Does a scan of the trace files looking for the transaction

Authorizations:
None
Request Body schema: application/json
id
required
integer

Proviade a transaction id

Responses

Request samples

Content type
application/json
{
  • "id": 0
}

Response samples

Content type
application/json
Example
{
  • "id": "string",
  • "actions": [
    ]
}