Balance check
Checking Your Wallet Account Balance
Usage requirements
You will need access to your wallet address and the denomination of the token you wish to query (i.e. upokt).
The default node is set to interact with a local instance. For network-specific queries (i.e. accessing TestNet or MainNet), you will need an RPC endpoint.
Knowing your account's balance is crucial for effective transaction management on Pocket Network. This guide provides the necessary steps to check your wallet's balance using the pocketd command-line interface (CLI).
Prerequisites
pocketdis installed on your system; see the installation guide for more detailsYou have the address of the wallet you wish to check
You know the token denomination you wish to check;
upoktfor POKT tokens
What is a upokt?
1 POKT = 1,000,000 upokt
1 upokt = 1 micro POKT = 10^-6 POKT = 0.000001 POKT
Accessing non-local environments
You must provide the --network flag to access non LocalNet environments.
For example, to check a balance on Beta TestNet, you would use the following command:
pocketd query bank balance [address] upokt \
--network=betaWas this helpful?
