@cfxlabsinc/b2b-services
    Preparing search index...

    A RouteFusion multi-currency wallet, as returned by wallet(wallet_id:).

    Unlike Victor, RouteFusion has no separate FBO/core account: this wallet IS the pool an outbound transfer debits, and createTransfer names it directly via wallet_id.

    state and suspended are RouteFusion's own view and can diverge from CFX's virtual_account.status — RF may freeze a wallet under a VA row we still consider ACTIVE. suspended overlaps state: "suspended" without a guarantee they agree, so a consumer gating on liveness should require state === "verified" && !suspended rather than checking either alone.

    Amounts are decimal strings — wrap in BigNumber before any arithmetic.

    interface RouteFusionWallet {
        available_balance: string | null;
        balance: string | null;
        currency: string | null;
        id: string;
        state: RouteFusionWalletState | null;
        suspended: boolean | null;
    }
    Index
    available_balance: string | null

    Funds available to spend. This is the one a payout gate must read.

    balance: string | null

    Funds in the wallet, including amounts committed to in-flight transfers.

    currency: string | null
    id: string
    suspended: boolean | null