The video explains how to optimize the Venly API by using endpoints efficiently:
1. Fetch Bearer Token: This token is valid for 6 minutes and should only be retrieved after expiration to avoid unnecessary compute unit costs. Sample JavaScript code is provided to manage token expiration.
2. Create User Endpoint: You can create a user and assign a signing method using just 200 compute units by combining both actions in a single call.
3. Mint Tokens Endpoint: Mass minting allows you to mint multiple NFTs to different wallet addresses in one API call, using just 300 compute units, instead of 300 units per NFT when minted individually.
The emphasis is on reducing compute unit consumption by efficiently utilizing API calls.
Venly developer documentation: docs.venly.io/
コメント