cURL
curl --request GET \ --url https://public.api.paragraph.com/api/v1/coins/sell/{id}
{ "commands": "<string>", "inputs": [ "<string>" ] }
Retrieve the args needed to sell a coin using a wallet that has it
Id of the coin
Address of the wallet that is going to sell the coin
^0x[a-fA-F0-9]{40}$
Amount of coin in wei that is going to be swapped to WETH
[0-9]+
Sell args retrieved successfully
Commands needed to do a token swap
^0x[a-fA-F0-9]*
Inputs needed to do a token swap