Skip to main content
type SignInWithSiweOptions = {
  address: EvmAddress;
  chainId: number;
  domain: string;
  uri: string;
  statement?: string;
  resources?: string[];
  idempotencyKey?: string;
};
Request parameters for signInWithSiwe.

Properties

PropertyTypeDescription
addressEvmAddressThe ERC-55 checksummed Ethereum address of the end user.
chainIdnumberThe EIP-155 chain ID of the network the user is authenticating on.
domainstringThe RFC 3986 authority of the application requesting the signature (e.g., the hostname).
uristringThe RFC 3986 URI of the resource that is the subject of the signing.
statement?stringAn optional human-readable ASCII assertion that the user will see when signing.
resources?string[]An optional list of URIs for information or references the user wishes to have resolved as part of authentication.
idempotencyKey?stringOptional idempotency key for safe retries.