Skip to content

@gala-chain/chaincodeAPI


API > authorizeExemptionForUser

Function: authorizeExemptionForUser()

authorizeExemptionForUser(ctx, dto): Promise\<FeeExemption>

Parameters

ctx: GalaChainContext

dto: FeeExemptionDto

Returns

Description

Write a new (or overwrite an existing) FeeExemption entry.

FeeExemption entries are intended for use cases where the calling user should not be expected to cover fees, possibly when users have paid fees through some other means.

Typically these identities would represent game server identities, application services, or other channel-operator defined entities that need a special-case exemption.

Source

chaincode/src/fees/authorizeExemptionForUser.ts:38