Provider API Methods

Provider Methods

request

The EVM provider exposes a general request function that has support for most wallet related RPC calls that you could need. The particular RPC call is passed under the method param

Params

Property

Type

Description

args

RequestArguments

The request arguments to specify the underlying RPC call

Where RequestArguments is defined as

export interface RequestArguments {
  method: string
  params?: unknown[] | Record<string, unknown>
}

Response

PropertyTypeDescription

Promise<unknown>

unknown

unknown

isConnected

boolean to see if the ME wallet account is currently connected

Params

None

Response

PropertyTypeDescription

boolean

boolean

flag indicating whether the user is connected or not

Last updated