/api/v1/remove-from-contract-whitelistRemove an address from a token whitelist
Removes an address from a token's approved-destination list, returning a transaction proposal that the owning vault's signers approve before the change takes effect on-chain.
MANAGE_WORKSPACEThe token enforces its own whitelist on-chain, so removing an address is a
contract action rather than a saved setting. The response has the same shape as
POST /api/v1/call-contract: a psbt_id and a
psbt_base64 for the owning vault's signers to approve through
POST /api/v1/sign-psbt. The address stays an approved
destination until the vault's threshold is met and the transaction is broadcast.
Removal is per token. An address taken off one token's list remains approved for
any other token it was added to, and it stays in the workspace Address Book
until you remove it there as well with
POST /api/v1/remove-whitelist-address; the
Address Book is a list of named addresses and carries no approval of its own.
Whitelist Management and
Managing whitelisted addresses
describe both layers as operators see them. Note the field names on this
endpoint: it takes workspace_uid and wallet_uid, where the token endpoints
take workspace_id and wallet_id.
When the last required approval arrives, the removal is finalised and submitted to the Bitcoin network automatically, and it cannot be reversed once broadcast. Check for a pending transfer to this address before you remove it, since the token will no longer accept that destination.
workspace_uidnumberrequiredwallet_uidstringrequiredcontract_uidnumberrequiredaddress_to_removestringrequired#What happens next
The owning vault's signers approve the returned proposal with
POST /api/v1/sign-psbt, and the removal takes effect once the
threshold is met and the transaction confirms. Follow it on
GET /api/v1/contract-calls, where the call_uid above
appears as UID, and confirm the resulting list with
GET /api/v1/get-workspace-whitelist.