Skip to main content

LIGHTER_REST_PAGE_SIZE

Constant LIGHTER_REST_PAGE_SIZE 

Source
pub const LIGHTER_REST_PAGE_SIZE: u16 = 100;
Expand description

Maximum page size accepted by Lighter REST list endpoints (/api/v1/trades, /api/v1/accountInactiveOrders). Values above this trigger 20001 invalid param from the venue, so reconciliation paginates at this cap and follows next_cursor until the response is empty.