@ethereumjs/client / EthereumClient
Defined in: client.ts:67
Represents the top-level ethereum node, and is responsible for managing the lifecycle of included services.
module:node
chain:
Chain
Defined in: client.ts:69
config:
Config
Defined in: client.ts:68
opened:
boolean
Defined in: client.ts:72
service:
FullEthereumService
Defined in: client.ts:70
started:
boolean
Defined in: client.ts:73
open():
Promise
<undefined
|false
>
Defined in: client.ts:106
Open node. Must be called before node is started
Promise
<undefined
| false
>
server():
undefined
|RlpxServer
Defined in: client.ts:165
undefined
| RlpxServer
the RLPx server (if it exists)
start():
Promise
<undefined
|false
>
Defined in: client.ts:134
Starts node and all services and network servers.
Promise
<undefined
| false
>
stop():
Promise
<undefined
|false
>
Defined in: client.ts:151
Stops node and all services and network servers.
Promise
<undefined
| false
>
static
create(options
):Promise
<EthereumClient
>
Defined in: client.ts:81
Main entrypoint for client initialization.
Safe creation of a Chain object awaiting the initialization of the underlying Blockchain object.
EthereumClientOptions
Promise
<EthereumClient
>