aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface SetPositionInitialMarginRatioEvent

    Event emitted when an account's initial margin ratio for a position is explicitly set or adjusted.

    interface SetPositionInitialMarginRatioEvent {
        accountId: bigint;
        initialMarginRatio: number;
        marketId: string;
        timestamp: number | undefined;
        txnDigest: string;
        type: string;
    }

    Hierarchy (View Summary)

    • Event
      • SetPositionInitialMarginRatioEvent
    Index
    accountId: bigint

    Perpetuals account whose position changed.

    initialMarginRatio: number

    Position initial margin ratio as a decimal fraction.

    marketId: string

    Market whose position margin ratio changed.

    timestamp: number | undefined

    Timestamp of the event, if available.

    txnDigest: string

    The transaction digest associated with the event.

    type: string

    A string identifying the Move event type.