Search
Preparing search index...
The search index is not available
API Reference | Injective - Powering the future of decentralized finance.
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
API Reference | Injective - Powering the future of decentralized finance.
@injectivelabs/wallet-ts
Eip1993ProviderWithMetamask
Interface Eip1993ProviderWithMetamask
Hierarchy
EthereumProvider
Eip1993ProviderWithMetamask
Index
Properties
connection
events
is
Meta
Mask
Methods
close
connect
disconnect
enable
off
on
on
Payload
once
open
remove
All
Listeners
remove
Listener
request
request
Strict
set
Connection
Properties
connection
connection
:
IJsonRpcConnection
events
events
:
EventEmitter
is
Meta
Mask
is
Meta
Mask
:
boolean
Methods
Protected
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
connect
connect
(
connection
?:
string
|
IJsonRpcConnection
)
:
Promise
<
void
>
Parameters
Optional
connection:
string
|
IJsonRpcConnection
Returns
Promise
<
void
>
disconnect
disconnect
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
enable
enable
(
)
:
Promise
<
ProviderAccounts
>
Returns
Promise
<
ProviderAccounts
>
off
off
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
on
on
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
Protected
on
Payload
on
Payload
(
payload
:
JsonRpcPayload
<
any
,
any
>
)
:
void
Parameters
payload:
JsonRpcPayload
<
any
,
any
>
Returns
void
once
once
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
Protected
open
open
(
connection
?:
string
|
IJsonRpcConnection
)
:
Promise
<
void
>
Parameters
Optional
connection:
string
|
IJsonRpcConnection
Returns
Promise
<
void
>
remove
All
Listeners
remove
All
Listeners
(
)
:
void
Returns
void
remove
Listener
remove
Listener
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
request
request
<
Result
,
Params
>
(
request
:
RequestArguments
<
Params
>
, context
?:
any
)
:
Promise
<
Result
>
Type Parameters
Result =
any
Params =
any
Parameters
request:
RequestArguments
<
Params
>
Optional
context:
any
Returns
Promise
<
Result
>
Protected
request
Strict
request
Strict
<
Result
,
Params
>
(
request
:
JsonRpcRequest
<
Params
>
, context
?:
any
)
:
Promise
<
Result
>
Type Parameters
Result =
any
Params =
any
Parameters
request:
JsonRpcRequest
<
Params
>
Optional
context:
any
Returns
Promise
<
Result
>
Protected
set
Connection
set
Connection
(
connection
?:
string
|
IJsonRpcConnection
)
:
IJsonRpcConnection
|
HttpConnection
|
WsConnection
Parameters
Optional
connection:
string
|
IJsonRpcConnection
Returns
IJsonRpcConnection
|
HttpConnection
|
WsConnection
Modules
@injectivelabs/sdk-
ts
@injectivelabs/wallet-
ts
Utils
Wallets
internal
Eip1993
Provider
With
Metamask
connection
events
is
Meta
Mask
close
connect
disconnect
enable
off
on
on
Payload
once
open
remove
All
Listeners
remove
Listener
request
request
Strict
set
Connection
Generated using
TypeDoc