Parameters
string
default:"1001"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"klay_getBlockByHash"
required
JSON-RPC method name.
object
required
Parameters: [blockHash, fullTransactions].Positional parameters for
klay_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 instead of hashes.
Returns
object
A Klaytn block object. Null if the block cannot be found.