Parameters: [blockHash, fullTransactions].Positional parameters for kaia_getBlockByHash:
params[0]: 32 Bytes - hash of the block where this transaction was included. Null when pending.
params[1]: If true, includes full transaction objects; otherwise only hashes.
Returns
object
A Kaia block object. Null if the block cannot be found.
Show properties
string
Block number in hex. Null when the block is pending.
string
Hash of the block. Null when the block is pending.
string
Hash of the parent block.
string
Bloom filter for logs associated with this block. Null when pending.
string
Root of the transaction trie of the block.
string
Root of the final state trie of the block.
string
Root of the receipts trie of the block.
string
Author (beneficiary) address of the block.
string
Difficulty for this block.
string
Total chain difficulty up to this block.
string
Extra data field of the block.
string
Size of the block in bytes (hex).
string
Maximum gas limit for this block.
string
Total gas used by transactions in this block.
string
Unix timestamp of when the block was sealed.
array
Array containing transaction hashes or full transaction objects.
Show items
oneOf
Legacy transaction (pre-EIP-2718).
Show variants
object
Legacy transaction (pre-EIP-2718).
Show properties
string
32 Bytes - hash of the transaction.
integer
Quantity - (optional) Integer of a nonce. This allows you to overwrite your own pending transactions that use the same nonce.
string
32 Bytes - hash of the block where this transaction was included. Null when pending.
oneOf
Block number where this transaction was included. Null when pending.
Show variants
integer
string
integer
The transaction’s index position in the block. Null when pending.
string
20 Bytes - The address the transaction is sent from.
string
20 Bytes - The address the transaction is directed to. (Optional when creating new contract)
integer
Quantity - (optional) Integer of the value sent with this transaction.
integer
Quantity - (optional) Integer of the gas price used for each paid gas.
integer
Quantity - (optional) Integer of the gas provided for the transaction execution. (eth_call consumes zero gas)
string
The data sent along with the transaction.
integer
The standardised V field of the signature.
integer
The standardised V field of the signature (0 or 1). Only applicable to legacy transactions.
integer
The R field of the signature.
string
Raw transaction data.
string
Public key of the signer.
integer
The chain id of the transaction, if any.
string
Creates contract hash.
oneOf
Conditional submission of the transaction. Can be an object with a block number ({ block: 1 }), a UTC timestamp in seconds ({ time: 1491290692 }), or null.