> 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-rate.md).

# Borrow Rate

At any point in time one may query the contract to get the current borrow rate per block.

**SErc20 / SEther**

```
function borrowRatePerBlock() returns (uint)
```

* `RETURN`: The current borrow rate as an unsigned integer, scaled by 1e18.

**Solidity**

```
SErc20 aToken = SToken(0x3FDA...);
uint borrowRateMantissa = aToken.borrowRatePerBlock();
```

**Web3 1.0**

```javascript
const aToken = SEther.at(0x3FDB...);
const borrowRate = (await aToken.methods.borrowRatePerBlock().call()) / 1e18;
```
