ApiWatch only
Import an xpub (watch-only wallet)
POST
Parses + validates the xpub (xpub/ypub/zpub, or tpub/upub/vpub on testnet), stores it encrypted, and derives the first receive addresses. Zero private key material.
bearerX-API-Version?stringAPI version for header-based versioning
Default
"1"Value in
"1""2"Wallet imported
curl -X POST 'http://localhost:3001/api/v1/watchonly/wallets'Example Response201
Empty