ethSignTypedData

suspend fun ethSignTypedData(chainId: String, data: String): Any

Deprecated

Use Portal.request(...) by passing the PortalRequestMethod.eth_signTypedData_v4 as method parameter

Initiates an Ethereum typed data signature request.

Parameters

chainId

The ID of the blockchain chain.

data

The typed data to be signed.

Throws

If no address is found for the given chainId.