@gala-chain/chaincode ∙ API
API > writeUsageAndCalculateFeeAmount
Function: writeUsageAndCalculateFeeAmount()
writeUsageAndCalculateFeeAmount(
ctx
,data
):Promise
\<FeeAmountAndUses
>
Parameters
▪ ctx: GalaChainContext
▪ data: GalaFeeGateParams