Skip to content

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

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

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

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

Type Parameters

T

T extends NumberType

Parameters

collectionApprovals

CollectionApprovalWithDetails<T>[]

Returns

CollectionApprovalWithDetails<T>[]

Edit this page on GitHub