ReaduseQuery
useAirdropHasClaimStarted
Read whether the current chain timestamp is past START_TIME on this airdrop clone.
Import
@tokenops/sdk/fhe-airdrop/reactReturn
{ data, isLoading, error, refetch }Lifecycle
ReadDescription
Read whether the current chain timestamp is past START_TIME on this
airdrop clone. Free chain read — no gas, no tx.
Signature
@tokenops/sdk/fhe-airdrop/react
ts
function useAirdropHasClaimStarted(options: AirdropHookOptions): UseQueryResult<boolean, Error>;Example
components/useAirdropHasClaimStartedExample.tsx
tsx
"use client";
import { useAirdropHasClaimStarted } from "@tokenops/sdk/fhe-airdrop/react";
export function Example() {
const { data, isLoading } = useAirdropHasClaimStarted(/* args */);
if (isLoading) return "loading…";
return <pre>{JSON.stringify(data, null, 2)}</pre>;
}Auto-generated from the hook's shape (the SDK doesn't carry a TSDoc @example here yet).
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.useAirdropTokenRead the airdrop clone's immutable TOKEN.