Nado Typescript SDK Documentation
    Preparing search index...

    Interface PerpBalance

    Balance for a perp product

    interface PerpBalance {
        productId: number;
        amount: BigNumber;
        healthContributions: BalanceHealthContributions;
        type: PERP;
        vQuoteBalance: BigNumber;
    }

    Hierarchy (View Summary)

    Index

    Properties

    productId: number
    amount: BigNumber
    healthContributions: BalanceHealthContributions
    type: PERP
    vQuoteBalance: BigNumber

    As there is no "quote" product for the perp engine, this is a representation of the net quote balance associated with the position. The entry cost and funding is rolled into this.