Module: ConfigApi

Bytom Core can be configured as a new blockchain network, or as a node in an existing blockchain network.

More info: {} API for interacting with configs.

Methods


<inner> gasRate()

get gas rate

Returns:

Promise resolved with gas rate on success.

Type
Promise

<inner> netInfo()

Get info on specified Bytom Core.

Returns:

Requested Net Info of specified Bytom Core.

Type
Promise.<CoreInfo>

<inner> verifyMessage(params)

Parameters:
Name Type Description
params
Properties
Name Type Description
address String

address for account.

derived_xpub String

derived xpub.

message String

message for signature by derived_xpub.

signature String

signature for message.

Returns:

[Boolean] result, verify result.

Type
Promise.<Object>