Skip to content

Commit 37f219c

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent 137344e commit 37f219c

File tree

1 file changed

+121
-0
lines changed

1 file changed

+121
-0
lines changed

api.yaml

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29762,6 +29762,40 @@ paths:
2976229762
application/json:
2976329763
schema:
2976429764
$ref: '#/components/schemas/PlatformError'
29765+
/api/v2/wallet/{walletId}/liability-proofs:
29766+
get:
29767+
summary: Fetch liability proofs for a given wallet.
29768+
description: This API call is used to fetch liability proofs for a specific wallet identified by its ID.
29769+
operationId: '''v2.wallet.proofs.liability.get'''
29770+
tags:
29771+
- ProofsService
29772+
parameters:
29773+
- name: walletId
29774+
in: path
29775+
required: true
29776+
schema:
29777+
$ref: '#/components/schemas/WalletIdString'
29778+
responses:
29779+
'200':
29780+
description: OK
29781+
content:
29782+
application/json:
29783+
schema:
29784+
$ref: '#/components/schemas/UserVerificationElements'
29785+
'400':
29786+
description: Bad Request
29787+
content:
29788+
application/json:
29789+
schema:
29790+
oneOf:
29791+
- $ref: '#/components/schemas/PlatformError'
29792+
- $ref: '#/components/schemas/InvalidWalletId1'
29793+
'500':
29794+
description: Internal Server Error
29795+
content:
29796+
application/json:
29797+
schema:
29798+
$ref: '#/components/schemas/PlatformError'
2976529799
/api/v2/wallet/{walletId}/lightning/invoice:
2976629800
get:
2976729801
summary: Fetch lightning invoices
@@ -47571,6 +47605,31 @@ components:
4757147605
- token_type
4757247606
- grant_type
4757347607
- user
47608+
LowerProof:
47609+
title: LowerProof
47610+
type: object
47611+
properties:
47612+
Proof:
47613+
type: string
47614+
VerificationKey:
47615+
type: string
47616+
MerkleRoot:
47617+
type: string
47618+
MerkleRootWithAssetSumHash:
47619+
type: string
47620+
MerklePath:
47621+
type: array
47622+
items:
47623+
type: string
47624+
MerklePosition:
47625+
type: number
47626+
required:
47627+
- Proof
47628+
- VerificationKey
47629+
- MerkleRoot
47630+
- MerkleRootWithAssetSumHash
47631+
- MerklePath
47632+
- MerklePosition
4757447633
MarginNetOpenPosition:
4757547634
type: object
4757647635
required:
@@ -55861,6 +55920,28 @@ components:
5586155920
- memoId
5586255921
- lastMemoId
5586355922
- seqno
55923+
TopProof:
55924+
title: TopProof
55925+
type: object
55926+
properties:
55927+
Proof:
55928+
type: string
55929+
VerificationKey:
55930+
type: string
55931+
MerkleRoot:
55932+
type: string
55933+
MerkleRootWithAssetSumHash:
55934+
type: string
55935+
AssetSum:
55936+
type: array
55937+
items:
55938+
type: string
55939+
required:
55940+
- Proof
55941+
- VerificationKey
55942+
- MerkleRoot
55943+
- MerkleRootWithAssetSumHash
55944+
- AssetSum
5586455945
Touchpoint:
5586555946
type: object
5586655947
description: A Touchpoint. For example the Transfer from a Wallet Touchpoint.
@@ -59149,6 +59230,46 @@ components:
5914959230
properties:
5915059231
email:
5915159232
$ref: '#/components/schemas/Email'
59233+
UserVerificationElements:
59234+
title: UserVerificationElements
59235+
type: object
59236+
properties:
59237+
AccountInfo:
59238+
type: object
59239+
properties:
59240+
UserId:
59241+
type: string
59242+
Balance:
59243+
type: array
59244+
items:
59245+
type: string
59246+
required:
59247+
- UserId
59248+
- Balance
59249+
ProofInfo:
59250+
type: object
59251+
properties:
59252+
UserMerklePath:
59253+
type: array
59254+
items:
59255+
type: string
59256+
UserMerklePosition:
59257+
type: number
59258+
BottomProof:
59259+
$ref: '#/components/schemas/LowerProof'
59260+
MiddleProof:
59261+
$ref: '#/components/schemas/LowerProof'
59262+
TopProof:
59263+
$ref: '#/components/schemas/TopProof'
59264+
required:
59265+
- UserMerklePath
59266+
- UserMerklePosition
59267+
- BottomProof
59268+
- MiddleProof
59269+
- TopProof
59270+
required:
59271+
- AccountInfo
59272+
- ProofInfo
5915259273
UtxoAddress:
5915359274
title: Utxo Address
5915459275
type: object

0 commit comments

Comments
 (0)