Skip to content

Appends the default approval (self-initiated is approved) to the front of the list. This will have "self-initiated-outgoing" for IDs.

appendSelfInitiatedOutgoingApproval(currApprovals, userAddress): UserOutgoingApprovalWithDetails<bigint>[]

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

Appends the default approval (self-initiated is approved) to the front of the list. This will have "self-initiated-outgoing" for IDs.

Parameters

currApprovals

UserOutgoingApprovalWithDetails<bigint>[]

userAddress

string

Returns

UserOutgoingApprovalWithDetails<bigint>[]

Edit this page on GitHub