code: func (self *AccountingApi) BalanceCredit() (int64, error) {
  	if self.metrics == nil {
  		return 0, errNoAccountingMetrics
  	}
  	return mBalanceCredit.Count(), nil
  }
docs: // BalanceCredit returns total amount of units credited by local node