Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Added get balance to commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-HoDL58 authored Oct 27, 2023
1 parent d4ca35a commit df59eff
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions website/_i18n/en/user-guides/use-wallet-cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,40 @@ Replace `<ADDRESS>` with the address for which you want to retrieve its private
Keep your private key secure. If someone gains access to your private key,
they will have full control over that address.

### Get Address Balance

You can get the balance of your address by this command:

{% tabs address_bal ltr %}

{% tab address_bal linux <i class="fa-brands fa-linux"></i> Linux %}

```text
./pactus-wallet --path ~/pactus/wallets/default_wallet address balance <ADDRESS>
```

{% endtab %}

{% tab address_bal mac <i class="fa-brands fa-apple"></i> macOS %}

```text
./pactus-wallet --path ~/pactus/wallets/default_wallet address balance <ADDRESS>
```

{% endtab %}

{% tab address_bal windows <i class="fa-brands fa-windows"></i> Windows %}

```text
pactus-wallet.exe c:\pactus\wallets\default_wallet address balance <ADDRESS>
```

{% endtab %}

{% endtabs %}

Replace `<ADDRESS>` with the address for which you want to retrieve your balance.

---

## Transaction Commands
Expand Down

0 comments on commit df59eff

Please sign in to comment.