Skip to main content
POST
/
get-token-authorization
{
  "uuid": "<string>",
  "signature": "<string>",
  "expiresAt": 123
}

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"

number
number
required

Number of contracts

Required range: x > 0
Example:

100

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

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