# BalanceMonitor

The BalanceMonitor checks the network's native token balance for each key on every new head the Chainlink node receives from the remote RPC endpoint.

### \[ERROR] BalanceMonitor: error getting keys

The Chainlink node is not able to retrieve the keys for its available accounts from the keystore.

* Make sure you have followed the instructions for setting up a Chainlink node with either newly generated or correctly imported keys from an existing account
* [Official Chainlink documentation](https://docs.chain.link/docs/miscellaneous/#importing-a-keystore)

### \[ERROR] BalanceMonitor: error getting balance for key

The Chainlink node is not able to retrieve the needed data object from the remote RPC endpoint it is connected to. The functioning of this service is mandatory for the monitoring of the Chainlink node account balance.

* Check the blockchain connection of the Chainlink node (e.g. the Full-node-as-a-Service subscription and renew or switch the plan if necessary to prevent RPC rate limits from being hit)
* Run an own full node with custom configuration and no performance restrictions


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.oraclelabs.link/technical/chainlink-node-logs/balancemonitor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
