Vana SDK - v3.13.3
    Preparing search index...

    Function getFee

    • Reads one fee kind from the FeeRegistry. Calls the contract's operationKey(name) first to derive the bytes32 key — matches the gateway's approach exactly (could compute locally via keccak256, but going through the contract eliminates any chance of encoding drift).

      Returns {enabled: false} entries WITHOUT throwing — disabled is a valid steady state on the gateway. The only validation is the zero-payee check, and that only fires when the fee is enabled (a disabled fee never lands as a SettleOp to).

      Parameters

      • client: {}
      • config: DataPortabilityGatewayConfig
      • kind: FeeKind
      • Optionalopts: FeeRegistryOptions

      Returns Promise<FeeEntry>