Skip to content

SiweAuthenticateModalParams

SiweAuthenticateModalParams = { metadata?: ModalRpcMetadata; siwe?: Partial<SiweAuthenticationParams>; }

Defined in: actions/wrapper/siweAuthenticate.ts:38

Parameter used to directly show a modal used to authenticate with SIWE

optional metadata?: ModalRpcMetadata

Defined in: actions/wrapper/siweAuthenticate.ts:55

Custom metadata to be passed to the modal


optional siwe?: Partial<SiweAuthenticationParams>

Defined in: actions/wrapper/siweAuthenticate.ts:51

Partial SIWE params, since we can rebuild them from the SDK if they are empty

If no parameters provider, some fields will be recomputed from the current configuration and environment.

  • statement will be set to a default value
  • nonce will be generated
  • uri will be set to the current domain
  • version will be set to “1”
  • domain will be set to the current window domain
{}