Miscellaneous
Last updated
Last updated
Returns the number of hashes per second that the node is mining with.
Please note that it always return 0x0
because there is no PoW mechanism in Klaytn.
Parameters
None
Return Value
Type | Description |
---|---|
Example
Returns the number of hashes per second that the node is mining with.
Please note that it always return 0
because there is no PoW mechanism in Klaytn.
Parameters
None
Return Value
Example
Used for submitting a proof-of-work solution.
Please note that it always return false
because there is no PoW mechanism in Klaytn.
Parameters
Return Value
Example
Used for submitting mining hashrate.
Please note that it always return false
because there is no PoW mechanism in Klaytn.
Parameters
Return Value
Example
This method creates an accessList
based on a given Transaction
. The accessList
contains all storage slots and addresses read and written by the transaction, except for the sender account and the precompiles. This method uses the same transaction call object and blockNumberOrTag
object as eth_call
. An accessList can be used to unstuck contracts that became inaccessible due to gas cost increases. Adding an accessList
to your transaction does not necessary result in lower gas usage compared to a transaction without an access list.
Parameters
Return Value
Example
Type | Description |
---|---|
Type | Description |
---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
QUANTITY
The number of hashes per second.
QUANTITY
The number of hashes per second.
8-byte DATA
The nonce found (64 bits)
32-byte DATA
The header’s pow-hash (256 bits)
32-byte DATA
The mix digest (256 bits)
Boolean
Returns true if the provided solution is valid, otherwise false.
hashrate
32-byte DATA
A hexadecimal string representation (32 bytes) of the hash rate.
id
32-byte DATA
A random hexadecimal(32 bytes) ID identifying the client.
Boolean
Returns true if submitting went through succesfully and false otherwise.
callObject
Object
The transaction call object. Refer to eth_call
for the object's properties.
blockNumberOrTag
QUANTITY | TAG
Integer or hexadecimal block number, or the string "earliest"
, "latest"
or "pending"
as in default block parameter. The block number is mandatory and defines the context (state) against which the specified transaction should be executed.
Object
Returns list of addresses and storage keys used by the transaction, plus the gas consumed when the access list is added.