Type Alias PureFIEthereumPayload

PureFIEthereumPayload: { message: string; signature: string }

Type declaration

  • message: string

    Stringified Array<PureFIAddress>

    Example:

      const message = JSON.stringify([
    {
    address: "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB",
    type: AddressType.WALLET,
    },
    {
    address: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
    },
    ]);
  • signature: string

    When you sign a message you usually get a promise that resolves to a signature

      const signature = await signer.signMessage(message);
    

    More details at ethers or web3