> For the complete documentation index, see [llms.txt](https://documentation.skynet.io/skynet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.skynet.io/skynet/build-your-project-on-skynet/interact-with-ai-service-to-create-an-agent/adding-balance-to-a-subnet/best-practices.md).

# Best Practices

Follow these best practices to ensure smooth operation and avoid common issues.

* **Always check balance first**: Before adding balance, check if there's already sufficient balance.
* **Error handling**: Implement proper error handling for blockchain transactions.
* **Default values**: Use reasonable default values for balance amounts (e.g., 0.05 ETH).
* **Chain ID**: Always ensure the correct chain is selected before adding balance.
* **Subscription check**: Verify if the user is subscribed before adding a balance.
