EOS - Chain API & Trace API URLs

EOS nodes expose REST, not JSON-RPC: POST Chain API calls to /v1/chain/ paths and Trace API calls to /v1/trace_api/get_block on the Tatum EOS endpoint.

Tatum's EOS endpoints serve the EOS REST API, not JSON-RPC. Send each call as a POST to its path on https://eos-mainnet.gateway.tatum.io (or https://eos-jungle.gateway.tatum.io for the Jungle testnet): Chain API methods under /v1/chain/ and the Trace API's get_block at /v1/trace_api/get_block. Put your API key in the x-api-key header.

📘

Symptom

A call to the EOS endpoint fails in one of these ways:

  • HTTP 404 with an empty body: the gateway doesn't support the path, for example a JSON-RPC request to the base URL, /v1/trace_api/get_transaction_trace or the History API (/v1/history/...).
  • HTTP 400 Unknown Block: the block is older than the history the nodes keep. For example, get_block for block 254,699,234 returns:
{
  "code": 400,
  "message": "Unknown Block",
  "error": {
    "code": 3100002,
    "name": "unknown_block_exception",
    "what": "Unknown block",
    "details": [
      {
        "message": "Could not find block: 254699234",
        "file": "chain_plugin.cpp",
        "line_number": 1966,
        "method": "get_raw_block"
      }
    ]
  }
}

Cause

EOS nodes serve a REST API over HTTP: each method has its own path, and the request body is a JSON object with the method's parameters. Tatum supports a set of Chain API endpoints under /v1/chain/ and the Trace API's get_block; the full list is in EOS REST API endpoints. Other paths return 404.

EOS mainnet history on Tatum starts at block 254,699,235, the earliest_available_block_num in the get_info response. Requests for older blocks return Unknown Block.

Solution

  1. Call the REST path with a JSON body. Start with get_info to check your API key and the endpoint:

    curl 'https://eos-mainnet.gateway.tatum.io/v1/chain/get_info' \
      --header 'content-type: application/json' \
      --header 'x-api-key: {YOUR_API_KEY}' \
      --data '{}'

    The response, trimmed, includes the head block and the earliest block the node can return:

    {
      "chain_id": "aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906",
      "head_block_num": 532921473,
      "last_irreversible_block_num": 532921471,
      "server_version_string": "v1.2.2",
      "earliest_available_block_num": 254699235
    }
  2. Request blocks in the available range. Use block numbers from earliest_available_block_num up to head_block_num.

  3. Trace a block with the Trace API. get_block returns the block with its transactions and executed actions. Its block_num is an integer:

    curl 'https://eos-mainnet.gateway.tatum.io/v1/trace_api/get_block' \
      --header 'content-type: application/json' \
      --header 'x-api-key: {YOUR_API_KEY}' \
      --data '{"block_num": 300000000}'

    /v1/trace_api/get_transaction_trace isn't supported. To get the trace of a transaction, call get_block on the Trace API for the block that includes it, and find the transaction by its id in transactions.

  4. Use the Chain API for everything else. See the examples below and the EOS REST API endpoints for the full list.

Chain API examples

get_account

curl 'https://eos-mainnet.gateway.tatum.io/v1/chain/get_account' \
  --header 'content-type: application/json' \
  --header 'x-api-key: {YOUR_API_KEY}' \
  --data '{"account_name": "{ACCOUNT_NAME}"}'

get_block

curl 'https://eos-mainnet.gateway.tatum.io/v1/chain/get_block' \
  --header 'content-type: application/json' \
  --header 'x-api-key: {YOUR_API_KEY}' \
  --data '{"block_num_or_id": "{BLOCK_NUMBER_OR_ID}"}'

get_block_info

curl 'https://eos-mainnet.gateway.tatum.io/v1/chain/get_block_info' \
  --header 'content-type: application/json' \
  --header 'x-api-key: {YOUR_API_KEY}' \
  --data '{"block_num": 300000000}'

push_transaction

curl 'https://eos-mainnet.gateway.tatum.io/v1/chain/push_transaction' \
  --header 'content-type: application/json' \
  --header 'x-api-key: {YOUR_API_KEY}' \
  --data '{
    "signatures": [
        "string"
    ],
    "compression": true,
    "packed_context_free_data": "string",
    "packed_trx": "string"
}'

send_transaction

curl 'https://eos-mainnet.gateway.tatum.io/v1/chain/send_transaction' \
  --header 'content-type: application/json' \
  --header 'x-api-key: {YOUR_API_KEY}' \
  --data '{
    "signatures": [
        "string"
    ],
    "compression": true,
    "packed_context_free_data": "string",
    "packed_trx": "string"
}'

push_transactions

curl --location 'https://eos-mainnet.gateway.tatum.io/v1/chain/push_transactions' \
--header 'Content-Type: application/json' \
--header 'x-api-key: {YOUR_API_KEY}' \
--data '[
  {
    "expiration": "string",
    "ref_block_num": 0,
    "ref_block_prefix": 0,
    "max_net_usage_words": "string",
    "max_cpu_usage_ms": "string",
    "delay_sec": 0,
    "context_free_actions": [
      {
        "account": "string",
        "name": "string",
        "authorization": [
          {
            "actor": "string",
            "permission": "string"
          }
        ],
        "data": {},
        "hex_data": "string"
      }
    ],
    "actions": [
      {
        "account": "string",
        "name": "string",
        "authorization": [
          {
            "actor": "string",
            "permission": "string"
          }
        ],
        "data": {},
        "hex_data": "string"
      }
    ],
    "transaction_extensions": [
      [
        0
      ]
    ]
  }
]'

FAQ

Does Tatum support the EOS History API?

No. History API paths such as /v1/history/get_actions return 404. To read the actions in a block, use the Trace API's get_block.

Where is the official EOS API reference?

The EOS network was renamed Vaulta in 2025. The official Chain API reference and Trace API reference are on docs.vaulta.com.

Still stuck?

Report an issue to support with the full request, the HTTP status, the response and its x-request-id.


Did this page help you?