Skip to content

Wrapper for getUnhandledCollectionApprovals that returns the unhandled approvals for a user.

getUnhandledUserIncomingApprovals(approvals, userAddress, ignoreTrackerIds, doNotMerge?): CollectionApprovalWithDetails<bigint>[]

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

Wrapper for getUnhandledCollectionApprovals that returns the unhandled approvals for a user.

Parameters

approvals

UserIncomingApprovalWithDetails<bigint>[]

userAddress

string

ignoreTrackerIds

boolean

doNotMerge?

boolean

Returns

CollectionApprovalWithDetails<bigint>[]

Edit this page on GitHub