Node
new Node(config)
- Source:
Parameters:
Name |
Type |
Description |
config |
NodeConfig
|
|
Methods
(async) call(params)
- Source:
Parameters:
Name |
Type |
Description |
params |
Promise.<(Array|object)>
|
|
(async) getBlockNumber() → {Promise.<number>}
- Source:
Returns:
-
Type
-
Promise.<number>
(async) getLogs(filter) → {Promise.<Array.<Log>>}
- Source:
Parameters:
Returns:
- List of matched logs.
-
Type
-
Promise.<Array.<Log>>
(async) getStat() → {Promise.<NodeStat>}
- Source:
Returns:
-
Type
-
Promise.<NodeStat>