@somnia-chain/markets-sdk / index / MarginEvent
Type Alias: MarginEvent
MarginEvent =
object
Defined in: query.ts:3324
A margin-account movement (mirror of the indexer MarginEvent entity).
Properties
id
id:
string
Defined in: query.ts:3326
Event id (${txHash}_${logIndex}).
account
account:
string
Defined in: query.ts:3328
Account (lowercased).
kind
kind:
string
Defined in: query.ts:3330
Deposit | Withdraw | Locked | Unlocked.
amount
amount:
string
Defined in: query.ts:3332
Collateral moved (raw units).
timestamp
timestamp:
string
Defined in: query.ts:3334
Timestamp (unix seconds) of the movement.
txHash
txHash:
string
Defined in: query.ts:3336
Tx hash the movement landed in.