@somnia-chain/markets-sdk / index / OpenInterestSnapshot
Type Alias: OpenInterestSnapshot
OpenInterestSnapshot =
object
Defined in: query.ts:3389
An open-interest snapshot (mirror of the indexer OpenInterestSnapshot
entity).
Properties
id
id:
string
Defined in: query.ts:3391
Snapshot id (${pool}_${block}_${logIndex}).
pool
pool:
string
Defined in: query.ts:3393
Perp pool (lowercased).
longOpenInterest
longOpenInterest:
string|null
Defined in: query.ts:3395
Total long open interest (raw base units).
shortOpenInterest
shortOpenInterest:
string|null
Defined in: query.ts:3397
Total short open interest (raw base units).
timestamp
timestamp:
string
Defined in: query.ts:3399
Timestamp (unix seconds) of the snapshot.