Skip to content

@gala-chain/connectAPI


API > ExtendedEip1193Provider

Interface: ExtendedEip1193Provider

Contents

Extends

  • Eip1193Provider

Properties

isTrust

isTrust?: boolean

Source

chain-connect/src/helpers.ts:37


providers

providers?: any[]

Source

chain-connect/src/helpers.ts:36

Methods

on()

on(event, handler): void

Parameters

event: "accountsChanged"

handler: Listener\<string[]>

Source

chain-connect/src/helpers.ts:34


removeListener()

removeListener(event, handler): void

Parameters

event: "accountsChanged"

handler: Listener\<string[]>

Source

chain-connect/src/helpers.ts:35


request()

request(request): Promise\<any>

See [[link-eip-1193]] for details on this method.

Parameters

request: object

request.method: string

request.params?: any[] | Record\<string, any>

Inherited from

Eip1193Provider.request

Source

node_modules/ethers/lib.commonjs/providers/provider-browser.d.ts:13