Error events (paginated)
Individual error events, paginated with a keyset cursor over (timestamp, req_id). Pass next_cursor from the previous response back as cursor to fetch the next page.
Request
- Base URLhttps://api.tatum.io/v4/logs
- URLhttps://api.tatum.io/v4/logs/errors/events
- AuthAPI key in header x-api-key
Query parameters
Opaque keyset cursor from the previous page's next_cursor. Omit for the first page.
Target page size (1–1000). Defaults to the endpoint's page size when omitted.
A page may exceed this. req_id is not unique, so a page that would otherwise end in the middle of one request is extended with that request's remaining errors — up to 512 more rows. Ending mid-request is what would make the keyset cursor skip rows, so the overshoot is deliberate. Size a viewport on the rows actually returned, not on this value.
Relative look-back window. Ignored when from/to are supplied.
Inclusive window start, ISO-8601. Use together with to for an explicit range instead of time_range.
Exclusive window end, ISO-8601. Defaults to now when only from is given.
Free-text search across error fields (message, operation, ids). Control bytes are rejected; min 3 chars (text-index floor), max 128 chars.
Ranking dimension for aggregated views: errors orders by error volume, usage orders by total request volume.
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).
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).
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).
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).
Include rows where source (error source / originating layer) is one of the given values. Repeat the parameter to pass multiple values.
Exclude rows where source (error source / originating layer) is none of the given values. Repeat the parameter to pass multiple values.
Include rows where operation (RPC method / operation) is one of the given values. Repeat the parameter to pass multiple values.
Exclude rows where operation (RPC method / operation) is none of the given values. Repeat the parameter to pass multiple values.
Include rows where operation (RPC method / operation) contains this substring (SQL LIKE '%value%').
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.
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.
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.
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.
Include rows where event_id (opaque per-event id from the events list (exact single-event lookup)) is one of the given values. Repeat the parameter to pass multiple values.
Response
A keyset-paginated page of individual error events.
Example response
{
"data": [
{
"event_id": "djE6MTc4Nzc0MzIxNjA1ODoyMkUzMzg3QUEwRjlEM0M2OnFncHptLTBmNWE1OTJm",
"req_id": "a309e3a8edccb942-AMS",
"timestamp": "2024-01-14T12:00:00.000Z",
"operation": "eth_call",
"error_code": 3,
"error_message": "execution reverted",
"error_data": "{\"code\":3,\"message\":\"execution reverted\",\"data\":\"0x08c379a0\"}",
"request_context": "{\"params\":[\"0xabc...\",\"latest\"]}",
"source": "blockchain-rpc",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"json_rpc_id": "1",
"gateway_id": "1e06265e-f014-48ae-9cc6-94d046e4e04d",
"interface_id": "ethereum-mainnet-json-rpc",
"chain": "ethereum",
"network": "ethereum-mainnet",
"region": "europe-west4",
"type": "jsonrpc_error_event"
}
],
"next_cursor": "eyJ0cyI6IjIwMjQtMDEtMTRUMTI6MDA6MDBaIiwicmVxX2lkIjoiYWJjLTEyMyJ9"
}Changes
No recorded changes to this operation across all 1 revision of this API.