Thursday, February 9, 2023

99/365: Mirror Node Queries

 These days, all account balance queries on Hedera are handled through the Mirror Node API. I played around with this API today by writing a short script that used the fetch() function to query it. The API returned JSON data with multiple nested arrays and objects. From this, I was able to drill down and extract the exact balance of the specific token I wanted and save it as a variable in my code. 

No comments:

Post a Comment

190: Sablier

 The CodeHawks platform has an upcoming audit on the Sablier protocol, so I decided to read through the docs and familiarize myself with the...