Server info
Event Register
Create, modify or remove an event listener which can report server events via Event Wait.
Method: POST
https://ardr.nownodes.io/nxt?requestType=eventRegister
Example body (raw)
empty
Example response: 200
{
"registered": true,
"requestProcessingTime": 13,
"token": "1"
}
Event Wait
Wait for events registered with Event Register.
Method: POST
https://ardr.nownodes.io/nxt?requestType=eventWait&token=3
Example body (raw)
empty
Example response: 200
{
"errorDescription": "No events registered",
"errorCode": 8,
"requestProcessingTime": 0
}
Get Bundling Options
Get all bundling options.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getBundlingOptions
Example response: 200
{
"availableFilters": [
{
"name": "PersonalBundler",
"description": "Only bundle the transactions of the bundler account"
},
{
"name": "PropertyBundler",
"description": "Only bundle transactions sent by accounts which have the \"bundling\" property set on them by the bundler account"
},
{
"name": "AssetBundler",
"description": "Bundles only transactions for asset with ID provided as parameter"
},
{
"name": "CurrencyBundler",
"description": "Bundles only transactions for MS currency with ID provided as parameter"
},
{
"name": "PurchaseBundler",
"description": "Bundles only purchases of digital goods sold by an account provided as parameter"
},
{
"name": "QuotaBundler",
"description": "Bundles transaction until the quota per account and transaction type is reached. The quota is provided as parameter"
},
{
"name": "TransactionTypeBundler",
"description": "Bundles only transaction types provided as parameter. The parameter must be comma separated string, which contains <type>:<subtype> pairs specifying the \"type\" and \"subtype\" identifier of thewhitelisted transaction types. The \"type\" and \"subtype\" identifiers can be found in the transactionSubTypes field of the getConstants result."
}
],
"availableFeeCalculators": [
"MIN_FEE",
"PROPORTIONAL_FEE"
]
}
Get Constants
Get all defined constants.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getConstants
Example response: 200
{
"maxNumberOfFxtTransactions": 10,
"lastKnownBlock": {
"id": "12430465704212719921",
"height": 2351000
},
"transactionSubTypes": {
"AssetIssuance": {
"isPhasable": true,
"subtype": 0,
"mustHaveRecipient": false,
"name": "AssetIssuance",
"canHaveRecipient": false,
"isGlobal": true,
"type": 2,
"isPhasingSafe": true
},
"CurrencyIssuance": {
"isPhasable": true,
"subtype": 0,
"mustHaveRecipient": false,
"name": "CurrencyIssuance",
"canHaveRecipient": false,
"isGlobal": false,
"type": 5,
"isPhasingSafe": false
},
"ShufflingRecipients": {
"isPhasable": false,
"subtype": 3,
"mustHaveRecipient": false,
"name": "ShufflingRecipients",
"canHaveRecipient": false,
"isGlobal": false,
"type": 7,
"isPhasingSafe": false
},
"PhasingVoteCasting": {
"isPhasable": true,
"subtype": 2,
"mustHaveRecipient": false,
"name": "PhasingVoteCasting",
"canHaveRecipient": false,
"isGlobal": false,
"type": 9,
"isPhasingSafe": true
},
"TaggedDataUpload": {
"isPhasable": false,
"subtype": 0,
"mustHaveRecipient": false,
"name": "TaggedDataUpload",
"canHaveRecipient": false,
"isGlobal": false,
"type": 6,
"isPhasingSafe": false
},
"ReserveIncrease": {
"isPhasable": true,
"subtype": 1,
"mustHaveRecipient": false,
"name": "ReserveIncrease",
"canHaveRecipient": false,
"isGlobal": false,
"type": 5,
"isPhasingSafe": false
},
"DigitalGoodsPriceChange": {
"isPhasable": true,
"subtype": 2,
"mustHaveRecipient": false,
"name": "DigitalGoodsPriceChange",
"canHaveRecipient": false,
"isGlobal": false,
"type": 3,
"isPhasingSafe": false
},
"DigitalGoodsFeedback": {
"isPhasable": true,
"subtype": 6,
"mustHaveRecipient": true,
"name": "DigitalGoodsFeedback",
"canHaveRecipient": true,
"isGlobal": false,
"type": 3,
"isPhasingSafe": false
},
"ExchangeBuy": {
"isPhasable": true,
"subtype": 5,
"mustHaveRecipient": false,
"name": "ExchangeBuy",
"canHaveRecipient": false,
"isGlobal": false,
"type": 5,
"isPhasingSafe": true
},
"FxtCoinExchangeOrderIssue": {
"isPhasable": true,
"subtype": 0,
"mustHaveRecipient": false,
"name": "FxtCoinExchangeOrderIssue",
"canHaveRecipient": false,
"type": -4,
"isPhasingSafe": true
},
"VoteCasting": {
"isPhasable": true,
"subtype": 1,
"mustHaveRecipient": false,
"name": "VoteCasting",
"canHaveRecipient": false,
"isGlobal": false,
"type": 9,
"isPhasingSafe": false
},
"RemovePermission": {
"isPhasable": true,
"subtype": 1,
"mustHaveRecipient": true,
"name": "RemovePermission",
"canHaveRecipient": true,
"isGlobal": false,
"type": 13,
"isPhasingSafe": false
},
"ContractReference": {
"isPhasable": true,
"subtype": 0,
"mustHaveRecipient": false,
"name": "ContractReference",
"canHaveRecipient": false,
"isGlobal": true,
"type": 12,
"isPhasingSafe": true
},
"AliasAssignment": {
"isPhasable": true,
"subtype": 0,
"mustHaveRecipient": false,
"name": "AliasAssignment",
"canHaveRecipient": false,
"isGlobal": false,
"type": 8,
"isPhasingSafe": false
},
"FxtCoinExchangeOrderCancel": {
"isPhasable": true,
"subtype": 1,
"mustHaveRecipient": false,
"name": "FxtCoinExchangeOrderCancel",
"canHaveRecipient": false,
"type": -4,
"isPhasingSafe": true
},
...
Get Plugins
Get a list of all installed plugins on the server.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getPlugins
Example response: 200
{
"plugins": [
"hello_world"
],
"requestProcessingTime": 13
}
Get State
Get the state of the server node and network.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getState
Example response: 200
{
"numberOfPeers": 2000,
"correctInvalidFees": false,
"numberOfUnlockedAccounts": 0,
"ledgerTrimKeep": 30000,
"maxAPIRecords": 100,
"blockchainState": "UP_TO_DATE",
"includeExpiredPrunable": true,
"numberOfConnectedPeers": 8,
"maxMemory": 16844324864,
"maxRollback": 800,
"isScanning": false,
"isDownloading": false,
"cumulativeDifficulty": "239787687123477970",
"freeMemory": 725381920,
"peerPort": 27874,
"apiProxy": false,
"availableProcessors": 16,
"needsAdminPassword": true,
"currentMinRollbackHeight": 3343653,
"numberOfBlocks": 3345064,
"isTestnet": false,
"isLightClient": false,
"services": [
"API",
"CORS"
],
"requestProcessingTime": 2,
"version": "2.4.2",
"lastBlock": "18224502269305159846",
"totalMemory": 1006632960,
"application": "Ardor",
"lastBlockchainFeederHeight": 3344845,
"maxPrunableLifetime": 7776000,
"isOffline": false,
"time": 197531893,
"customLoginWarning": null,
"lastBlockchainFeeder": "ardor03.jelurida.com"
}
Get Time
Get the current time.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getTime
Example response: 200
{
"unixtime": 1712296763,
"time": 197531964,
"requestProcessingTime": 6
}
Last updated