wallet-cli contact remove

August 5, 2026 · View on GitHub

Remove a recipient from the contact book.

Synopsis

wallet-cli contact remove <name>

Description

Deletes a recipient from the local address book. Local record only — nothing on-chain is affected. Purely local; no node access.

Options

No command-specific options; name is a positional argument, plus the global options.

Examples

wallet-cli contact remove bob
✅ Contact removed
  Name     bob
  Address  TXe4Kd8nP2rF9gH5jL3mV6cW1bN7yS0aQz
wallet-cli contact remove bob -o json
{"schema":"wallet-cli.result.v1","success":true,"command":"contact.remove","data":{"name":"bob","address":"TXe4Kd8nP2rF9gH5jL3mV6cW1bN7yS0aQz"},"meta":{"durationMs":3,"warnings":[]}}

Output

FieldTypeMeaning
namestringThe removed contact's name
addressstringIts address

Exit status

0 success · 1 execution failure (not_found — no such contact, encoding_error, insecure_permissions) · 2 usage error.

See also

contact add · contact list