Docs

WatchBlockNumberOptions

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