@somnia-chain/markets-sdk / index / ProtocolFeeRecord
Type Alias: ProtocolFeeRecord
ProtocolFeeRecord =
object
Defined in: query.ts:3043
A realized protocol-fee record (mirror of the indexer ProtocolFeeRecord
entity). Amounts are raw collateral units.
Properties
id
id:
string
Defined in: query.ts:3045
Record id (${blockNumber}_${logIndex}).
orderId
orderId:
string
Defined in: query.ts:3047
uint128 OrderId the fee was charged on (decimal string).
recipient
recipient:
string
Defined in: query.ts:3049
Fee recipient (lowercased).
payer
payer:
string|null
Defined in: query.ts:3054
Order owner who paid the fee (lowercased); null on records indexed before the payer field existed.
token
token:
string
Defined in: query.ts:3056
Fee token (lowercased).
amount
amount:
string
Defined in: query.ts:3058
Fee charged (raw collateral units).
isTakerSide
isTakerSide:
boolean
Defined in: query.ts:3060
true = taker rate (direct fill); false = maker rate (burn-a-pair leg).
market
market:
string|null
Defined in: query.ts:3062
Market id the fee's pool belongs to (lowercased); null when unlinked.
pool
pool:
string
Defined in: query.ts:3064
Pool the fee was charged on (lowercased).
timestamp
timestamp:
string
Defined in: query.ts:3066
Timestamp (unix seconds) the fee was charged.
txHash
txHash:
string
Defined in: query.ts:3068
Tx hash the charge landed in.