ethSign

suspend fun ethSign(chainId: String, message: String): Any

Deprecated

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

Initiates an Ethereum signature request.

Parameters

chainId

The ID of the blockchain chain.

message

The message to be signed.

Throws

If no address is found for the given chainId.