Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET Crypto API Suite

SET Crypto API Suite · Positions and watched addresses

Stop watching; what was recorded stays

POST/v1/close/watched_addresses/{watch}/stop

Key scope: write · Success: 200

Stops watching an address. state becomes stopped; the transfers already recorded stay.

Path parameters

watch stringrequired
The watched address's id: cw_ followed by 32 hex characters.

Headers

Idempotency-Key string
Any unique string, so a retry runs once. See Idempotency.

Notes

  • SET Close is switched on per deployment, and address watching has its own switch: 403 close_off while Close is off, then 403 close_watch_off while watching is off. Check GET /v1/capabilities (features.close, features.closeWatch).
  • Needs a key with the write scope.
  • A stopped address cannot be scanned (409 watch_stopped).
  • Stopping an address already stopped is not an error: it answers 200 with state stopped.
  • An address of the other mode (live or test) answers 404 not_found. This call reads no chain.
  • This example is a recorded run of SET's own code (wallet release e9b03447) with a sandbox key; ids and times are that run's.

Errors

  • 403 close_off
  • 403 close_watch_off
  • 404 not_found

All codes: Errors.