latestOpenAPI 3.0.32026-08-20146131.7 MB

672b1916ba61

Wallets

Set default wallet

Resolves walletId to its exact Config or Connection owner and changes only that owner's default wallet. Provider, when supplied, is a consistency assertion.

post/v1/wallets/default-wallet

Request body

provider'local' | 'fireblocks' | 'privy' | 'coinbase_cdp' | 'para' | 'turnkey' | 'dfns' | 'ibm_haven' | 'anchorage'

Optional consistency assertion for the Provider of the wallet resolved by walletId.

walletIdstring required

Provider wallet ID to set as the default for its exact owning target.

Example request

{
  "provider": "privy",
  "walletId": "privy_wallet_123"
}

Response

Default wallet updated

defaultWalletIdstring required

Wallet ID set as default.

Example response

{
  "defaultWalletId": "privy_wallet_123"
}