Skip to content

createAddressList

AxVultis edited this page Nov 29, 2022 · 1 revision

The createAddressList method creates additional address in your wallet from the provided list of private keys.

Request Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 27,
  "method": "createAddressList",
  "params": {
    "privateSpendKeys": [
      "e2e1b036da85ef4eed5afadeb663187baf3092576cc273af702ebb522e214c06",
      "976668352ae3a48e5dc41aaa7c88d8e5a09dfb13ec228c42f752befd25c5030b",
      "e991a5f6f7bb93157f112d651c2617df4368ae7d649ae886dcf253ed656c8f0b"
    ]
  }
}

Request Details:

Argument Mandatory Description Format
privateSpendKeys Yes Private spend keys to import array of strings
reset No Determines whether reset wallet or not. Defaults to false boolean

Response Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 27,
  "result": {
    "addresses": [
      "ccx7Evy6TbqSnj3ZK9R1G8XTwB4BYyM8E6fnA8rgBSXagpD3jq9bW3xChgTo7JWgLwSYSos5eRuHWdsRTDnVxfBb5CMEjihaST",
      "ccx7ZDMBYYyGhSwU53Bmv4iu2ymPgJoH6itXzwvrETAafB5RKDnmVwtChgTo7JWgLwSYSos5eRuHWdsRTDnVxfBb5CMEhLrkyG",
      "ccx7RtZ64f2hcC1RQfYKR3KFLkj8ffNqZTJSrXfJF6bgSscwUS7AbYSChgTo7JWgLwSYSos5eRuHWdsRTDnVxfBb5CMEf9PiPa"
    ]
  }
}

Response Details:

Argument Description Format
addresses Imported addresses array of strings
Clone this wiki locally