API Reference — @tuwaio/siwx (CAIP-122 Authentication Layer)
ServerVerifyResult
Defined in: packages/siwx-server/src/types.ts:36
The result of a server-side verification operation, extending the base result with the verification method used.
Extends
SiwxVerifyResult
Properties
data?
optionaldata?:SiwxMessageFields
Defined in: packages/siwx-core/dist/index.d.ts:116
The parsed message fields if verification succeeded.
Present only when success is true.
Inherited from
SiwxVerifyResult.data
error?
optionalerror?:string
Defined in: packages/siwx-core/dist/index.d.ts:121
A human-readable error if verification failed.
Present only when success is false.
Inherited from
SiwxVerifyResult.error
namespace?
optionalnamespace?:"eip155"|"solana"
Defined in: packages/siwx-server/src/types.ts:41
The CAIP-2 namespace used for verification routing.
eip155 for EVM chains, solana for Solana.
success
success:
boolean
Defined in: packages/siwx-core/dist/index.d.ts:111
Whether the signature is valid and the message is authentic.
Inherited from
SiwxVerifyResult.success