T402 API Reference - v2.8.0
    Preparing search index...

    Function createSIWxTypedData

    • Creates EIP-712 typed data for SIWx signing.

      Parameters

      • serverInfo: SIWxExtensionInfo

        Extension info from server

      • address: string

        Wallet address signing the message

      Returns {
          domain: { name: string; version: string; chainId: number };
          types: { SIWx: { name: string; type: string }[] };
          primaryType: "SIWx";
          message: Record<string, unknown>;
      }

      EIP-712 typed data object