Nado Typescript SDK Documentation
    Preparing search index...

    Interface EngineServerSubaccountInfoResponse

    interface EngineServerSubaccountInfoResponse {
        exists: boolean;
        subaccount: string;
        spot_count: number;
        perp_count: number;
        spot_products: EngineServerSpotProduct[];
        perp_products: EngineServerPerpProduct[];
        pre_state: EngineServerSubaccountInfoState | undefined;
        healths: [
            initial: EngineServerHealthBreakdown,
            maintenance: EngineServerHealthBreakdown,
            unweighted: EngineServerHealthBreakdown,
        ];
        health_contributions: string[][];
        spot_balances: EngineServerSpotBalance[];
        perp_balances: EngineServerPerpBalance[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    exists: boolean
    subaccount: string
    spot_count: number
    perp_count: number
    spot_products: EngineServerSpotProduct[]
    perp_products: EngineServerPerpProduct[]
    pre_state: EngineServerSubaccountInfoState | undefined

    This is set if request has pre_state flag set to 'true'

    healths: [
        initial: EngineServerHealthBreakdown,
        maintenance: EngineServerHealthBreakdown,
        unweighted: EngineServerHealthBreakdown,
    ]
    health_contributions: string[][]
    spot_balances: EngineServerSpotBalance[]
    perp_balances: EngineServerPerpBalance[]