Skip to content

@gala-chain/chaincodeAPI


API > useAllowances

Function: useAllowances()

useAllowances(ctx, quantity, applicableAllowances, allowanceType): Promise\<boolean>

Parameters

ctx: GalaChainContext

quantity: BigNumber

applicableAllowances: TokenAllowance[]

allowanceType: AllowanceType

Source

chaincode/src/allowances/useAllowances.ts:24