buy
POST
http://localhost:3000/api/public/contracts/ERC1155EventTicket/1/buyBuy Ticket
This entry is down when someone did purchase the ticket, to make it an eligiable entry and transfer it to the owner who did that purchasement.
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
seller
string
required
token_id
string
required
Example
{
"seller": "string",
"token_id": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Modified at 16 days ago