public Long getTransactionCount() {
    return account.map(AccountState::getNonce).orElse(0L);
  }
Returns the transaction count of the account.

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