Node

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:
Name Type Description
filter LogFilter
Returns:
- List of matched logs.
Type
Promise.<Array.<Log>>

(async) getStat() → {Promise.<NodeStat>}

Source:
Returns:
Type
Promise.<NodeStat>