Skip to content

Siwe.generateNonce

Generates random EIP-4361 nonce.

Imports

Named
import { Siwe } from 'ox'

Examples

import { Siwe } from 'ox'
 
Siwe.generateNonce()
'65ed4681d4efe0270b923ff5f4b097b1c95974dc33aeebecd5724c42fd86dfd25dc70b27ef836b2aa22e68f19ebcccc1'

Definition

function generateNonce(): string

Source: src/Siwe.ts

Return Type

Random nonce.

string