Function: buildPurchaseSpendableCreditsMsg()
any
buildPurchaseSpendableCreditsMsg(
collection,wallet,packs,approvalId?):object
Defined in: packages/bitbadgesjs-sdk/src/core/spendable-credits.ts:155
Parameters
collection
any
wallet
string
packs
string
approvalId?
string
Returns
object
typeUrl
typeUrl:
string='/tokenization.MsgTransferTokens'
value
value:
object
value.collectionId
collectionId:
string
value.creator
creator:
string
value.transfers
transfers:
object[]