Retrofit the EcDSA MPCv1 Custodial wallets of a Bitgo Org to MPCv2

post/api/v2/admin/custodialwallets/retrofit

Each API call shall find and retrofit the qualified custodial wallets of the given Bitgo Org up to a given limit.

Request Body

bitgoOrg string required
Find the wallets of this Bitgo Org to retrofit
Allowed values: BitGo Trust BitGo New York BitGo Germany BitGo Switzerland BitGo Europe ApS Frankfurt DE Trust BitGo Singapore BitGo Korea BitGo Custody MENA FZE BitGo India BitGo Sister Trust 1 BitGo Inc
type string required
Type of keys to retrofit the wallet to. (only support MPCv2 now)
Allowed values: MPCv2 Eddsa
limit number
Maximum number of wallets to retrofit. If there are still more wallets, use the "nextBatchPrevId" value to retrofit the next batch.
prevId string
Return the next batch of results, based on the "nextBatchPrevId" value from the previous batch.
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
walletIds array[string]
Wallet IDs to retrofit. If provided, the API will only retrofit the wallets with these IDs.

200 Response

nextBatchPrevId string <uuid>
When a result set is truncated, this field returns the id of the last object in the previous batch. To get the next batch of results, pass this value via the "prevId" query parameter.
Example: 585951a5df8380e0e3063e9f
foundKeysCount number required
Total number of derived bitgo keys found
foundWalletsCount number required
Total number of wallets found
updatedWalletsCount number required
Total number of wallets updated
errors array[string] required
The errors while updating the wallets