Skip to content

Commit

Permalink
[readme] info about show-bond command
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaloup committed Jul 11, 2024
1 parent 25290e2 commit b7b9a38
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/validator-bonds-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,14 @@ The parameters and their meanings are explained in detail below:
### Show the bond account

```sh
validator-bonds -um show-bond <bond-or-vote-account-address> -f yaml
validator-bonds -um show-bond <bond-or-vote-account-address> --with-funding -f yaml
```

_NOTE:_ To display the `amounts` funded to a Bond account, the CLI must execute a `getProgramAccounts` query
on the RPC node to list stake accounts. Querying for accounts is often rate-limited,
and the error `429 Too Many Requests` may occur. If this happens,
use a private RPC node from an RPC provider (see https://solana.com/rpc).

Expected output on created bond is like

```
Expand Down

0 comments on commit b7b9a38

Please sign in to comment.