Skip to Content

ServerVerifyResult

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

Result of verifySiwxPayload.

Extends

Properties

data?

optional data?: SiwxMessageFields

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

The parsed message. Present only when success is true.

Inherited from

SiwxVerifyResult.data


error?

optional error?: string

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

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

Inherited from

SiwxVerifyResult.error


namespace?

optional namespace?: "solana" | "eip155"

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

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:214 

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

Inherited from

SiwxVerifyResult.success

Last updated on