interface EngineServerSubaccountInfoResponse {
    exists: boolean;
    subaccount: string;
    healths: {
        health: string;
        assets: string;
        liabilities: string;
    }[];
    health_contributions: string[][];
    spot_count: number;
    perp_count: number;
    spot_balances: EngineServerSpotBalance[];
    perp_balances: EngineServerPerpBalance[];
    spot_products: EngineServerSpotProduct[];
    perp_products: EngineServerPerpProduct[];
}

Properties

exists: boolean
subaccount: string
healths: {
    health: string;
    assets: string;
    liabilities: string;
}[]
health_contributions: string[][]
spot_count: number
perp_count: number
spot_balances: EngineServerSpotBalance[]
perp_balances: EngineServerPerpBalance[]
spot_products: EngineServerSpotProduct[]
perp_products: EngineServerPerpProduct[]