> For the complete documentation index, see [llms.txt](https://feesaver.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://feesaver.gitbook.io/docs/feesaver/auto-refill.md).

# Auto top-up of energy

**Auto energy refill** - is the best solution for hot wallets (addresses that make a large number of outgoing transactions). Configure auto-refill for an address and it will always have a set amount of energy.

The auto energy refill feature has 3 configurable parameters:

1. **Minimum threshold** - if the energy is below the minimum threshold value, a specified amount will be refilled
2. **Add** - the amount of energy that needs to be added when it falls below the minimum threshold
3. **Lease term** - can take values of 1 hour or 1 day

### Examples of Auto Energy Refill operation

#### Example 1. The most optimal

**Address A enabled** [**perpetual energy lease**](/docs/feesaver/unlimited-rental.md)**.** For example, for address A a perpetual lease of 500K energy is enabled. Minimum threshold - 200K energy, Add - 200K energy, Lease term - 1 hour. After order confirmation no energy will be delivered to the address because 500K > 200K and the threshold condition is not met.&#x20;

1. Address A makes transactions: 65K, 131K, 131K (Total spent 327K energy). Remaining energy after transactions is 173K. 173K < 200K, so a refill of 200K energy will be triggered. After the refill address A will have 373K energy.
2. Address A does not make transactions. No refills occur, the monitoring system waits for the energy amount to drop below 200K

#### Example 2.&#x20;

**Address A has its own energy.** Own energy is 100K. Minimum threshold - 200K energy, Add - 200,000 energy, Lease term - 1 hour. After order confirmation 200K energy will be delivered to the address for 1 hour. The address will have 300K energy

1. Address A makes a transaction costing 131K. Remaining energy after the transaction is 169K. 169K < 200K, so a refill of 200K energy will be triggered. After the refill address A will have 369K energy
2. Address A does not make transactions. After 1 hour there will be a Reclaim, which means the remaining energy 100K < 200K. A refill of 200K energy will be triggered. Thus, if the address remains below the specified threshold, a new energy refill will occur every hour

#### Example 3.

**Address A has no own energy.** Minimum threshold - 200K energy, Add - 200,000 energy, Lease term - 1 hour. After order confirmation 200K energy will be delivered to the address for 1 hour&#x20;

1. Address A makes a transaction costing 65K. Remaining energy after the transaction is 135K. 135K < 200K, so a refill of 200K energy will be triggered. After the refill address A will have 335K energy
2. Address A does not make transactions. After 1 hour there will be a Reclaim, which means remaining energy 0 < 200K. A refill of 200K energy will be triggered. Thus, if you enable auto-refill and do not use the energy, a new energy refill will occur every hour

### Step-by-step instructions on how to connect an address to the auto-refill function:

#### Step 1

***

Got questions? Write to our support service [t.me/feesaver\_support](https://t.me/feesaver_support)
