Skip to Content

ServerVerifyResult

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

Result of verifySiwxPayload.

Extends

Properties

data?

optional data?: SiwxMessageFields

Defined in: siwx-core/src/types.ts:219 

The parsed message. Present only when success is true.

Inherited from

SiwxVerifyResult.data


error?

optional error?: string

Defined in: siwx-core/src/types.ts:223 

Human-readable reason of the failure. Present only when success is false.

Inherited from

SiwxVerifyResult.error


method?

optional method?: SiwxVerificationMethod

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

How the signature was verified. Present only when success is true; pass it to toSession.


namespace?

optional namespace?: "solana" | "eip155"

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

The CAIP-2 namespace whose verifier checked the signature: eip155 or solana. Absent when verification failed before the signature check.


success

success: boolean

Defined in: siwx-core/src/types.ts:215 

true when the message is valid and the signature matches its address.

Inherited from

SiwxVerifyResult.success

Last updated on