token
POST
http://localhost:3000/api/public/token/deployEvent Vouchers or Points
Endpoint that creates voucher or points by offering a constructor where you can define the name, supply, and a symbol. Furthermore it defines the metadata as the name, a symbol that we would see in any wallet and a description as an image representing the voucher, points or event only currency.
Request
Header Params
Content-Type
string
required
Example:
application/json
User-Agent
string
required
Example:
insomnia/9.3.3
apiToken
string
required
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNtMTlpNGhpdzAwMDlvMXZqb2thaWV0Zm4iLCJhcHBJZCI6ImNtMTlpNDh6dDAwMDdvMXZqeG5xanhoa20iLCJpYXQiOjE3MjY3NjMwMzB9.oLN0-FWN14NTj7uQ0HXgZzZ3zyqPdsv0Akr3AVc0b5I
Body Params application/json
owner
string
required
name
string
required
symbol
string
required
supply
string
required
metadata
object
required
name
string
required
symbol
string
required
description
string
required
image
string
required
Example
{
"owner": "string",
"name": "string",
"symbol": "string",
"supply": "string",
"metadata": {
"name": "string",
"symbol": "string",
"description": "string",
"image": "string"
}
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Modified at 16 days ago