POST
/
v1
/
contests
/
{id}
/
payout
/
token
curl --request POST \
  --url https://backend.swap.coffee/v1/contests/{id}/payout/token \
  --header 'Content-Type: application/json' \
  --data '{
  "distributor": "UQD_gZghWHqB7TGFTSs0FjrpL5dlUH5lznJHPHMpiwNldyPc",
  "token": {
    "blockchain": "ton",
    "address": "native"
  },
  "entries": [
    {
      "place_from": 123,
      "place_to": 123,
      "token_amount": 123
    }
  ],
  "random": {
    "count": 123,
    "token_amount": 123,
    "min_volume_usd": 123
  }
}'
[
  {
    "address": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
    "amount": 123,
    "volume_usd": 123,
    "reason": "place #1"
  }
]

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
integer
required

Body

application/json
distributor
string
required
token
object
required
entries
object[]
random
object

Response

200
application/json
ok
address
string
required
amount
number
required
volume_usd
number
required
reason
string
required