Interface IAssetBalance
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;
}
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
address: string
Address of the account holding this asset
assetId
assetId: string
Asset ID (KDA ID)
assetName
assetName: string
Human-readable asset name
assetType
assetType: AssetType
Asset type (Fungible, NonFungible, SemiFungible)
balance
balance: bigint
Total balance in smallest units
buckets
buckets: UserKDABucket[]
Staking buckets for this asset
Optionalcollection
collection?: string
Collection ID for NFTs
frozenBalance
frozenBalance: bigint
Frozen balance (staked) in smallest units
lastClaim
lastClaim: UserKDALastClaim
Last claim information for rewards
OptionalmarketplaceId
marketplaceId?: string
Marketplace ID if listed for sale
Optionalmetadata
metadata?: string
NFT metadata
Optionalmime
mime?: string
MIME type for NFT content
OptionalnftNonce
nftNonce?: number
NFT nonce for specific NFT instances
OptionalorderId
orderId?: string
Order ID if active order exists
precision
precision: number
Number of decimal places for display
stakingType
stakingType: StakingInterestType
Staking interest type (APR or FPR)
unfrozenBalance
unfrozenBalance: bigint
Unfrozen balance (available after unstaking cooldown)
Complete asset balance information from blockchain Matches AccountKDA structure from Go backend