Skip to main content

Delete unused addresses from an existing wallet

Deletes all addresses of a wallet that have not been used.

Path Parameters
id integer — REQUIRED

Wallet ID

Responses
200

success

Schema
id uuid — REQUIRED
isConfirmed boolean
displayName string
btcAddress string

next address that will be used

btcAddresses string[]

list of addresses (used an unused)

DELETE /apps/v20210824/wallets/:id/addresses
id — path
https://api.dev.swanbitcoin.com
curl -L -X DELETE 'https://api.dev.swanbitcoin.com/apps/v20210824/wallets/:id/addresses' \
-H 'Accept: application/json'