Skip to Content

StatelessDemoTokenPayload

Defined in: siwx-server/src/types.ts:151 

JSON payload of a stateless demo session token (see signStatelessDemoSession). The token is signed, not encrypted: anyone holding it can read these fields.

Properties

address

address: string

Defined in: siwx-server/src/types.ts:155 

CAIP-10 account ID of the session.


chainId

chainId: string

Defined in: siwx-server/src/types.ts:157 

CAIP-2 chain ID of the session.


domain

domain: string

Defined in: siwx-server/src/types.ts:159 

Domain of the signed message.


expirationTime?

optional expirationTime?: string

Defined in: siwx-server/src/types.ts:165 

Expiry of the token: the message expirationTime, or the issuing time plus the token TTL.


issuedAt

issuedAt: string

Defined in: siwx-server/src/types.ts:163 

issuedAt of the signed message.


mode

mode: "demo"

Defined in: siwx-server/src/types.ts:169 

Token mode.


nonce

nonce: string

Defined in: siwx-server/src/types.ts:161 

Nonce of the signed message.


sessionId

sessionId: string

Defined in: siwx-server/src/types.ts:167 

Random ID of the token.


version

version: 1

Defined in: siwx-server/src/types.ts:153 

Token format version.

Last updated on