ReaduseQuery
useAirdropToken
Read the airdrop clone's immutable TOKEN.
Import
@tokenops/sdk/fhe-airdrop/reactReturn
{ data, isLoading, error, refetch }Lifecycle
ReadDescription
Read the airdrop clone's immutable TOKEN. Result is cacheable for the
clone's lifetime — the field is baked into the clone's bytecode.
Signature
@tokenops/sdk/fhe-airdrop/react
ts
function useAirdropToken(options: AirdropHookOptions): UseQueryResult<Address, Error>;Example
@tokenops/sdk/fhe-airdrop/react · @example
tsx
const { data: token } = useAirdropToken({ address: airdropAddress });Pulled directly from the hook's TSDoc block — the same snippet your IDE shows on hover.
See also
Other Read hooks in airdrop:
useFactoryDefaultGasFeeRead the factory-wide default per-claim gas fee (in wei) — applied to new airdrop clones at deployment when the creator has no custom override.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.useAirdropGasFeeRead the airdrop clone's immutable per-claim gas fee (in wei).