Function: buildPredictionMarketDepositMsg()
Deposit msg: mint paired YES+NO tokens 1:1 against the depositDenom. Single MsgTransferTokens, two transfers.
buildPredictionMarketDepositMsg(
creator,collectionId,amount,mintApprovalId):MsgEnvelope
Defined in: packages/bitbadgesjs-sdk/src/core/prediction-markets.ts:1015
Deposit msg: mint paired YES+NO tokens 1:1 against the depositDenom. Single MsgTransferTokens, two transfers.
Parameters
creator
string
collectionId
string
amount
bigint
mintApprovalId
string
Returns
MsgEnvelope