Home

Make an exchange request to sell an exchangeable currency

POST
https://ardr.nownodes.io/nxt

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsobjectrequired
Show child attributes
requestTypestring
chaininteger

The chain related to the operation

currencystring

The currency ID

rateNQTPerUnitstring

The exchange rate (in NQT per unit)

unitsQNTstring

The amount of the currency to sell (in QNT)

idintegerrequired

Response

200OK

Currency sell request created successfully

400Bad Request

Bad Request

401Unauthorized

Unauthorized — Missing or invalid API key

500Internal Server Error

Internal Server Error