API Reference — @tuwaio/siwx (CAIP-122 Authentication Layer)
SiwxAdapter
Defined in: packages/siwx-core/src/types.ts:146
A chain-specific adapter interface that all siwx chain packages must implement.
Properties
namespace
namespace:
SiwxChainNamespace
Defined in: packages/siwx-core/src/types.ts:150
The CAIP-2 namespace this adapter handles.
Methods
verify()
verify(
payload):Promise<SiwxVerifyResult>
Defined in: packages/siwx-core/src/types.ts:157
Verifies a CAIP-122 payload signature.
Parameters
payload
The message and signature to verify.
Returns
Promise<SiwxVerifyResult>
A promise resolving to the verification result.
Last updated on