Function: buildWithdrawCrowdfundTx()
Build the crowdfunder-side withdraw tx (only callable when goal met). Fires the success approval to drain escrow + burns the crowdfunder's accumulated progress…
buildWithdrawCrowdfundTx(
creator,collectionId,details,raised,burnApprovalId?):object
Defined in: packages/bitbadgesjs-sdk/src/core/crowdfunds.ts:307
Build the crowdfunder-side withdraw tx (only callable when goal met). Fires the success approval to drain escrow + burns the crowdfunder's accumulated progress tokens. 2-msg.
Parameters
creator
string
collectionId
string
details
raised
bigint
burnApprovalId?
string
Returns
object
messages
messages:
MsgEnvelope[]