Skip to content

Returns the approvals without the "Mint" address in any fromList. For ones with "Mint" and other addresses ABC, for example, it will return just ABC.

getNonMintApprovals<T>(collectionApprovals): CollectionApprovalWithDetails<T>[]

Defined in: packages/bitbadgesjs-sdk/src/core/approval-utils.ts:235

Returns the approvals without the "Mint" address in any fromList. For ones with "Mint" and other addresses ABC, for example, it will return just ABC.

Type Parameters

T

T extends NumberType

Parameters

collectionApprovals

CollectionApprovalWithDetails<T>[]

Returns

CollectionApprovalWithDetails<T>[]

Edit this page on GitHub