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