@gala-chain/chaincode ∙ API
API > checkAllowances
Function: checkAllowances()
checkAllowances(
ctx
,applicableAllowances
,tokenInstanceKey
,action
,callingOnBehalf
):Promise
\<BigNumber
>
Parameters
▪ ctx: GalaChainContext
▪ applicableAllowances: TokenAllowance
[]
▪ tokenInstanceKey: TokenInstanceKey
▪ action: AllowanceType
▪ callingOnBehalf: string