Interface CreditBalance

A scope's balance: what new holds may take, what is held, and each lot's free balance.

interface CreditBalance {
    availableMicro: number;
    heldMicro: number;
    lots: {
        lotId: string;
        kind: CreditLotKind;
        freeMicro: number;
        heldMicro: number;
        expiresAt: null | number;
        state: CreditLotState;
    }[];
}

Properties

availableMicro: number
heldMicro: number
lots: {
    lotId: string;
    kind: CreditLotKind;
    freeMicro: number;
    heldMicro: number;
    expiresAt: null | number;
    state: CreditLotState;
}[]

Type declaration