Home

Publish an exchange offer for 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

buyRateNQTPerUnitstring

The offered buy rate (in NQT per QNT)

sellRateNQTPerUnitstring

The offered sell rate (in NQT per QNT)

totalBuyLimitQNTstring

The cumulative limit (in QNT) of currency buys

totalSellLimitQNTstring

The cumulative limit (in QNT) of currency sells

initialBuySupplyQNTstring

The initial amount (in QNT) of currency offered to buy

initialSellSupplyQNTstring

The initial amount (in QNT) of currency offered to sell

expirationHeightinteger

The blockchain height for expiration of the offer

idintegerrequired

Response

200OK

Exchange offer published successfully

400Bad Request

Bad Request

401Unauthorized

Unauthorized — Missing or invalid API key

500Internal Server Error

Internal Server Error