@gala-chain/chaincode ∙ API
API > fetchFeeThresholdUses
Function: fetchFeeThresholdUses()
fetchFeeThresholdUses(
ctx
,data
):Promise
\<FetchFeeThresholdUsesResDto
>
Query the chain world state for FeeThresholdUses
entries. These entries
represent the (current) usage for a single on-chain identity within a
channel-operator defined time period. The on-chain entries are used to track
individual usage, which can trigger increasing fees as users hit usage thresholds
defined in the channel's Fee Schedule.
Parameters
▪ ctx: GalaChainContext
▪ data: FetchFeeThresholdUsesParams