Class GetBadgeBalanceByAddressSuccessResponse<T>

Type Parameters

Hierarchy (view full)

Constructors

Properties

_docId: string

A unique stringified document ID

_id?: string

A unique document ID (Mongo DB ObjectID)

autoApproveSelfInitiatedIncomingTransfers: boolean

Whether the user's self-initiated incoming transfers are auto-approved. If not, they must be explicitly approved using the incoming approvals.

autoApproveSelfInitiatedOutgoingTransfers: boolean

Whether the user's self-initiated outgoing transfers are auto-approved. If not, they must be explicitly approved using the outgoing approvals.

balances: BalanceArray<T>

The user's balances.

collectionId: T

The collection ID

contentHash?: string

The content hash of the off-chain balances

cosmosAddress: string

The Cosmos address of the user

fetchedAt?: T

The timestamp of when the off-chain balances were fetched (milliseconds since epoch). For BitBadges indexer, we only populate this for Mint and Total docs.

fetchedAtBlock?: T

The block number of when the off-chain balances were fetched. For BitBadges indexer, we only populate this for Mint and Total docs.

incomingApprovals: UserIncomingApprovalWithDetails<T>[]

The incoming approvals with details like metadata and address lists.

isPermanent?: boolean

True if the off-chain balances are using permanent storage

onChain: boolean

True if the balances are on-chain

outgoingApprovals: UserOutgoingApprovalWithDetails<T>[]

The outgoing approvals with details like metadata and address lists.

updateHistory: UpdateHistory<T>[]

The update history of this balance

uri?: string

The URI of the off-chain balances

userPermissions: UserPermissionsWithDetails<T>

The user permissions with details like metadata and address lists.

Methods

  • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

    If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

    Type Parameters

    Parameters

    • other: undefined | null | CustomType<U>
    • OptionalnormalizeNumberTypes: boolean

    Returns boolean