Hey, this is an awesome tutorial and I appreciate it! Have you gotten other functions to work? I'm not sure how to work with other functions such as "moralis.Web3API.account.getNativeBalance()" in Godot using the JavaScript go between and would love another tutorial on more functions. Thanks again!
Awesome, thank you. I'm making everything work through the browser since I assumed you had to in order to connect your Metamask, so I got it to work printing in the console using:
...but I probably could've done args[0].balance like your code and been a little cleaner.
Perhaps you've tested the getNFTs function before as well? I can't seem to get anything in the response, despite having NFTs on the address I'm checking.
Looking forward to seeing that Plugin. Please do update when you're ready for other eyes on it! I'd love to help.
Hey, this is an awesome tutorial and I appreciate it! Have you gotten other functions to work? I'm not sure how to work with other functions such as "moralis.Web3API.account.getNativeBalance()" in Godot using the JavaScript go between and would love another tutorial on more functions. Thanks again!
Hi, thanks!
If you want to get balance using getNativeBalance, you can write as follows:
Implementing async-await with Godot can be quite hassle, but we should probably be able to implement most of Moralis functions.
By the way, currently I'm developing Godot Moralis Plugin. When it's done, I'm going to add the repo in this article.
Awesome, thank you. I'm making everything work through the browser since I assumed you had to in order to connect your Metamask, so I got it to work printing in the console using:
...but I probably could've done args[0].balance like your code and been a little cleaner.
Perhaps you've tested the getNFTs function before as well? I can't seem to get anything in the response, despite having NFTs on the address I'm checking.
Looking forward to seeing that Plugin. Please do update when you're ready for other eyes on it! I'd love to help.
I've not tested getNFTs yet, so I don't know but I'll try it sometime.
Yeah it may take some time, but I will do it;>
Hey, did u get it to work?