POST /launch
The unsigned steps of a launch on Doppler, Clanker, Pools.trade, Flap or Pons: the coin’s details stored, the launch simulated.
POST https://uprally.co/api/v1/launch| Field | Type | Required | Meaning |
|---|---|---|---|
launchpad | string | yes | One of GET /launch’s launchpads: doppler, clanker, poolstrade, flap, pons |
creator | string | yes | The wallet that signs and owns the launch |
name | string | yes | 1 to 32 characters |
symbol | string | yes | 1 to 10 letters or digits |
description | string | ||
image | string | From POST /media/image (Flap needs one) | |
links | object | ||
links.x | string | ||
links.telegram | string | ||
links.website | string | ||
firstBuyEth | number | ETH the creator buys in the launch itself | |
options | object | The launchpad’s own choices, from GET /launch | |
metadataURI | string | Instead of the details: a file an earlier launch build stored |
Response
Section titled “Response”| Field | Type | Required | Meaning |
|---|---|---|---|
launchpad | string | yes | |
chainId | 4663 | yes | |
creator | string | yes | A 0x address, lower case |
token | string | yes | The coin’s address, known before it is sent |
metadataURI | string | yes | |
steps | object[] | yes | Send in order, each confirmed before the next |
steps[].step | string | yes | |
steps[].tx | object | yes | An unsigned transaction: sign it with the wallet and send it. |
steps[].tx.chainId | 4663 | yes | Robinhood Chain |
steps[].tx.from | string | The wallet that must send it | |
steps[].tx.to | string | yes | A 0x address, lower case |
steps[].tx.data | string | yes | The call data: send it exactly as it is |
steps[].tx.value | string | yes | ETH to send with it, in wei |
steps[].tx.gas | string | A gas limit with room; absent while a step before it is still needed | |
page | string | yes |
Errors
Section titled “Errors”Every error is { "error": { "code", "message", "fix"? } }. This endpoint can answer:
INVALID_ADDRESS: A field that must be a 0x address is not one;fieldsays which.INVALID_BODY: The body is not a JSON object.INVALID_LAUNCH: A launch field is missing or wrong;fieldsays which.INVALID_DETAILS: A coin detail (name, ticker, description, picture or link) is not accepted;fieldsays which.LAUNCH_WOULD_FAIL: The launch reverted when simulated.LAUNCH_OFF: Launching is switched off on this server for now.UPLOADS_BUSY: Uploads are busy right now.RATE_LIMITED: Too many requests from this address in the last minute.