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
IJsonRpcConnection
Class IJsonRpcConnection
Abstract
Hierarchy
IEvents
IJsonRpcConnection
Implemented by
HttpConnection
WsConnection
Index
Constructors
constructor
Properties
connected
connecting
events
Methods
close
off
on
once
open
remove
Listener
send
Constructors
constructor
new IJson
Rpc
Connection
(
opts
?:
any
)
:
IJsonRpcConnection
Parameters
Optional
opts:
any
Returns
IJsonRpcConnection
Properties
Abstract
connected
connected
:
boolean
Abstract
connecting
connecting
:
boolean
Abstract
events
events
:
EventEmitter
Methods
Abstract
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Abstract
off
off
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
Abstract
on
on
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
Abstract
once
once
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
Abstract
open
open
(
opts
?:
any
)
:
Promise
<
void
>
Parameters
Optional
opts:
any
Returns
Promise
<
void
>
Abstract
remove
Listener
remove
Listener
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
Abstract
send
send
(
payload
:
JsonRpcPayload
<
any
,
any
>
, context
?:
any
)
:
Promise
<
void
>
Parameters
payload:
JsonRpcPayload
<
any
,
any
>
Optional
context:
any
Returns
Promise
<
void
>
Modules
@injectivelabs/sdk-
ts
@injectivelabs/wallet-
ts
Utils
Wallets
internal
Event
Emitter
IJson
Rpc
Connection
constructor
connected
connecting
events
close
off
on
once
open
remove
Listener
send
Generated using
TypeDoc