SET Crypto API Suite · Positions and watched addresses
One watched address, with the next block it reads
GET/v1/close/watched_addresses/{watch}
One watched address: its chain, label, state, the block it started from, the next block Close reads, the transfers recorded so far, and the last read failure, if any.
Path parameters
watchstringrequired- The watched address's id:
cw_followed by 32 hex characters.
Notes
- SET Close is switched on per deployment, and address watching has its own switch: 403
close_offwhile Close is off, then 403close_watch_offwhile watching is off. CheckGET /v1/capabilities(features.close,features.closeWatch). - Needs a key with the
readscope. - 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_off403 close_watch_off404 not_found