Skip to Content
API referenceSIWX ReactSrcInterfacesSiwxClientSession

API Reference — @tuwaio/siwx (CAIP-122 Authentication Layer)


SiwxClientSession

Defined in: packages/siwx-react/src/sessionStore.ts:14 

The shape of a client-side SIWX session.

Properties

address

address: string

Defined in: packages/siwx-react/src/sessionStore.ts:16 

The verified CAIP-10 blockchain address.


chainId

chainId: string

Defined in: packages/siwx-react/src/sessionStore.ts:18 

The CAIP-2 chain ID the session is bound to.


domain

domain: string

Defined in: packages/siwx-react/src/sessionStore.ts:24 

The domain the session was issued for.


expirationTime?

optional expirationTime?: string

Defined in: packages/siwx-react/src/sessionStore.ts:22 

ISO 8601 datetime when the session expires, if set.


issuedAt

issuedAt: string

Defined in: packages/siwx-react/src/sessionStore.ts:20 

ISO 8601 datetime when the session was issued.

Last updated on