Home

Get the one-time shared key used for encryption of messages

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
accountstring

The recipient account ID

secretPhrasestring

The secret phrase of the sender

privateKeystring

The privateKey (hex) of the derived account

noncestring

The 32-byte pseudorandom nonce

idintegerrequired

Response

200OK

Shared key retrieved successfully

400Bad Request

Bad Request

401Unauthorized

Unauthorized — Missing or invalid API key

500Internal Server Error

Internal Server Error