Trades
Create a new trade
Creates a new trade order. Authentication required via API key.
Include your API key in the Authorization
header as Bearer YOUR_API_KEY
.
POST
Body
application/json
The ID of the user creating the trade
The ID of the token being traded
The type of trade
Available options:
buy
, sell
Whether this is a custodial wallet trade
The amount of tokens to trade (required for sell orders)
The amount of USDC to trade (required for buy orders)
Transaction hash for the fee payment
Transaction hash for the transfer