public Wei getGasPrice() {
    return transactionWithMetadata.getTransaction().getGasPrice().orElse(Wei.ZERO);
  }
Retrieves the gas price of the transaction.

@return a Wei object representing the gas price of the transaction. If the transaction does not
    specify a gas price, this method returns zero.
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/graphql/internal/pojoadapter/TransactionAdapter.java