@somnia-chain/markets-sdk / index / ProtocolFeeRecord
Type Alias: ProtocolFeeRecord
ProtocolFeeRecord =
object
Defined in: query.ts:2441
A realized protocol-fee record (mirror of the indexer ProtocolFeeRecord
entity). Amounts are raw collateral units.
Properties
id
id:
string
Defined in: query.ts:2442
orderId
orderId:
string
Defined in: query.ts:2444
uint128 OrderId the fee was charged on (decimal string).
recipient
recipient:
string
Defined in: query.ts:2446
Fee recipient (lowercased).
payer
payer:
string|null
Defined in: query.ts:2449
Order owner who paid the fee (lowercased); null on records indexed before the payer field existed.
token
token:
string
Defined in: query.ts:2451
Fee token (lowercased).
amount
amount:
string
Defined in: query.ts:2452
isTakerSide
isTakerSide:
boolean
Defined in: query.ts:2454
true = taker rate (direct fill); false = maker rate (burn-a-pair leg).
market
market:
string|null
Defined in: query.ts:2456
Market id the fee's pool belongs to (lowercased); null when unlinked.
pool
pool:
string
Defined in: query.ts:2457
timestamp
timestamp:
string
Defined in: query.ts:2458
txHash
txHash:
string
Defined in: query.ts:2459