Configuration
klay_chainID
체인 ID를 반환합니다.
Parameters
None
Return Value
Type | Description |
---|---|
QUANTITY | 체인 ID를 정수 형태로 반환합니다. |
Example
klay_clientVersion
Klaytn 노드의 현재 클라이언트 버전을 반환합니다.
Parameters
None
Return Value
Type | Description |
---|---|
String | Klaytn 노드의 현재 클라이언트 버전을 반환합니다. |
Example
klay_gasPrice
Returns a suggestion for a gas price in peb.
Parameters
None
Return Value
Type | Description |
---|---|
QUANTITY | Integer of the current gas price in peb. |
Example
klay_gasPriceAt
Returns different values based on the condition described below. The unit of the return value is peb.
If
baseFee
is undefined in the header, it returns the unit price from the governance parameterIf the block is a pending block, it returns the gas price of the txpool.
Otherwise, it returns the base fee of the given block.
Parameters
Type | Description |
---|---|
NUMBER | 블록 번호입니다. 이를 생략하면 최신 단가가 반환됩니다. |
Return Value
Type | Description |
---|---|
QUANTITY | Integer of the current gas price in peb. |
Example
klay_isParallelDBWrite
Returns true
if the node is writing blockchain data in parallel manner. It is enabled by default.
Parameters
None
Return Value
Type | Description |
---|---|
Boolean |
|
Example
klay_isSenderTxHashIndexingEnabled
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
Type | Description |
---|---|
Boolean |
|
Example
klay_protocolVersion
노드의 Klaytn 프로토콜 버전을 반환합니다. The current version (as of v1.9.0) of Cypress/Baobab is istanbul/65
.
Parameters
None
Return Value
Type | Description |
---|---|
String | 노드의 Klaytn 프로토콜 버전입니다. |
Example
klay_rewardbase
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
Type | Description |
---|---|
20-byte DATA | Rewardbase 주소입니다. |
Example
Last updated