ServerVerifyOptions
Defined in: siwx-server/src/types.ts:11
Options of verifySiwxPayload.
Properties
policy?
optionalpolicy?:SiwxVerificationPolicy
Defined in: siwx-server/src/types.ts:29
Verification policy enforced on the message fields (domain, URI, chains, timing). See SiwxVerificationPolicy.
publicClient?
optionalpublicClient?: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?
optionalskipExpiration?:boolean
Defined in: siwx-server/src/types.ts:23
Skips the check that the message expirationTime has not passed. Not recommended in production.
Default
falseusedNonces?
optionalusedNonces?: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.