Search
Preparing search index...
The search index is not available
@iov/ethereum Documentation
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
HttpEthereumRpcClient
Class HttpEthereumRpcClient
Hierarchy
HttpEthereumRpcClient
Implements
EthereumRpcClient
Index
Constructors
constructor
Properties
events
Methods
disconnect
run
socket
Send
Constructors
constructor
new
Http
Ethereum
Rpc
Client
(
baseUrl
:
string
)
:
HttpEthereumRpcClient
Parameters
baseUrl:
string
Returns
HttpEthereumRpcClient
Properties
events
events
:
Stream
<
any
>
= xstream.throw(new Error("Events are not available when connecting via HTTP, use Websockets instead."),)
Methods
disconnect
disconnect
(
)
:
void
Returns
void
run
run
(
request
:
JsonRpcRequest
)
:
Promise
<
JsonRpcResponse
>
Parameters
request:
JsonRpcRequest
Returns
Promise
<
JsonRpcResponse
>
socket
Send
socket
Send
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Globals
Http
Ethereum
Rpc
Client
constructor
events
disconnect
run
socket
Send
Generated using
TypeDoc