request

suspend fun request(chainId: String, method: PortalRequestMethod, params: List<Any>): PortalProviderResult

Sends a request to the provider.

Return

The result of the request.

Parameters

chainId

The ID of the blockchain chain.

method

The request method.

params

The request parameters.