DataFetcher<Wei> getGasPriceDataFetcher() {
    return dataFetchingEnvironment -> {
      final GraphQLContext graphQLContext = dataFetchingEnvironment.getGraphQlContext();
      final BlockchainQueries blockchainQueries =
          graphQLContext.get(GraphQLContextType.BLOCKCHAIN_QUERIES);
      return blockchainQueries.gasPrice();
    };
  }
Returns a DataFetcher that fetches the syncing state of the Ethereum node.

<p>The DataFetcher is a functional interface. It has a single method that takes a
DataFetchingEnvironment object as input and returns the syncing state as an
Optional<SyncStateAdapter>.

<p>The SyncStateAdapter is a wrapper around the SyncStatus of the Ethereum node. It provides
information about the current syncing state of the node such as the current block, highest
block, and starting block.

@return a DataFetcher that fetches the syncing state of the Ethereum node
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/graphql/GraphQLDataFetchers.java