Home

Get currency exchanges given a currency and/or an account 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

currencystring

A currency ID

accountstring

An account ID

firstIndexinteger

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

lastIndexinteger

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

timestampinteger

The earliest block (in seconds since the genesis block) to retrieve

includeCurrencyInfoboolean

True to include several currency-related fields

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 retrieved successfully

400Bad Request

Bad Request

401Unauthorized

Unauthorized — Missing or invalid API key

500Internal Server Error

Internal Server Error