Documentation

Balances

The balance command let you quickly check all your paymaster contracts balance at once

Command

  • --profile is the complete path of the profile you want to use, where relayers are defined
cargo run --bin paymaster-cli balances --profile=path/to/my-profile.json
Output example
_____________________________________________________________________________
|                  Relayer Address                   |    Balance (STRK)    |
|----------------------------------------------------|----------------------|
| 0x4726...b26d                                      | 1                    |
| 0x703e...d2a6                                      | 1                    |
| 0x4086...4839                                      | 1                    |
| 0xf757...f7a3                                      | 1                    |
| 0x34b1...3246                                      | 1                    |
_____________________________________________________________________________
📘

Good to know

Rebalancing of relayers is done automatically. You can learn more about rebalancing here.

You can also trigger the rebalancing manually