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

    Event emitted when collateral is allocated from general account collateral into a specific market position.

    interface AllocatedCollateralEvent {
        accountId: bigint;
        collateralDelta: bigint;
        marketId: string;
        timestamp: number | undefined;
        txnDigest: string;
        type: string;
    }

    Hierarchy (View Summary)

    • Event
      • AllocatedCollateralEvent
    Index
    accountId: bigint

    Perpetuals account whose collateral is allocated.

    collateralDelta: bigint

    Allocated collateral in the coin's smallest unit.

    marketId: string

    Market receiving collateral from the account's free balance.

    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.