coins

Get coin's buy args by ID

Changed on

Retrieve the args needed to buy a coin using a wallet

get/v1/coins/buy/{id}

Request

  • Base URL
    https://public.api.paragraph.com/api
  • URL
    https://public.api.paragraph.com/api/v1/coins/buy/{id}
  • Auth
    none required

Path parameters

idstring required

Id of the coin

Query parameters

walletAddressstring required

Address of the wallet that is going to buy the coin

amountstring required

Amount of Base ETH in wei that is going to be swapped for the coin

Response

Buy args retrieved successfully

commandsstring required

Commands needed to do a token swap

inputsstring[] required

Inputs needed to do a token swap

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status