Account Balance
sncast allows you to check the balance of your account using the sncast balance command.
Basic Example
$ sncast --account my_account balance --network devnet
Output:
Balance: [..] strk
By default, it shows the balance in STRK tokens. Other possible tokens can be specified using the --token flag, read more here.
Checking Balance of a Custom Token
You can check the balance of a custom token by providing the --token-address flag followed by the token's contract address.
📝 Note
Token address must be a valid ERC-20 token contract.
$ sncast --account user1 balance \
--token-address <YOUR_TOKEN_ADDRESS> \
--network sepolia
Output:
```shell Balance: [..] ```Read more about sncast balance command here.