> For the complete documentation index, see [llms.txt](https://docs.agilefi.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilefi.org/atokens/borrow-balance.md).

# Borrow Balance

A user who borrows assets from the protocol is subject to accumulated interest based on the current [borrow rate](/atokens/borrow-rate.md). Interest is accumulated every block and integrations may use this function to obtain the current value of a user's borrow balance with interest.

**SErc20 / SEther**

```
function borrowBalanceCurrent(address account) returns (uint)
```

* `account`: The account which borrowed the assets.
* `RETURN`: The user's current borrow balance (with interest) in units of the underlying asset.

**Solidity**

```
SErc20 aToken = SToken(0x3FDA...);
uint borrows = aToken.borrowBalanceCurrent(msg.caller);
```

**Web3 1.0**

```javascript
const aToken = SEther.at(0x3FDB...);
const borrows = await aToken.methods.borrowBalanceCurrent(account).call();
```
