---
title: "Get coin's sell args by contract address"
method: GET
path: "/v1/coins/sell/contract/{contractAddress}"
tags: ["coins"]
---

# Get coin's sell args by contract address

`GET /v1/coins/sell/contract/{contractAddress}`

Retrieve the args needed to sell a coin using a wallet that has it

## Path parameters

- `contractAddress` string, required

## Query parameters

- `walletAddress` string, required
- `amount` string, required

## Response `200`

Sell args retrieved successfully

- object
  - `commands` string, required — Commands needed to do a token swap
  - `inputs` string[], required — Inputs needed to do a token swap

## Other responses

- `404` — Sell args not found
- `500` — Internal server error

---

[API](https://skmtc.net/paragraph-xyz/apis/paragraph-api.md) · [All operations](https://skmtc.net/paragraph-xyz/apis/paragraph-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paragraph-xyz/paragraph-api/versions/7bbf1b62c1a0/schema)
