Errors

Error breakdown by source

Returns error counts grouped by originating source over the window.

get/errors/breakdown

Request

  • Base URL
    https://api.tatum.io/v4/logs
  • URL
    https://api.tatum.io/v4/logs/errors/breakdown
  • Auth
    API key in header x-api-key

Query parameters

'5m'
OR
'15m'
OR
'1h'
OR
'6h'
OR
'24h'
OR
'7d'
OR
'14d'
OR
'30d'

Relative look-back window. Ignored when from/to are supplied.

fromstring date-time

Inclusive window start, ISO-8601. Use together with to for an explicit range instead of time_range.

tostring date-time

Exclusive window end, ISO-8601. Defaults to now when only from is given.

searchstring

Free-text search across error fields (message, operation, ids). Control bytes are rejected; min 3 chars (text-index floor), max 128 chars.

'errors'
OR
'usage'

Ranking dimension for aggregated views: errors orders by error volume, usage orders by total request volume.

filter[network][in]string[]

Include rows where network (blockchain network (chain-qualified)) is one of the given values. Repeat the parameter to pass multiple values. Pass (empty) to match rows with no network (unattributed traffic).

filter[network][nin]string[]

Exclude rows where network (blockchain network (chain-qualified)) is none of the given values. Repeat the parameter to pass multiple values. Pass (empty) to match rows with no network (unattributed traffic).

filter[chain][in]string[]

Include rows where chain (parent blockchain as recorded on the error; unrecognised values match no rows rather than erroring) is one of the given values. Repeat the parameter to pass multiple values. Pass (empty) to match rows with no chain (unattributed traffic).

filter[chain][nin]string[]

Exclude rows where chain (parent blockchain as recorded on the error; unrecognised values match no rows rather than erroring) is none of the given values. Repeat the parameter to pass multiple values. Pass (empty) to match rows with no chain (unattributed traffic).

filter[source][in]string[]

Include rows where source (error source / originating layer) is one of the given values. Repeat the parameter to pass multiple values.

filter[source][nin]string[]

Exclude rows where source (error source / originating layer) is none of the given values. Repeat the parameter to pass multiple values.

filter[operation][in]string[]

Include rows where operation (RPC method / operation) is one of the given values. Repeat the parameter to pass multiple values.

filter[operation][nin]string[]

Exclude rows where operation (RPC method / operation) is none of the given values. Repeat the parameter to pass multiple values.

filter[operation][contains]string

Include rows where operation (RPC method / operation) contains this substring (SQL LIKE '%value%').

filter[error_code][in]integer[]

Include rows where error_code (error / status code (JSON-RPC codes are negative)) is one of the given values. Repeat the parameter to pass multiple values.

filter[error_code][nin]integer[]

Exclude rows where error_code (error / status code (JSON-RPC codes are negative)) is none of the given values. Repeat the parameter to pass multiple values.

filter[error_code][between]integer[]

Include rows where error_code (error / status code (JSON-RPC codes are negative)) falls within an inclusive numeric range (SQL BETWEEN lo AND hi). Pass the parameter exactly twice: first the lower bound, then the upper bound.

filter[req_id][in]string[]

Include rows where req_id (request id — NOT unique, a JSON-RPC batch emits one error row per failing member) is one of the given values. Repeat the parameter to pass multiple values.

Response

Error breakdown by source, network/chain, and operation.

cappedboolean required

True when served from the raw table and capped; rows are then empty.

Example response

{
  "sources": [
    {
      "source": "blockchain-rpc",
      "total": 1538,
      "sparkline": {
        "points": [
          {
            "timestamp": "2024-01-14T12:00:00.000Z",
            "value": 42
          }
        ],
        "total": 1538
      }
    }
  ],
  "networks": [
    {
      "network": "ethereum-mainnet",
      "chain": "ethereum",
      "total": 1538
    }
  ],
  "operations": [
    {
      "operation": "eth_call",
      "total": 1538
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.