You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: masterBitgoExpress.json
+61-32Lines changed: 61 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,8 @@
190
190
},
191
191
"/api/{coin}/wallet/{walletId}/consolidate": {
192
192
"post": {
193
+
"summary": "Build, sign, and send a consolidation transaction for an account-based asset all in 1 call.",
194
+
"description": "For account-based assets, consolidating the balances in the receive addresses to the base address maximizes the spendable balance of a wallet.",
193
195
"parameters": [
194
196
{
195
197
"name": "walletId",
@@ -214,31 +216,36 @@
214
216
"schema": {
215
217
"type": "object",
216
218
"properties": {
217
-
"pubkey": {
218
-
"type": "string"
219
-
},
220
219
"source": {
221
220
"type": "string",
222
221
"enum": [
223
222
"user",
224
223
"backup"
225
-
]
224
+
],
225
+
"description": "The key to use for signing the transaction"
226
+
},
227
+
"pubkey": {
228
+
"type": "string",
229
+
"description": "Public key of the key used for signing multisig transactions"
226
230
},
227
231
"consolidateAddresses": {
228
232
"type": "array",
229
233
"items": {
230
-
"type": "string"
234
+
"type": "string",
235
+
"description": "Optional: restrict the consolidation to the specified receive addresses. If not provided, will consolidate the funds from all receive addresses up to 500 addresses."
231
236
}
232
237
},
238
+
"commonKeychain": {
239
+
"type": "string",
240
+
"description": "For TSS wallets, this is the common keychain of the wallet"
241
+
},
233
242
"apiVersion": {
234
243
"type": "string",
235
244
"enum": [
236
245
"full",
237
246
"lite"
238
-
]
239
-
},
240
-
"commonKeychain": {
241
-
"type": "string"
247
+
],
248
+
"description": "The Trasaction Request API version to use for MPC EdDSA Hot Wallets. Defaults based on the wallet type and asset curve."
0 commit comments