Skip to content

Commit 5a7973d

Browse files
Merge pull request #215 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 6c3ab39 + 4ad8d8f commit 5a7973d

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

api.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37130,6 +37130,19 @@ components:
3713037130
type: integer
3713137131
description: the height of the block that provides the base values
3713237132
example: 11228504
37133+
BalancesCodec:
37134+
title: BalancesCodec
37135+
type: array
37136+
items:
37137+
type: object
37138+
properties:
37139+
Asset:
37140+
type: string
37141+
Amount:
37142+
type: string
37143+
required:
37144+
- Asset
37145+
- Amount
3713337146
BankAccountCurrency:
3713437147
title: BankAccountCurrency
3713537148
description: |
@@ -53930,24 +53943,15 @@ components:
5393053943
type: object
5393153944
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'
5393253945
properties:
53933-
assets:
53934-
type: array
53935-
items:
53936-
type: string
5393753946
liabilities:
53938-
type: array
53939-
items:
53940-
type: string
53947+
$ref: '#/components/schemas/BalancesCodec'
5394153948
reserves:
53942-
type: array
53943-
items:
53944-
type: string
53949+
$ref: '#/components/schemas/BalancesCodec'
5394553950
ratios:
5394653951
type: array
5394753952
items:
5394853953
type: number
5394953954
required:
53950-
- assets
5395153955
- liabilities
5395253956
- reserves
5395353957
- ratios
@@ -55587,9 +55591,7 @@ components:
5558755591
MerkleRootWithAssetSumHash:
5558855592
type: string
5558955593
AssetSum:
55590-
type: array
55591-
items:
55592-
type: string
55594+
$ref: '#/components/schemas/BalancesCodec'
5559355595
required:
5559455596
- Proof
5559555597
- VerificationKey
@@ -58907,9 +58909,7 @@ components:
5890758909
UserId:
5890858910
type: string
5890958911
Balance:
58910-
type: array
58911-
items:
58912-
type: string
58912+
$ref: '#/components/schemas/BalancesCodec'
5891358913
required:
5891458914
- UserId
5891558915
- Balance

0 commit comments

Comments
 (0)