Skip to content

Commit d0eeff3

Browse files
Merge pull request #165 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 7a494d3 + 022df9b commit d0eeff3

File tree

1 file changed

+43
-31
lines changed

1 file changed

+43
-31
lines changed

api.yaml

Lines changed: 43 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -44411,38 +44411,9 @@ components:
4441144411
type: string
4441244412
description: The staking reward balance in base units. Guaranteed to not lose precision. The is only returned if the `includeStakingBalances` query parameter is set to `true`.
4441344413
offchain:
44414-
type: object
44414+
allOf:
44415+
- $ref: '#/components/schemas/OffChainWalletBalance'
4441544416
description: Lightning Balances
44416-
properties:
44417-
inboundBalance:
44418-
type: string
44419-
description: Inbound balance in millisatoshis (remote balance)
44420-
inboundPendingBalance:
44421-
type: string
44422-
description: Pending inbound balance in millisatoshis (pending open remote balance)
44423-
inboundUnsettledBalance:
44424-
type: string
44425-
description: Unsettled inbound balance in millisatoshis (unsettled remote balance)
44426-
outboundBalance:
44427-
type: string
44428-
description: Outbound balance in millisatoshis (local balance)
44429-
outboundPendingBalance:
44430-
type: string
44431-
description: Pending outbound balance in millisatoshis (pending open local balance)
44432-
outboundUnsettledBalance:
44433-
type: string
44434-
description: Unsettled outbound balance in millisatoshis (unsettled local balance)
44435-
outboundLockedBalance:
44436-
type: string
44437-
description: Locked (from pending force closed channels) outbound balance in millisatoshis (locked local balance)
44438-
required:
44439-
- inboundBalance
44440-
- inboundPendingBalance
44441-
- inboundUnsettledBalance
44442-
- outboundBalance
44443-
- outboundPendingBalance
44444-
- outboundUnsettledBalance
44445-
- outboundLockedBalance
4444644417
required:
4444744418
- coin
4444844419
- balanceString
@@ -47955,6 +47926,39 @@ components:
4795547926
required:
4795647927
- clientSecret
4795747928
- $ref: '#/components/schemas/InternalUserOAuthSetting'
47929+
OffChainWalletBalance:
47930+
title: OffChainWalletBalance
47931+
type: object
47932+
properties:
47933+
inboundBalance:
47934+
type: string
47935+
description: Inbound balance in millisatoshis (remote balance)
47936+
inboundPendingBalance:
47937+
type: string
47938+
description: Pending inbound balance in millisatoshis (pending open remote balance)
47939+
inboundUnsettledBalance:
47940+
type: string
47941+
description: Unsettled inbound balance in millisatoshis (unsettled remote balance)
47942+
outboundBalance:
47943+
type: string
47944+
description: Outbound balance in millisatoshis (local balance)
47945+
outboundPendingBalance:
47946+
type: string
47947+
description: Pending outbound balance in millisatoshis (pending open local balance)
47948+
outboundUnsettledBalance:
47949+
type: string
47950+
description: Unsettled outbound balance in millisatoshis (unsettled local balance)
47951+
outboundLockedBalance:
47952+
type: string
47953+
description: Locked (from pending force closed channels) outbound balance in millisatoshis (locked local balance)
47954+
required:
47955+
- inboundBalance
47956+
- inboundPendingBalance
47957+
- inboundUnsettledBalance
47958+
- outboundBalance
47959+
- outboundPendingBalance
47960+
- outboundUnsettledBalance
47961+
- outboundLockedBalance
4795847962
Offchain:
4795947963
title: Offchain
4796047964
type: object
@@ -60768,6 +60772,10 @@ components:
6076860772
rewardBalanceString:
6076960773
type: string
6077060774
description: The staking reward balance in base units. Guaranteed to not lose precision. The is only returned if the `includeStakingBalances` query parameter is set to `true`.
60775+
offchain:
60776+
allOf:
60777+
- $ref: '#/components/schemas/OffChainWalletBalance'
60778+
description: Lightning Balances
6077160779
users:
6077260780
type: array
6077360781
items:
@@ -61621,6 +61629,10 @@ components:
6162161629
rewardBalanceString:
6162261630
type: string
6162361631
description: The staking reward balance in base units. Guaranteed to not lose precision. The is only returned if the `includeStakingBalances` query parameter is set to `true`.
61632+
offchain:
61633+
allOf:
61634+
- $ref: '#/components/schemas/OffChainWalletBalance'
61635+
description: Lightning Balances
6162461636
users:
6162561637
type: array
6162661638
items:

0 commit comments

Comments
 (0)