Token Issuance
Create a STAS token
Creating a token requires you to first create a 'default' wallet to issue it to the wallet. If you didnt create one, you can jump back to the wallet section.
The token issuance endpoint takes care of all the rest (including paying the mining fee to mint the token). All you need is to add the parameters to specify the type of STAS token you want.
Above stated are the main inputs for each STAS token, the extended schema can be found in below code example. There is only one STAS format but various settings that make it behave according to its purpose and use case.
Issuance function
To issue a STAS token, create a variable with all parameters, and trigger relysia.issue()
.
Custom Data Field for Tokens
Incorporating personalized data into your Tokens can significantly enhance its functionality. The "data" field allows for the inclusion of an object value, which will be assigned as a numbered string key with an accompanying array property. Each element in the array will be added to the token script as its own data chunk.
Mint a Token.
POST
https://api.relysia.com/v1/issue
Mint a token with given specifications (can be both token or NFT). More on docs.relysia.com.
Headers
Request Body
Last updated