aftermath-ts-sdk - v6.7.0
    Preparing search index...

    Interface PerpetualsCollateralDailyStatsRow

    Daily deposits and withdrawals for one UTC day.

    interface PerpetualsCollateralDailyStatsRow {
        cumulativeDepositsUsd: number;
        cumulativeWithdrawalsUsd: number;
        depositsUsd: number;
        timestamp: bigint;
        withdrawalsUsd: number;
    }
    Index
    cumulativeDepositsUsd: number

    All-time deposits in USD for this collateral type up to and including this UTC day.

    cumulativeWithdrawalsUsd: number

    All-time withdrawals in USD for this collateral type up to and including this UTC day. Net deposits = cumulativeDepositsUsd - cumulativeWithdrawalsUsd.

    depositsUsd: number

    Positive deposit total in USD, valued at each event's collateral oracle price.

    timestamp: bigint

    UTC day start in Unix milliseconds as bigint.

    withdrawalsUsd: number

    Positive withdrawal total in USD; allocations to/from positions are excluded.