Skip to content

Documentation / react-auth / EIP1193Provider

Interface: EIP1193Provider ​

Properties ​

on ​

on: (eventName, listener) => any

Parameters ​

• eventName: string

• listener: EIP1193OnEventHandler

Returns ​

any


removeListener ​

removeListener: (eventName, listener) => any

Parameters ​

• eventName: string | symbol

• listener: (...args) => void

Returns ​

any


request ​

request: (request) => Promise<any>

Parameters ​

• request: Object

• request.method: string

• request.params?: any[]

Returns ​

Promise<any>


rpcTimeoutDuration? ​

rpcTimeoutDuration?: number