Providers
Eip1193Provider
The interface to an EIP-1193 provider, which is a standard used by most injected providers, which the BrowserProvider accepts and exposes the API of.
Methods
request()
See EIP-1193 for details on this method.
Parameters
Parameter | Type | Description |
---|---|---|
request | object | The request object. |
request.method | string | The method name. |
request.params ? | any [] | Record <string , any > | The parameters for the method. |
request.shard ? | Shard | The shard to send the request to. |
Returns
Promise
<any
>
The result of the request.
Source
Was this page helpful?