# Check Wallet Balance

## Install Cast

<https://book.getfoundry.sh/getting-started/installation>

## Compare wallet balance on Geth and Solana

Check balance on OP Geth

{% code overflow="wrap" %}

```bash
cast balance 0xf0e0CA2704D047A7Af27AafAc6D70e995520C2B2  -r http://localhost:8545
```

{% endcode %}

Check balance on Solana using Light Client

{% code overflow="wrap" %}

```bash
cast balance 0xf0e0CA2704D047A7Af27AafAc6D70e995520C2B2  -r http://localhost:9090
```

{% endcode %}

These balances should be the same.


---

# 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://docs.rome.builders/legacy/rome-l2-setup/test-your-l2/check-wallet-balance.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.
