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

# Energy Purchase Transaction

<figure><img src="https://744912646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKdEQlnC0f1cxpjA20Sz0%2Fuploads%2Fxs7uc0CP6wlD2eNMtvFd%2Fbuyeng.png?alt=media&amp;token=c88f767d-3e01-468e-aaef-dc969d2ae5d1" alt=""><figcaption></figcaption></figure>

#### **The energy purchase transaction involves several actions, including adding liquidity to the STM-ETH liquidity pool, paying out administrative rewards, and accruing referral rewards.**&#x20;

**This transaction covers the following sequence of events:**

* Payouts of referral program rewards at each level in crystals,
* The amount of ETH designated for the liquidity pool, along with an equivalent amount of minted STM tokens, is sent to the BaseSwap contract,
* LP tokens are sent to the game's main smart contract for locking,
* A partner commission is charged and sent to a separate marketing address.
