Retrieves the current key gateway nonce for an account.
import { getNonce } from "thirdweb/extensions/farcaster"; const nonce = await getNonce({ client, address,});
function getNonce(options: GetNonceParams): Promise<bigint>;
Parameters to pass to the function.
let options: { address: Address; chain?: Chain; client: ThirdwebClient; disableCache?: boolean;};
let returnType: Promise<bigint>;
A promise that resolves to the current nonce.