Skip to main content
GET
/
v1
/
coins
/
buy
/
{id}
Get coin's buy args by ID
curl --request GET \
  --url https://public.api.paragraph.com/api/v1/coins/buy/{id}
{
  "commands": "<string>",
  "inputs": [
    "<string>"
  ]
}

Path Parameters

id
string
required

Id of the coin

Query Parameters

walletAddress
string
required

Address of the wallet that is going to buy the coin

amount
string
required

Amount of Base ETH in wei that is going to be swapped for the coin

Response

Buy args retrieved successfully

commands
string
required

Commands needed to do a token swap

inputs
string[]
required

Inputs needed to do a token swap