POST api/v2/exchanges
General information about endpoints
Information
Description
Description
Creates a new exchange.
Route
POST api/v2/exchanges
Permissions
Private
Request Parameters:
Parameter
Type
Required
Description
input_asset
string
Required
Identifier of the input asset
output_asset
string
Required
Identifier of the output asset
amount
number
Required
Amount to be exchanged
Response:
{
"amount" : 10.0,
"created" : 20240219T23:33:13.281Z,
"currency" : eurbtc,
"executed" : 1.0,
"input_currency_id" : eur,
"output_amount" : 0.000208,
"output_currency_id" : btc,
"state" : done,
"uuid" : 230567216545007428
}