v52

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-07-21450373.3 KB
coins

Get coin's buy args by ID

Retrieve the args needed to buy a coin using a wallet

get/v1/coins/buy/{id}

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