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

    Class TransferActivityDoc<T>

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    _docId: string

    A unique stringified document ID

    _id?: string

    A unique document ID (Mongo DB ObjectID)

    _notificationsHandled?: boolean

    Whether or not the notifications have been handled by the indexer or not.

    approvalsUsed?: ApprovalIdentifierDetails<T>[]

    Approvals used for the transfer

    balances: BalanceArray<T>

    The list of balances and token IDs that were transferred.

    block: T

    The block number of the activity.

    coinTransfers?: CoinTransferItem<T>[]

    Coin transfers details

    collectionId: string

    The collection ID for the tokens that was transferred.

    denom?: string

    The denomination of the transfer

    from: string

    The sender of the tokens.

    initiatedBy: string

    The user who initiated the transfer transaction.

    memo?: string

    The memo of the transfer.

    precalculateBalancesFromApproval?: PrecalculateBalancesFromApprovalDetails<T>

    Which approval to use to precalculate the balances?

    precalculationOptions?: PrecalculationOptions<T>

    Precalculation options

    price?: T

    The price of the transfer

    prioritizedApprovals?: ApprovalIdentifierDetails<T>[]

    The prioritized approvals of the transfer. This is used to check certain approvals before others to ensure intended behavior.

    private?: boolean

    Only for private purposes?

    timestamp: T

    The timestamp of the activity.

    to: string[]

    The list of recipients.

    tokenId?: T

    The token ID for the transfer

    txHash?: string

    The transaction hash of the activity.

    volume?: T

    The volume of the transfer

    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