ReaduseQuery
useFactoryDefaultGasFee
Read the factory-wide default per-claim gas fee (in wei) — applied to new airdrop clones at deployment when the creator has no custom override.
Import
@tokenops/sdk/fhe-airdrop/reactReturn
{ data, isLoading, error, refetch }Lifecycle
ReadDescription
Read the factory-wide default per-claim gas fee (in wei) — applied to new airdrop clones at deployment when the creator has no custom override.
Signature
@tokenops/sdk/fhe-airdrop/react
ts
function useFactoryDefaultGasFee(options?: BaseHookOptions): UseQueryResult<bigint, Error>;Example
@tokenops/sdk/fhe-airdrop/react · @example
tsx
const { data: defaultGasFee } = useFactoryDefaultGasFee();Pulled directly from the hook's TSDoc block — the same snippet your IDE shows on hover.
See also
Other Read hooks in airdrop:
useFactoryFeeCollectorRead the factory's current fee collector address — the account authorized to call withdrawGasFee on each deployed airdrop clone.useFactoryCustomFeeRead the per-creator fee override set on the factory for creator.useAirdropTokenRead the airdrop clone's immutable TOKEN.useAirdropGasFeeRead the airdrop clone's immutable per-claim gas fee (in wei).