Parameters
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.