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

Path Parameters

contractAddress
string
required

Contract address of the coin

Query Parameters

walletAddress
string
required

Address of the wallet that is going to sell the coin

amount
string
required

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

Response

Sell args retrieved successfully

commands
string
required

Commands needed to do a token swap

inputs
string[]
required

Inputs needed to do a token swap