Last updated
Was this helpful?
Last updated
Was this helpful?
Returns the chain ID of the chain.
Parameters
None
Return Value
Example
Returns the current client version of a Klaytn node.
Parameters
None
Return Value
Example
Returns the current price per gas in peb.
NOTE: This API has different behavior from Ethereum's and returns a gas price of Klaytn instead of suggesting a gas price as in Ethereum.
Parameters
None
Return Value
Example
Returns the unit price of the given block in peb.
NOTE: This API has different behavior from Ethereum's and returns a gas price of Klaytn instead of suggesting a gas price as in Ethereum.
Parameters
Return Value
Example
Returns true
if the node is writing blockchain data in parallel manner. It is enabled by default.
Parameters
None
Return Value
Example
Returns true
if the node is indexing sender transaction hash to transaction hash mapping information. It is disabled by default and can be enabled by --sendertxhashindexing
.
Parameters
None
Return Value
Example
Returns the Klaytn protocol version of the node.
Parameters
None
Return Value
Example
Returns the rewardbase of the current node. Rewardbase is the address of the account where the block rewards goes to. It is only required for CNs.
Parameters
None
Return Value
Example
Type
Description
QUANTITY
Integer of the chain ID of the chain.
Type
Description
String
The current client version of a Klaytn node.
Type
Description
QUANTITY
Integer of the current gas price in peb.
Type
Description
NUMBER
Block number. If omitted, latest unit price will be returned.
Type
Description
QUANTITY
Integer of the current gas price in peb.
Type
Description
Boolean
true
means the node is writing blockchain data in parallel manner. It is false
if the node is writing the data in serial manner.
Type
Description
Boolean
true
means the node is indexing sender transaction hash to transaction hash mapping information.
Type
Description
String
The Klaytn protocol version of the node.
Type
Description
20-byte DATA
Address.