Skip to content

Build the 2-msg tx wrapper the verifier signs to ACCEPT a bounty: MsgCastVote(yesweight=100) on the accept approval's proposal, then MsgTransferTokens that…

buildBountyAcceptTx(creator, collectionId, acceptApproval): BountyTxWrapper

Defined in: packages/bitbadgesjs-sdk/src/core/bounties.ts:289

Build the 2-msg tx wrapper the verifier signs to ACCEPT a bounty: MsgCastVote(yes_weight=100) on the accept approval's proposal, then MsgTransferTokens that fires the accept approval (payout to recipient).

Parameters

creator

string

collectionId

string

acceptApproval

iCollectionApproval<bigint>

Returns

BountyTxWrapper

Edit this page on GitHub