Before using the wallet API, you need to create a project and generate an API key in the developer portal. The detailed steps and related resources are as follows:
When sending a REST request, you need to authenticate. We provide a detailed REST authentication guide to help you understand and implement this process.
Import the necessary Node.js libraries and set your environment variables as well as define helper functions and assembly parameters Node.js configuration environment settings.