Home

Verify that a prunable message obtained from any source, when hashed, matches the hash of the original prunable message

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 for the message to be verified

messagestring

The plain message, if applicable

messageIsTextboolean

False if the provided plain message is a hex string

encryptedMessageDatastring

The data part of the encrypted data-nonce pair

encryptedMessageNoncestring

The nonce part of the encrypted data-nonce pair

messageToEncryptIsTextboolean

False if the encrypted message was a hex string before encryption

compressMessageToEncryptboolean

False if the encrypted message was not compressed before encryption

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

Prunable message verification result

400Bad Request

Bad Request

401Unauthorized

Unauthorized — Missing or invalid API key

500Internal Server Error

Internal Server Error