IntrospectionuseQuery

useAirdropDeploymentBlockNumber

Read the block number at which this airdrop clone was deployed.

Import
@tokenops/sdk/fhe-airdrop/react
Return
{ data, isLoading, error, refetch }
Lifecycle
Introspection

Signature

@tokenops/sdk/fhe-airdrop/react
ts
function useAirdropDeploymentBlockNumber(options: AirdropHookOptions): UseQueryResult<bigint, Error>;
Want to run a similar shape interactively? The Playground ships 8 ready presets across vesting / airdrop / disperse — deploy a manager, create a vesting, claim, and the airdrop / disperse equivalents. The deep-link above auto-selects the closest preset to useAirdropDeploymentBlockNumber; pick another from the dropdown if you'd rather start there.

Example

components/useAirdropDeploymentBlockNumberExample.tsx
tsx
"use client";
import { useAirdropDeploymentBlockNumber } from "@tokenops/sdk/fhe-airdrop/react";

export function Example() {
  const { data, isLoading } = useAirdropDeploymentBlockNumber(/* 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 Introspection hooks in airdrop: