Debug

Clear Unconfirmed Transactions

Empties the unconfirmed transaction pool.

Method: POST

https://ardr.nownodes.io/nxt?requestType=clearUnconfirmedTransactions

Example body (x-www-form-urlencoded)

requestType = exchangeCoins
secretPhrase = IWontTellYou
chain = 12
adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Dump Peers

Get all active peers, optionally of a certain version or a minimum weight.

Method: POST

https://ardr.nownodes.io/nxt?requestType=dumpPeers&version=2.0.14&connect=true

Example body (x-www-form-urlencoded)

empty

Example response: 200

{
    "peers": "",
    "count": 0,
    "requestProcessingTime": 11
}

Full Reset

Deletes the entire blockchain.

Method: POST

https://ardr.nownodes.io/nxt?requestType=fullReset

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Get All Broadcasted Transactions

Get unconfirmed transactions broadcasted from this node but not yet received back from a peer, if transaction rebroadcasting is enabled.

Method: POST

https://ardr.nownodes.io/nxt?requestType=getAllBroadcastedTransactions

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Get All Waiting Transactions

Get unconfirmed transactions temporarily kept in memory during transaction processing.

Method: POST

https://ardr.nownodes.io/nxt?requestType=getAllWaitingTransactions

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Get Log

Get up to 100 of the most recent log messages from a memory buffer.

Method: POST

https://ardr.nownodes.io/nxt?requestType=getLog&count=3

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Get Stack Traces

Get the stack traces of the currently running threads in reverse id order.

Method: POST

https://ardr.nownodes.io/nxt?requestType=getStackTrace

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Lucene Reindex

Forces a rebuild of the Lucene search index.

Method: POST

https://ardr.nownodes.io/nxt?requestType=luceneReindex

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Pop Off

Removes specified number of blocks (and associated transactions) from the top of the blockchain.

Method: POST

https://ardr.nownodes.io/nxt?requestType=popOff&numBlocks=1

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Rebroadcast Unconfirmed Transactions

Rebroadcast transactions in the unconfirmed pool to peers, until received back or found in the blockchain.

Method: POST

https://ardr.nownodes.io/nxt?requestType=rebroadcastUnconfirmedTransactions

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Requeue Unconfirmed Transactions

Requeue unconfirmed transactions.

Method: POST

https://ardr.nownodes.io/nxt?requestType=requeueUnconfirmedTransactions

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Retrieve Pruned Data

Initiates a task of requesting and restoring missing prunable data.

Method: POST

https://ardr.nownodes.io/nxt?requestType=retrievePrunedData

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Scan

Scans the top of the blockchain.

Method: POST

https://ardr.nownodes.io/nxt?requestType=scan

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Set Logging

Sets the log level and optionally specifies communication events to be logged, without restarting the server.

Method: POST

https://ardr.nownodes.io/nxt?requestType=setLogging

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Shutdown

Shutdown the server.

Method: POST

https://ardr.nownodes.io/nxt?requestType=shutdown

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Trim Derived Tables

Trigger a derived tables trim, and a prunable tables pruning.

Method: POST

https://ardr.nownodes.io/nxt?requestType=trimDerivedTables

Example body (x-www-form-urlencoded)

adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Last updated