SignTypedDataV4

Low level API used in EIP712. Sign any typed data message with the connected wallet. (eth_signTypedData_v4)

Usage

var signature = await wallet.SignTypedDataV4(mintRequest, typedData);

Configuration

data

The data object to sign. Must be typed and marked correctly. See EIP712.cs for examples.

typedData

The typed data object that defines the domain and message schema. Must be typed and marked correctly. See EIP712.cs for examples.

Return Value

Returns a string with the signature.