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
internal
EIP1193Provider
Interface EIP1193Provider
Hierarchy
SimpleEventEmitter
EIP1193Provider
IEthereumProvider
Index
Methods
off
on
once
remove
Listener
request
Methods
off
off
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
on
on
(
event
:
"connect"
, listener
:
(
(
info
:
ProviderInfo
)
=>
void
)
)
:
void
on
(
event
:
"disconnect"
, listener
:
(
(
error
:
ProviderRpcError
)
=>
void
)
)
:
void
on
(
event
:
"message"
, listener
:
(
(
message
:
ProviderMessage
)
=>
void
)
)
:
void
on
(
event
:
"chainChanged"
, listener
:
(
(
chainId
:
string
)
=>
void
)
)
:
void
on
(
event
:
"accountsChanged"
, listener
:
(
(
accounts
:
ProviderAccounts
)
=>
void
)
)
:
void
Parameters
event:
"connect"
listener:
(
(
info
:
ProviderInfo
)
=>
void
)
(
info
:
ProviderInfo
)
:
void
Parameters
info:
ProviderInfo
Returns
void
Returns
void
Parameters
event:
"disconnect"
listener:
(
(
error
:
ProviderRpcError
)
=>
void
)
(
error
:
ProviderRpcError
)
:
void
Parameters
error:
ProviderRpcError
Returns
void
Returns
void
Parameters
event:
"message"
listener:
(
(
message
:
ProviderMessage
)
=>
void
)
(
message
:
ProviderMessage
)
:
void
Parameters
message:
ProviderMessage
Returns
void
Returns
void
Parameters
event:
"chainChanged"
listener:
(
(
chainId
:
string
)
=>
void
)
(
chainId
:
string
)
:
void
Parameters
chainId:
string
Returns
void
Returns
void
Parameters
event:
"accountsChanged"
listener:
(
(
accounts
:
ProviderAccounts
)
=>
void
)
(
accounts
:
ProviderAccounts
)
:
void
Parameters
accounts:
ProviderAccounts
Returns
void
Returns
void
once
once
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
remove
Listener
remove
Listener
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
request
request
(
args
:
RequestArguments
)
:
Promise
<
unknown
>
Parameters
args:
RequestArguments
Returns
Promise
<
unknown
>
Modules
@injectivelabs/sdk-
ts
@injectivelabs/wallet-
ts
Utils
Wallets
internal
Event
Emitter
EIP1193
Provider
off
on
once
remove
Listener
request
Generated using
TypeDoc