{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / countUserFills

Function: countUserFills()

countUserFills(account, opts?, indexerUrl, headers?): Promise<number>

Defined in: query.ts:1218

Server-side COUNT of the fills account participated in (maker OR taker), optionally scoped to one pool + a since/until window — a history-page total without fetching rows (Hasura Fill_aggregate, bounded fallback on the public role).

Parameters

account

string

opts?

FillsOptions & object = {}

indexerUrl

string

headers?

Record<string, string>

Returns

Promise<number>