Skip to Content

ServerVerifyOptions

Defined in: siwx-server/src/types.ts:11 

Options of verifySiwxPayload.

Properties

policy?

optional policy?: SiwxVerificationPolicy

Defined in: siwx-server/src/types.ts:29 

Verification policy enforced on the message fields (domain, URI, chains, timing). See SiwxVerificationPolicy.


publicClient?

optional publicClient?: PublicClient

Defined in: siwx-server/src/types.ts:35 

viem PublicClient for the chain of the message. Enables the EIP-1271 (smart contract wallet) fallback for eip155 messages; ignored for Solana.


skipExpiration?

optional skipExpiration?: boolean

Defined in: siwx-server/src/types.ts:23 

Skips the check that the message expirationTime has not passed. Not recommended in production.

Default

false

usedNonces?

optional usedNonces?: Set<string>

Defined in: siwx-server/src/types.ts:17 

Nonces that must be rejected. Verification fails when the message nonce is in the set. The set is only read: record used nonces yourself, or use a SiwxNonceStore (as createSiwxApiHandler does) for multi-instance deployments.

Last updated on