Skip to main content
WSS
Messages
subscribe
type:object
unsubscribe
type:object
subscribe_response
type:object
unsubscribe_response
type:object
update
type:object

Overview

  • Dataset ID: 0802 - Arb Path Status
  • Description: Path status events (b0801_arb_path_status_v1): active/inactive transitions keyed by (path_id, block_number, tx_index, log_index); trigger_pool_uid identifies the pool whose TVL/state change produced the event.
  • Sample: Hugging Face Sample

Subscription Parameters

chain_id
number
required
Target EVM network. See the Chain enumeration.
path_ids
string[]
Optional filters: 32-byte path_id values (hex string, no 0x prefix).

Message Fields

path_id
string
Path id (hex); FK to b0801_arb_paths_v1.path_id.
block_number
number
Block of the status event.
block_time
string
Block time (ISO-8601).
tx_index
number
Transaction index.
log_index
number
Log index.
is_active
boolean
Path active flag after the event.
trigger_pool_uid
string
Pool whose change triggered the status event (hex).
_tracing_id
string
Unique tracing ID (hex).
_parent_tracing_ids
string[]
Parent tracing IDs (hex).
_created_at
string
Record creation time (ISO-8601).
_updated_at
string
Record last update time (ISO-8601).

Subscription Example

# Use wscat to connect and subscribe
wscat -c wss://api.blockdb.io/v1/evm/ \
  -H "Authorization: Bearer $BLOCKDB_API_KEY" \
  -x '{"action": "subscribe", "dataset_id": "0802", "chain_id": 1, "params": {}}'

Response Example

{
  "chain_id": 1,
  "dataset_id": "0802",
  "is_reorg": false,
  "data": {
    "path_id": "a1b2c3d4e5f6789012345678901234567890abcd1234567890abcdef12345678",
    "block_number": 21000800,
    "block_time": "2025-11-11T14:00:00Z",
    "tx_index": 5,
    "log_index": 2,
    "is_active": true,
    "trigger_pool_uid": "88e6a0c2ddd26feeb64f039a2c41296fcb3f5640000000000000000000000000",
    "_tracing_id": "0802c0ffee000000000000000000000000000000000000000000000000000001",
    "_parent_tracing_ids": [
      "0801c0ffee000000000000000000000000000000000000000000000000000001"
    ]
  }
}
Last modified on April 6, 2026