Key

Generate a key

Generates the next key in the deterministic key sequence (as determined by the master derivation key) and adds it to the wallet, returning the public key.

POSThttps://algo.nownodes.io/v1/key
Body
display_mnemonicboolean
wallet_handle_tokenstring
Response

Response to POST /v1/key

Body
addressstring
errorboolean
messagestring
Request
const response = await fetch('https://algo.nownodes.io/v1/key', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "address": "text",
  "error": false,
  "message": "text"
}

Delete a key

Deletes the key with the passed public key from the wallet.

DELETEhttps://algo.nownodes.io/v1/key
Body
addressstring
wallet_handle_tokenstring
wallet_passwordstring
Response

Response to DELETE /v1/key

Body
errorboolean
messagestring
Request
const response = await fetch('https://algo.nownodes.io/v1/key', {
    method: 'DELETE',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "error": false,
  "message": "text"
}