Stringified Array<PureFIAddress>
Example:
const message = JSON.stringify([ { address: "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB", type: AddressType.WALLET, }, { address: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC" }, ]); Copy
const message = JSON.stringify([ { address: "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB", type: AddressType.WALLET, }, { address: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC" }, ]);
When you sign a message you usually get a promise that resolves to a signature
const signature = await signer.signMessage(message); Copy
const signature = await signer.signMessage(message);
More details at ethers or web3
Stringified Array<PureFIAddress>
Example: