How To Check Your Harmony Account Balance With Tatum C# SDK

Tatum
Tatum
Published in
2 min readDec 7, 2022

After you’ve created an address and private key for your Harmony wallet using Tatum’s C# SDK, you’re ready to start learning how to perform some basic functions. One basic yet, important function is checking your account balance.

Safe to say, it’s a good idea to routinely check your bank account balance, especially before and after you conduct any transactions. The same principle applies here. Before you start transferring assets from one account to another, it’s good to know exactly how much Harmony is in your account. Tatum’s flexibility offers developers multiple ways to go about it.

Check Your Account Balance With C#

Checking your Harmony account balance with C# is a cakewalk now thanks to Tatum’s recently-upgraded SDK. It offers C# developers a more optimal and user-friendly blockchain experience. Here’s how to do it.

To Check Your Harmony Balance:

All done! With just a few lines of code, you have your Harmony balance.

Check Your Account Balance Using Tatum’s APIs

With Tatum’s versatile platform, you can also check your Harmony balance with our streamlined APIs. After you log on to the Dashboard, you’ll receive 2 API keys — one key for the mainnet and a second key for the testnet.

We recommend taking full advantage of the testnet in order to polish your coding skills or work out any bugs with your project. After all, mistakes on the testnet won’t manifest in real life. It’s there precisely for that reason, to function as your blockchain laboratory where you can experiment until you achieve the desired outcome.

One thing to consider, the Harmony tokens that you use on the testnet have no real-life value. They have as much tangible value as Monopoly money has in the real world. Its function is purely for you to experiment with on the testnet. We recommend this faucet site for some “Monopoly” ONE.

Once the results on the testnet are to your liking, you’re ready to execute on the mainnet. The coding samples below are applicable for the testnet as well as the mainnet.

Sample Curl:

Sample Response:

There you have it! You’ve got your Harmony account balance, and you’re ready to start transferring away.

Sign Up or Upgrade

Are you new to Tatum and have an idea you’d like to develop on the blockchain? Or perhaps you would like to upgrade your current plan. Click here and choose from our selection.

--

--

Tatum
Tatum
Editor for

Tatum is the fastest way to develop blockchain apps.