Get tFuel Balance
Get Token Balance
In this example we built an application in Visual Studio using C# Windows Forms App.
This allows you to create a Windows application that will interact with the Theta blockchain using Nethereum.web3. We created 2 functions, one that will return the tFuel value of an address and another that will return the TNT-20 tokens held by an address, the token name and the decimals of the contract.
You can change the TNT-20 Contract Address to any TNT-20 Token and it will return the balance that address holds. We put in the tDrop address in the example.
© 2024 Thetascan.io