Interface iGetBadgeBalanceByAddressSuccessResponse<T>

interface iGetBadgeBalanceByAddressSuccessResponse<T> {
    _docId: string;
    _id?: string;
    autoApproveSelfInitiatedIncomingTransfers: boolean;
    autoApproveSelfInitiatedOutgoingTransfers: boolean;
    balances: iBalance<T>[];
    collectionId: T;
    contentHash?: string;
    cosmosAddress: string;
    fetchedAt?: T;
    fetchedAtBlock?: T;
    incomingApprovals: iUserIncomingApprovalWithDetails<T>[];
    isPermanent?: boolean;
    onChain: boolean;
    outgoingApprovals: iUserOutgoingApprovalWithDetails<T>[];
    updateHistory: iUpdateHistory<T>[];
    uri?: string;
    userPermissions: iUserPermissionsWithDetails<T>;
}

Type Parameters

Hierarchy (view full)

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: iBalance<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: iUserIncomingApprovalWithDetails<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: iUserOutgoingApprovalWithDetails<T>[]

The outgoing approvals with details like metadata and address lists.

updateHistory: iUpdateHistory<T>[]

The update history of this balance

uri?: string

The URI of the off-chain balances

userPermissions: iUserPermissionsWithDetails<T>

The user permissions with details like metadata and address lists.