@Test
  public void missingAllParameters() {
    final JsonRpcRequestContext request = requestWithParams();

    final Throwable thrown = catchThrowable(() -> ethGetBlockNumber().response(request));

    assertThat(thrown)
        .isInstanceOf(InvalidJsonRpcParameters.class)
        .hasMessage("Invalid block parameter (index 0)");
  }
The Boolean type second parameter, denotes whether to retrieve the complete transaction or just
the transaction hash.
ethereum/api/src/integration-test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/fork/frontier/EthGetBlockByNumberIntegrationTest.java