Skip to content

@gala-chain/chaincodeAPI


API > checkAllowances

Function: checkAllowances()

checkAllowances(ctx, applicableAllowances, tokenInstanceKey, action, callingOnBehalf): Promise\<BigNumber>

Parameters

ctx: GalaChainContext

applicableAllowances: TokenAllowance[]

tokenInstanceKey: TokenInstanceKey

action: AllowanceType

callingOnBehalf: string

Source

chaincode/src/allowances/checkAllowances.ts:95