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

    One asset a ledger account holds: its total, and where it sits.

    type WalletAssetHolding = {
        breakdown: {
            address: string;
            amount: BigNumber;
            chain: WalletChain;
            chainKey: string;
            network: SelectChain["name"];
            tokenId: SelectToken["externalId"];
        }[];
        logoKey: string
        | null;
        name: SelectToken["name"];
        symbol: AssetSymbol;
        total: BigNumber;
    }
    Index
    breakdown: {
        address: string;
        amount: BigNumber;
        chain: WalletChain;
        chainKey: string;
        network: SelectChain["name"];
        tokenId: SelectToken["externalId"];
    }[]

    Type Declaration

    • address: string
    • amount: BigNumber
    • chain: WalletChain
    • chainKey: string

      The b2b.chain.key of the token's network (base, solana).

    • network: SelectChain["name"]

      The token's network as a reader names it: Ethereum, Arbitrum, Solana.

    • tokenId: SelectToken["externalId"]
    logoKey: string | null

    The static.cfx.to path of the first mirrored registry logo among the asset's token rows (by id), without its .png/.webp; null when none is.

    name: SelectToken["name"]

    The name of the asset's first token row (by id).

    symbol: AssetSymbol
    total: BigNumber

    Summed across every chain and address.