{s}omniamarkets

@somnia-chain/markets-sdk


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

Function: listProtocolFees()

listProtocolFees(opts?, indexerUrl): Promise<ProtocolFeeRecord[]>

Defined in: query.ts:2503

Realized protocol-fee records, newest first — filter by recipient / market / pool / payer, paginate with limit/offset. Complements getMarketFees (frozen config + running total) with the per-fill stream.

Parameters

opts?

recipient?

string

market?

string

pool?

string

payer?

string

limit?

number

offset?

number

indexerUrl

string

Returns

Promise<ProtocolFeeRecord[]>