Synopsis
Subcommands
cowboy account balance
Query the balance of any account by address.
Behavior:
- Send a request to the RPC endpoint to fetch the account balance.
- Print the balance in CBY.
| Flag | Default | Description |
|---|---|---|
--address | Required | Account address to query (hex) |
cowboy account nonce
Query the current nonce of an account.
Behavior:
- Send a request to the RPC endpoint to fetch the account nonce.
- Print the nonce value.
| Flag | Default | Description |
|---|---|---|
--address | Required | Account address to query (hex) |
cowboy account info
Query full account information.
Behavior:
- Send a request to the RPC endpoint to fetch all account details.
- Print balance, nonce, and account type (EOA or Actor).
| Flag | Default | Description |
|---|---|---|
--address | Required | Account address to query (hex) |
Edge Cases
- If the address doesn’t exist on-chain, commands return zero values (not an error).
- All subcommands are read-only and do not require a private key.

