Prerequisites
- An active MicroVault
VAULT_ID - Its MicroVault account
CUSTOMER_ID - Every wallet that should remain approved, because the update replaces the complete list
1. Read the current list
shareholders.addresses, add or remove addresses, then send the full replacement list in the next step. Omitting an existing address removes it when the new root is published.
2. Replace the draft
draft.root from the response.
3. Publish the root
Prepare aset_shareholder_root authorization with a new idempotency key:
POST /v2/microvaults/authorizations/{intentId}/relay. Wait until the authorization is confirmed or executed.
4. Fetch the active proof
depositWithProof transaction.
Confirm access
The wallet is approved when its proof endpoint returns200 and the returned root matches the active root from the shareholders endpoint. A 404 means the wallet is not part of the active root yet; continue polling after publication or correct the full address list and publish a new root.