# Unlocked Balance

Unlocked Balance is the amount of QBT currently unlocked from the locker since the expiry time of the lock has already expired.

### QubitLocker

```typescript
function availableOf(address account) external view returns (uint);
```

* account : The address of the account to get the unlocked balance for.
* RETURN : The quantity of QBT unlocked by the contract for the given account. If the lock has not expired yet, the resulting value is 0.

### Solidity

```typescript
QubitLocker qubitLocker = QubitLocker(<qubitLockerAddress>);
uint amount = qubitLocker.availableOf(<account>);
```

### Ethers.js

```typescript
const qubitLocker = await ethers.getContractAt(<lockerABI>, <lockerAddress>);
const amount = await qubitLocker.availableOf(<account>);
```
