Hook that watches for changes in the block number on a given chain.
import { useBlockNumber } from "thirdweb/react";const blockNumber = useBlockNumber({ client, chain });
function useBlockNumber( options: UseBlockNumberOptions,): undefined | bigint;
The options for the hook.
let options: UseBlockNumberOptions;
let returnType: undefined | bigint;
The latest block number.