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
IJsonRpcProvider
Class IJsonRpcProvider
Abstract
Hierarchy
IBaseJsonRpcProvider
IJsonRpcProvider
JsonRpcProvider
Index
Constructors
constructor
Properties
connection
events
Methods
close
connect
disconnect
off
on
on
Payload
once
open
remove
Listener
request
request
Strict
set
Connection
Constructors
constructor
new IJson
Rpc
Provider
(
connection
:
string
|
IJsonRpcConnection
)
:
IJsonRpcProvider
Parameters
connection:
string
|
IJsonRpcConnection
Returns
IJsonRpcProvider
Properties
Abstract
connection
connection
:
IJsonRpcConnection
Abstract
events
events
:
EventEmitter
Methods
Protected
Abstract
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Abstract
connect
connect
(
connection
?:
string
|
IJsonRpcConnection
)
:
Promise
<
void
>
Parameters
Optional
connection:
string
|
IJsonRpcConnection
Returns
Promise
<
void
>
Abstract
disconnect
disconnect
(
)
:
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
Protected
Abstract
on
Payload
on
Payload
(
payload
:
JsonRpcPayload
<
any
,
any
>
)
:
void
Parameters
payload:
JsonRpcPayload
<
any
,
any
>
Returns
void
Abstract
once
once
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
Protected
Abstract
open
open
(
connection
?:
string
|
IJsonRpcConnection
)
:
Promise
<
void
>
Parameters
Optional
connection:
string
|
IJsonRpcConnection
Returns
Promise
<
void
>
Abstract
remove
Listener
remove
Listener
(
event
:
string
, listener
:
any
)
:
void
Parameters
event:
string
listener:
any
Returns
void
Abstract
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
Abstract
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
Abstract
set
Connection
set
Connection
(
connection
?:
string
|
IJsonRpcConnection
)
:
IJsonRpcConnection
Parameters
Optional
connection:
string
|
IJsonRpcConnection
Returns
IJsonRpcConnection
Modules
@injectivelabs/sdk-
ts
@injectivelabs/wallet-
ts
Utils
Wallets
internal
Event
Emitter
IJson
Rpc
Provider
constructor
connection
events
close
connect
disconnect
off
on
on
Payload
once
open
remove
Listener
request
request
Strict
set
Connection
Generated using
TypeDoc