Interface IAssetBalance

    Complete asset balance information from blockchain Matches AccountKDA structure from Go backend

    interface IAssetBalance {
        address: string;
        assetId: string;
        assetName: string;
        assetType: AssetType;
        balance: bigint;
        buckets: UserKDABucket[];
        collection?: string;
        frozenBalance: bigint;
        lastClaim: UserKDALastClaim;
        marketplaceId?: string;
        metadata?: string;
        mime?: string;
        nftNonce?: number;
        orderId?: string;
        precision: number;
        stakingType: StakingInterestType;
        unfrozenBalance: bigint;
    }

    Properties

    address: string

    Address of the account holding this asset

    assetId: string

    Asset ID (KDA ID)

    assetName: string

    Human-readable asset name

    assetType: AssetType

    Asset type (Fungible, NonFungible, SemiFungible)

    balance: bigint

    Total balance in smallest units

    buckets: UserKDABucket[]

    Staking buckets for this asset

    collection?: string

    Collection ID for NFTs

    frozenBalance: bigint

    Frozen balance (staked) in smallest units

    lastClaim: UserKDALastClaim

    Last claim information for rewards

    marketplaceId?: string

    Marketplace ID if listed for sale

    metadata?: string

    NFT metadata

    mime?: string

    MIME type for NFT content

    nftNonce?: number

    NFT nonce for specific NFT instances

    orderId?: string

    Order ID if active order exists

    precision: number

    Number of decimal places for display

    stakingType: StakingInterestType

    Staking interest type (APR or FPR)

    unfrozenBalance: bigint

    Unfrozen balance (available after unstaking cooldown)