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

Documentation Index

Fetch the complete documentation index at: https://paragraph.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Id of the coin

Query Parameters

walletAddress
string
required

Address of the wallet that is going to sell the coin

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

Amount of coin in wei that is going to be swapped to WETH

Pattern: [0-9]+

Response

Sell args retrieved successfully

commands
string
required

Commands needed to do a token swap

Pattern: ^0x[a-fA-F0-9]*
inputs
string[]
required

Inputs needed to do a token swap

Pattern: ^0x[a-fA-F0-9]*