SiwxSession
Defined in: siwx-server/src/types.ts:53
Serializable session derived from a verified CAIP-122 message (see toSession). Returned as JSON by the
verify and session endpoints of @tuwaio/siwx-server/next.
Properties
address
address:
string
Defined in: siwx-server/src/types.ts:55
The verified CAIP-10 blockchain address.
chainId
chainId:
string
Defined in: siwx-server/src/types.ts:57
The CAIP-2 chain ID the session is bound to.
domain
domain:
string
Defined in: siwx-server/src/types.ts:59
The domain that issued the session.
expirationTime?
optionalexpirationTime?:string
Defined in: siwx-server/src/types.ts:65
ISO 8601 timestamp when the session expires, if set.
issuedAt
issuedAt:
string
Defined in: siwx-server/src/types.ts:63
ISO 8601 timestamp when the session was issued.
nonce
nonce:
string
Defined in: siwx-server/src/types.ts:61
The nonce of the signed message. It must be single-use: consume it in a SiwxNonceStore.