Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Account Balance

sncast allows you to check the balance of your account using the sncast get balance command.

Basic Example

$ sncast --account my_account get balance --network devnet
Output:
Balance: [..] fri

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 get balance \
    --token-address <YOUR_TOKEN_ADDRESS> \
    --network sepolia
Output:
Balance: [..]

Read more about sncast get balance command here.