public Wei getValue() {
    return transactionWithMetadata.getTransaction().getValue();
  }
Retrieves the value of the transaction.

@return a Wei object representing the value of the transaction.
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/graphql/internal/pojoadapter/TransactionAdapter.java