> For the complete documentation index, see [llms.txt](https://docs.mound.finance/qubit-developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mound.finance/qubit-developers/qtokens/borrow-rate.md).

# Borrow Rate

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

### QToken

```typescript
function borrowRatePerSec() external view returns (uint);
```

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

### Solidity

```typescript
QToken qToken = QToken(<qTokenAddress>);
uint borrowRate = qToken.borrowRatePerSec();
```

### Ethers.js

```typescript
const qToken = await ethers.getContractAt(<qTokenABI>, <qTokenAddress>);
const borrowRate = await qToken.borrowRatePerSec();
```
