Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
Parameters for method getBlock: [slot, config]Positional parameters for
getBlock:params[0]: Slot number of the block to retrieve.params[1]: Optional configuration object for getBlock: [commitment, encoding, transactionDetails, maxSupportedTransactionVersion, rewards].
Returns
Block information including identity and transaction details but if block is not confirmed returns null.