Skip to main content
Each subscription includes a proof that both the caller and share recipient are on the vault’s active shareholder allowlist. Updating the draft alone does not grant access; the new root must be authorized and confirmed onchain.

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

Start from the returned 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

Save draft.root from the response.

3. Publish the root

Prepare a set_shareholder_root authorization with a new idempotency key:
If managed approval starts, poll the returned authorization ID. Otherwise, sign its EIP-712 payload and submit the signature to POST /v2/microvaults/authorizations/{intentId}/relay. Wait until the authorization is confirmed or executed.

4. Fetch the active proof

Use the returned proof in the wallet’s depositWithProof transaction.

Confirm access

The wallet is approved when its proof endpoint returns 200 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.