ticket
POST
http://localhost:3000/api/public/ticket/deployTickets
Endpoint that creates tickets by offering a constructor where you can define the ticket price, supply, how much royalties which party is getting, and when it starts and ends.
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 ticket
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
ticket_price
string
required
ticket_supply
string
required
royalties
string
required
erc20_address
string
required
ticket_type
string
required
event_start
string
required
event_end
string
required
metadata
object
required
name
string
required
symbol
string
required
description
string
required
image
string
required
Example
{
"owner": "string",
"ticket_price": "string",
"ticket_supply": "string",
"royalties": "string",
"erc20_address": "string",
"ticket_type": "string",
"event_start": "string",
"event_end": "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