Skip to Content

SiwxClientSession

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

Client-side view of a verified SIWX session. The JSON returned by the verify and session endpoints of @tuwaio/siwx-server/next has these fields. It is display state only, never proof of identity.

Properties

address

address: string

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

The verified CAIP-10 blockchain address.


chainId

chainId: string

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

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


domain

domain: string

Defined in: siwx-react/src/sessionStore.ts:26 

The domain the session was issued for.


expirationTime?

optional expirationTime?: string

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

ISO 8601 datetime when the session expires, if set.


issuedAt

issuedAt: string

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

ISO 8601 datetime when the session was issued.

Last updated on