Skip to main content
POST
cURL

Body

application/json
chain
enum<string>
required

Chain to execute the action on; one of: base, bsc

Available options:
base,
bsc
Example:

"base"

marketId
string
required

ID of the market to mint/burn in

Example:

"PRES-2024"

ccontracts
string
required

Number of ccontracts as a positive integer string (scaled by market precision). For precision 2, 1 contract = 100 ccontracts.

Example:

"1050"

action
enum<string>
required

Action to execute; one of: mint (mint tokens), burn (burn tokens)

Available options:
mint,
burn
Example:

"mint"

side
enum<string>
required

Side of the market (yes or no)

Available options:
yes,
no
Example:

"yes"

userAddress
string
required

User wallet address

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"

Response

Authorization generated successfully

uuid
string
required

Unique authorization ID

signature
string
required

EIP-712 signature for the authorization

expiresAt
number
required

Unix timestamp when authorization expires