Skip to content

@gala-chain/chaincodeAPI


API > incrementCumulativeUsesAndCalculateFee

Function: incrementCumulativeUsesAndCalculateFee()

incrementCumulativeUsesAndCalculateFee(feeCodeDefinitions, userFeeThresholdUses): cumulativeUsesAndFeeAmount

Parameters

feeCodeDefinitions: FeeCodeDefinition[]

userFeeThresholdUses: FeeThresholdUses

Source

chaincode/src/fees/galaFeeGate.ts:143