The deleteAddress method is quiet explicit: it deletes a specified spend address 8-)

back to methods summary

Input:

ArgumentMandatoryDescriptionFormatExample
address Yes Address to deletestringir48V76oJqAhYpGmsJgn79Yk6vvwYhU2cDc7azm3UW8C4EyzhhEDUUQjXtrbwzwpJ6Kp2ebwHErWD9VxBVnmXBk41oDB3Lt4j

Output: Return empty result JSON object in case of success.

Input example:

{  
  "params":{  
     "address":"ir2Zyyk347tKN1KMPLWSJFUjaj6cz4m5TUGBm383zvArdE2QUEXh5r8jXtrbwzwpJ6Kp2ebwHErWD9VxBVnmXBk41oD6CFt9m"
  },
  "jsonrpc":"2.0",
  "id":"test",
  "method":"deleteAddress"
}

curl -s -X POST -d '{"params":{"address":"ir2Zyyk347tKN1KMPLWSJFUjaj6cz4m5TUGBm383zvArdE2QUEXh5r8jXtrbwzwpJ6Kp2ebwHErWD9VxBVnmXBk41oD6CFt9m"},"jsonrpc":"2.0","id":"test","method":"deleteAddress"}' localhost:14101/json_rpc | jq

Output example:

{
  "id": "test",
  "jsonrpc": "2.0",
  "result": {}
}

back to methods summary