API Reference — @tuwaio/siwx (CAIP-122 Authentication Layer)
EvmVerifyResult
Defined in: packages/siwx-evm/src/types.ts:38
Result of an EIP-1271 contract signature check, indicating which verification path was 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
method?
optionalmethod?:"eip191"|"eip1271"
Defined in: packages/siwx-evm/src/types.ts:44
The method used for verification.
eip191: Standard EOA signature recovery.eip1271: Smart contract wallet verification viaisValidSignature.
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