SiweConfig

@justaname.id/sdkDocs


@justaname.id/sdk / SiweConfig

Interface: SiweConfig

Properties

chainId

chainId: ChainId

Represents the chainId of the blockchain to be used.

Defined in

packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:18


domain

domain: string

Represents the ENS domain

Defined in

packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:8


origin

origin: string

Represents the origin of the request (e.g. the domain of the website).

Defined in

packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:13


ttl?

optional ttl: number

Specifies the time-to-live (TTL) for a variable. default: 120000 ms, 2 minutes ( 2 * 60 * 1000 )

Default

120000

Optional

Defined in

packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:26

Last updated