public Wei getBalance() {
    return account.map(AccountState::getBalance).orElse(Wei.ZERO);
  }
Returns the balance of the account.

@return the balance of the account
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/graphql/internal/pojoadapter/AccountAdapter.java