Querying account balance
Retrieve account balances given an address.
In this example, we will be retrieving the balances of the following address:
For this example, we will be querying balances of address:
swth16kazgeq55j49tsqer0ffxhyupkxca0sq3c4cll
JavaScript SDK
See Initializing CarbonSDK for details on instantiating the JavaScript SDK.
Query balance using gRPC query module
Query balance using Stargate client
RESTful gRPC
Check out the Carbon RPC reference for a list of available REST endpoints.
Query all balances for address
GET
https://api.carbon.network/cosmos/bank/v1beta1/balances/{address}
Path Parameters
Name | Type | Description |
---|---|---|
address* | String | Carbon address |
Command-line Interface
Use carbond --help
for a list of available commands
Last updated