public DataFetcher<Wei> getMaxPriorityFeePerGasDataFetcher() {
    return dataFetchingEnvironment -> {
      final BlockchainQueries blockchainQuery =
          dataFetchingEnvironment.getGraphQlContext().get(GraphQLContextType.BLOCKCHAIN_QUERIES);
      return blockchainQuery.gasPriorityFee();
    };
  }
Returns a DataFetcher that fetches the maximum priority fee per gas 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 maximum priority fee per gas as a Wei
object.

@return a DataFetcher that fetches the maximum priority fee per gas of the Ethereum node
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/graphql/GraphQLDataFetchers.java