Skip to main content

StreamL4BookUpdates gRPC Method

Streams typed per-order book updates with new, update, and remove diffs for one or more coins.

Updated on
Oct 09, 2026
Full reference

Field definitions, proto messages, example updates, and comparisons for this stream live on the L4 Book Updates dataset page. This page covers the method signature and client snippets.

Please note that this method is metered based on data consumption at 0.0165 MB = 10 API credits.

Parameters

coins
repeated string

List of symbols to subscribe to (e.g., 'BTC', 'ETH'). Empty means all coins

Returns

stream
stream<L4BookUpdatesUpdate>

Stream of L4BookUpdatesUpdate messages containing typed per-order diffs per block

time
uint64

Block timestamp in milliseconds

height
uint64

Block height

snapshot
bool

True when the diffs carry a full reset snapshot of all resting orders

diffs
array<L4OrderDiff>

Per-order diffs, each containing diff_type (L4_ORDER_DIFF_TYPE_NEW, L4_ORDER_DIFF_TYPE_UPDATE, or L4_ORDER_DIFF_TYPE_REMOVE), coin, oid (order ID), user (address), side ('A' for ask, 'B' for bid), px (price), and sz (new/current size for new and update diffs; omitted on remove)

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free