class EthChainId implements JsonRpcMethod {

  @Override
  public JsonRpcResponse response(final JsonRpcRequestContext requestContext) {
    return new JsonRpcSuccessResponse(
        requestContext.getRequest().getId(), chainId.map(Quantity::create).orElse(null));
  }

  public  EthChainId(final Optional<BigInteger> chainId);

}