Home

Get currency buy offers given a currency ID and/or an account ID

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

accountstring

The account ID

availableOnlyboolean

True to include only offers with non-zero supply and limit

firstIndexinteger

A zero-based index to the first offer to retrieve

lastIndexinteger

A zero-based index to the last offer 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

Buy offers retrieved successfully

400Bad Request

Bad Request

401Unauthorized

Unauthorized — Missing or invalid API key

500Internal Server Error

Internal Server Error