Docs

WatchBlockNumberOptions

type WatchBlockNumberOptions = {
chain: Chain;
client: ThirdwebClient;
latestBlockNumber?: bigint;
onNewBlockNumber: (blockNumber: bigint) => void;
overPollRatio?: number;
};