Decode QR Code
Decodes a base64-encoded jpeg to a UTF-8 string.
Method: POST
https://ardr.nownodes.io/nxt?requestType=decodeQRCode
Example body (x-www-form-urlencoded)
requestType = decodeQRCode
qrCodeBase64 = /9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRo...
Example response: 200
{
"errorDescription": "Illegal base64 character 2e",
"errorCode": 4,
"error": "java.lang.IllegalArgumentException: Illegal base64 character 2e"
}
Encode QR Code
Gets the mime type of uploaded file or data.
Method: POST
https://ardr.nownodes.io/nxt?requestType=encodeQRCode
Example body (x-www-form-urlencoded)
requestType = encodeQRCode
qrCodeBase64 = ARDOR-7A48-47JL-T7LD-D5FS3
width = 100
height = 100
Example response: 200
{
"qrCodeBase64": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABkAGQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvA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Z79a8//aa/5lb/ALe//aNAHAfDL4Zf8LG/tT/ib/2f9g8r/l283fv3/wC2uMbPfrR8Tfhl/wAK5/sv/ib/ANofb/N/5dvK2bNn+22c7/bpR8Tfhl/wrn+y/wDib/2h9v8AN/5dvK2bNn+22c7/AG6UfE34Zf8ACuf7L/4m/wDaH2/zf+XbytmzZ/ttnO/26UAHwy+Jv/Cuf7U/4lH9ofb/ACv+Xnytmzf/ALDZzv8AbpR8Tfib/wALG/sv/iUf2f8AYPN/5efN379n+wuMbPfrXv8A8Tfib/wrn+y/+JR/aH2/zf8Al58rZs2f7DZzv9uleAfDL4m/8K5/tT/iUf2h9v8AK/5efK2bN/8AsNnO/wBulAH1/RXwBRQAUUUUAFe//sy/8zT/ANun/taiigA/Zl/5mn/t0/8Aa1H7Mv8AzNP/AG6f+1qKKAD9mX/maf8At0/9rV9AUUUAfP8A+zL/AMzT/wBun/taj9pr/mVv+3v/ANo0UUAH7TX/ADK3/b3/AO0a+gKKKAPgCiiigD//2Q==",
"requestProcessingTime": 107
}
Evaluate Expression
Evaluates an approval composite phasing model based on one or more approval models.
Method: GET
https://ardr.nownodes.io/nxt?requestType=evaluateExpression&expression=DMS|!DMS
Example response: 200
{
"variables": [
"DMS"
],
"literalsCount": 2,
"requestProcessingTime": 3
}
Full Hash To Id
Converts a full hash to an ID.
Method: POST
https://ardr.nownodes.io/nxt?requestType=fullHashToId&fullHash=c34af8f1509e3be79c4562e24125ff2a8f026871fdd1a0366ad315bf8fab76b9
Example response: 200
{
"stringId": "16662085316881435331",
"requestProcessingTime": 1,
"longId": "-1784658756828116285"
}
Hash
Calculates the hash of a secret for use in phased transactions with voting model 5 (Vote By Secret).
Method: GET
https://ardr.nownodes.io/nxt?requestType=hash&hashAlgorithm=2&secret=74657374
Example response: 200
{
"requestProcessingTime": 1,
"hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}
Hex Convert
Converts a text string into a UTF-8 hex string and if the text input is already a hex string, also into text.
Method: GET
https://ardr.nownodes.io/nxt?requestType=hexConvert&string=616263
Example response: 200
{
"binary": "363136323633",
"text": "abc",
"requestProcessingTime": 0
}
Long Convert
Converts an ID to the signed long integer representation used internally.
Method: GET
https://ardr.nownodes.io/nxt?requestType=longConvert&id=15323192282528158131
Example response: 200
{
"stringId": "15323192282528158131",
"requestProcessingTime": 0,
"longId": "-3123551791181393485"
}
RS Convert
Get both the Reed-Solomon account address and the account number given an account ID.
Method: GET
https://ardr.nownodes.io/nxt?requestType=rsConvert&account=ARDOR-L6FM-89WK-VK8P-FCRBB
Example response: 200
{
"accountRS": "ARDOR-L6FM-89WK-VK8P-FCRBB",
"accountLongId": "-3123551791181393485",
"requestProcessingTime": 1,
"account": "15323192282528158131"
}
Split Secret
Split a secret into pieces.
Method: POST
https://ardr.nownodes.io/nxt?requestType=splitSecret
Example body (x-www-form-urlencoded)
requestType = splitSecret
totalPieces = 5
minimumPieces = 5
Example response: 200
{
"errorDescription": "At least one of [secret, privateKey] must be specified",
"errorCode": 3
}
Combine Secret
Combine a secret from its pieces.
Method: POST
https://ardr.nownodes.io/nxt?requestType=combineSecret
Example body (x-www-form-urlencoded)
requestType = combineSecret
pieces = 0:-1727339232:5:3:0:1:6f661e87
pieces = 0:-1727339232:5:3:0:2:00ffcec648
pieces = 0:-1727339232:5:3:0:5:049e45281f
Example response: 200
Get Configuration
Get the current configuration from a node.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getConfiguration&adminPassword=IWontTellYou
Example response: 200
{
"errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
"errorCode": 4
}
Set Configuration
Set the properties configuration of a node.
Method: POST
https://ardr.nownodes.io/nxt?requestType=setConfiguration
Example body (x-www-form-urlencoded)
requestType = setConfiguration
propertiesJSON = [{"property":"nxt.maxPrunableLifetime","value":"-1"}]
shutdown = true
adminPassword = xxx
Example response: 200
{
"errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
"errorCode": 4
}
Last updated