Create Prize Draw

Create the prize draw and return the prize draw object.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body to create an prize draw.

string
length ≤ 250

Title of the prize draw.

string
length ≤ 1000

Description of the prize draw.

uuid
required

The id of the erc20 token which will be used for prize draw ticket purchase.

string
enum
required

The type of the prize draw asset token.

Allowed:
uuid
required

The id of the erc721 or erc1155 prize draw asset token.

number

Token id of the erc1155 prize draw asset token. Required only for erc1155 tokens. Not used for erc721 tokens.

number

Quantity of tokens in a single prize.

number
required

Quantity of erc20 required for ticket purchase.

number
Defaults to 1

Quantity of winning tickets to be drawn.

number

Quantity of tickets available for purchase.

number
Defaults to 1

Quantity of tickets available for purchase by a single user.

string
enum

Should erc20 tokens used for purchase be burned or transfered to organisation wallet.

Allowed:
boolean
Defaults to true

Should the prize draw be automatically settled upon completion.

string
enum

The current status of the prize draw.

Allowed:
date-time

The start date for the prize draw.

date-time

The end date for the prize draw.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json