Home

Get currency exchanges given a currency offer ID in reverse chronological order

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

offerstring

A currency offer ID

includeCurrencyInfoboolean

True to include several currency-related fields

firstIndexinteger

A zero-based index to the first currency exchange to retrieve

lastIndexinteger

A zero-based index to the last currency exchange to retrieve

requireBlockstring

The block ID of a block that must be present in the blockchain during execution

requireLastBlockstring

The block ID of a block that must be last in the blockchain during execution

idintegerrequired

Response

200OK

Exchanges by offer retrieved successfully

400Bad Request

Bad Request

401Unauthorized

Unauthorized — Missing or invalid API key

500Internal Server Error

Internal Server Error