cURL
curl --request GET \ --url https://public.api.paragraph.com/api/v1/coins/buy/{id}
{ "commands": "<string>", "inputs": [ "<string>" ] }
Retrieve the args needed to buy a coin using a wallet
Id of the coin
Address of the wallet that is going to buy the coin
^0x[a-fA-F0-9]{40}$
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