From 1c2648c22e9efbb5e1dd5d1eb7492cf62823fe7c Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Tue, 29 Jul 2025 16:48:36 +0000 Subject: [PATCH] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/api.yaml b/api.yaml index 05b789e..787ce5d 100644 --- a/api.yaml +++ b/api.yaml @@ -31486,6 +31486,27 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError' + /api/v2/wallet/solvency-data: + get: + summary: Get proof of solvency data. + description: Get proof of solvency data for Go Accounts. This data consists of the list of supported assets (for proof of solvency), the total liabilities for those assets, BitGo's total reserves for those assets, and the ratio of reserves to liabilities for each asset. + operationId: v2.wallet.solvency.data.get + tags: + - Solvency + parameters: [] + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/SolvencyData' + '500': + description: Internal Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' /api/v2/wallets: get: summary: List wallets @@ -54308,6 +54329,32 @@ components: - pendingChainInitialization - minimumFunding - trustedTokens + SolvencyData: + title: SolvencyData + type: object + description: 'Solvency data schema consists of: - assets: array of supported asset symbols - liabilities: array of total liabilities for each asset - reserves: array of total reserves for each asset - ratios: ratio of reserves to liabilities for each asset' + properties: + assets: + type: array + items: + type: string + liabilities: + type: array + items: + type: string + reserves: + type: array + items: + type: string + ratios: + type: array + items: + type: number + required: + - assets + - liabilities + - reserves + - ratios SpendingLimits: type: object additionalProperties: