Token Issuance
Create a STAS token
Wallets
Parameter
Description
Property
Issuance function
var parameters = {
serviceId: 'optional',
protocol: 'optional',
data: {
"name": "Bonus Point Token",
"protocolId": "STAS",
"symbol": "BPT",
"description": "A supermarket bonus point token to be used ay https://yourproject.com",
"image": "https://firebasestorage.googleapis.com/v0/b/nftdev/o/nftTemp%2FWL1DdD?alt=media",
"tokenSupply": 30,
"decimals": 0,
"satsPerToken": 1,
"splitable": true,
"data" : {"1" : ["custom data 1", "custom data 2"]},
"properties": {
"legal": {
"terms": "STAS, Inc. retains all rights to the token script. Use is subject to terms at https://stastoken.com/license.",
"licenceId": "stastoken.com"
},
"issuer": {
"organisation": "vaionex corp.",
"legalForm": "Limited",
"governingLaw": "US",
"issuerCountry": "US",
"jurisdiction": "US",
"email": "[email protected]"
},
"meta": {
"schemaId": "STAS1.0",
"website": "https://yourProject.com",
"legal": {
"terms": "Your personal token terms"
}
}
}
}
}
const response = await relysia.contracts.v1.issue(parameters);Custom Data Field for Tokens
Mint a Token.
Headers
Name
Type
Description
Request Body
Name
Type
Description
Last updated