Function: quoteSpendableCreditPurchase()
any
quoteSpendableCreditPurchase(
collection,packs,approvalId?):object
Defined in: packages/bitbadgesjs-sdk/src/core/spendable-credits.ts:134
Parameters
collection
any
packs
string
approvalId?
string
Returns
object
approvalId
approvalId:
string=option.approvalId
creditsAmount
creditsAmount:
string
maxPacks
maxPacks:
string=option.maxPacks
packs
packs:
string
paymentAmount
paymentAmount:
string
unlimited
unlimited:
boolean=option.unlimited