# Balance

Source: https://bflops.com/docs/api/balance

Read your balance, what is free to start machines, how long it lasts, and how to top it up.



<Endpoint method="GET" path="/api/v1/balance" />

```json title="200"
{
  "balance": {
    "balance_usd": "120.00",
    "pack_usd": "0.00",
    "held_usd": "1.46",
    "available_usd": "118.54",
    "runway_seconds": 24657,
    "running_gpus": 8,
    "burn_per_hour_usd": "17.52",
    "new_wallet_left_today_usd": null,
    "top_ups": [
      {
        "tx_hash": "0x5c1f...",
        "token": "usdt",
        "value_usd": "120.00",
        "pack": false,
        "status": "credited",
        "at": "2026-11-26T18:02:11.000Z"
      }
    ],
    "top_up": {
      "chain": "bsc",
      "contract": "0x082C98A9f9c593f287307a711d925Edd4cec9969",
      "top_up_id": "0x3e7a...",
      "usdt": "0x55d398326f99059fF775485246999027B3197955"
    }
  }
}
```

| Field                       | What it means                                                            |
| --------------------------- | ------------------------------------------------------------------------ |
| `balance_usd`               | All you hold, pack money included                                        |
| `held_usd`                  | Set aside for the next 5 minutes of your running machines                |
| `available_usd`             | Free to start machines                                                   |
| `runway_seconds`            | How long the balance lasts at the current burn; `null` when nothing runs |
| `burn_per_hour_usd`         | What your running machines cost an hour                                  |
| `new_wallet_left_today_usd` | Left to spend today in your first 7 days; `null` after                   |
| `top_up`                    | Where to top up this balance on BNB Smart Chain                          |

## Top up from code [#top-up-from-code]

Topping up is a payment on BNB Smart Chain to the contract in `top_up.contract`, naming this balance by `top_up_id`. Any wallet may pay it: the balance credited is the key's, not the payer's.

* **BNB**: call `topUp(bytes32 account, bool pack)` with the BNB as the value.
* **USDT**: `approve` the contract on the USDT token in `top_up.usdt`, then call `topUpToken(bytes32 account, uint256 amount, bool pack)`.

Pass `top_up_id` as `account`, and `pack` as `true` for a [pack](/docs/top-up#packs) of $100 to $10,000. It is credited once BNB Chain makes it final. The easiest way is still the **Top up** window on [Balance](/balance).

<Callout kind="warning">
  A plain transfer of USDT or BNB to the contract is not credited. Only `topUp` and
  `topUpToken` are.
</Callout>
