@gala-chain/chaincode ∙ API
API > verifyAndUseAllowances
Function: verifyAndUseAllowances()
verifyAndUseAllowances(
ctx
,grantedBy
,tokenInstanceKey
,quantity
,tokenInstance
,authorizedOnBehalf
,actionType
,useAllowancesArr
):Promise
\<boolean
>
Parameters
▪ ctx: GalaChainContext
▪ grantedBy: string
▪ tokenInstanceKey: TokenInstanceKey
▪ quantity: BigNumber
▪ tokenInstance: TokenInstance
▪ authorizedOnBehalf: string
▪ actionType: AllowanceType
▪ useAllowancesArr: string
[]