directory

Adopt an existing Privy wallet as the account's 2-of-2 wallet

Threads an ALREADY-EXISTING quorum-owned Privy wallet into account_wallets as the account's multisig wallet, and makes it primary. For wallets minted outside v3 (a migration spike, or by hand during an incident) — those are invisible on the Privy user object, so no automatic path can discover them, and the ensure path would mint a duplicate instead of adopting. The wallet's live owner quorum is VERIFIED to be a true 2-of-2 naming this account's Privy user before anything is written; a mistyped wallet id is refused rather than recorded. Refuses when the account already records a multisig wallet.

post/admin/wallets/accounts/{id}/adopt-multisig

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/admin/wallets/accounts/{id}/adopt-multisig
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

idstring required

account id

Request body

privy_wallet_idstring

Response

OK

addressstring
owner_quorum_idstring
successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.