Token APIs
ThunderGene's API provides complete REST, Websocket, and suits your Web2 experience when integrating with blockchain technology. For the API authentication details, please refer to the API tech documentation.
API | Description | Use case |
---|---|---|
Create users | Create a user in a project with a unique blockchain address | When game players create an account, you can create their blockchain address with this API simultaneously. |
Get user balance | Get the asset balance of each user address | Check each user's token balance and display it in your game. |
API | Description | Use case |
---|---|---|
Mint asset | Create project tokens with your customized requirements | Create your in-game money with a customized name, symbol, and supply |
Transfer asset | Transfer token between addresses | When game players want to trade or transfer their assets to others |
Claim token | Let users claim tokens from the project address | When game players collect in-game rewards |
Create redeem code | Create redeem code and lock the asset until redeemed | When users want to withdraw their asset into a crypto wallet |
Get redeem status | Get redeem task status | Check each redeem code status |
Get asset redeem code | Get token balance of each redeem code | Check each redeem code related token balance is locked |
Claim redeem code | Claim token with redeem code | When user use redeem code to acquire token |
Last modified 4mo ago