getNonce

Retrieves the current key gateway nonce for an account.

Example

import { getNonce } from "thirdweb/extensions/farcaster";
const nonce = await getNonce({
client,
address,
});

Parameters

Returns

A promise that resolves to the current nonce.