public Long getAmount() {
    return withdrawal.getAmount().getAsBigInteger().longValue();
  }
Returns the amount of the withdrawal.

@return the amount of the withdrawal.
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/graphql/internal/pojoadapter/WithdrawalAdapter.java