bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Class Balance<T>

    Balance is used to represent a balance of a token. A user owns x(amount) of the token IDs (tokenIds) from a specific collection (collectionId) for a range of times (ownershipTimes).

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    amount: T

    The amount or balance of the owned token.

    ownershipTimes: UintRangeArray<T>

    The times that the token is owned from.

    tokenIds: UintRangeArray<T>

    The token IDs corresponding to the balance.

    Methods