Skip to content

Commit 60bccb5

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent 18da090 commit 60bccb5

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed

api.yaml

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28730,6 +28730,50 @@ paths:
2873028730
schema:
2873128731
type: object
2873228732
properties: {}
28733+
/api/stablecoin/v1/tokens/{token}/details:
28734+
get:
28735+
summary: Get cross-chain total supply for a token
28736+
description: Returns the aggregated total supply for a token across all supported chains.
28737+
operationId: stablecoin.v1.tokens.totalSupply.get
28738+
tags:
28739+
- Stablecoin
28740+
parameters:
28741+
- name: token
28742+
description: Token symbol or identifier for the stablecoin to get total supply for.
28743+
in: path
28744+
required: true
28745+
schema:
28746+
type: string
28747+
example: usd1
28748+
minLength: 1
28749+
responses:
28750+
'200':
28751+
description: OK
28752+
content:
28753+
application/json:
28754+
schema:
28755+
$ref: '#/components/schemas/GetTokenDetailsResponse'
28756+
'400':
28757+
description: Bad Request
28758+
content:
28759+
application/json:
28760+
schema:
28761+
type: object
28762+
properties: {}
28763+
'404':
28764+
description: Not Found
28765+
content:
28766+
application/json:
28767+
schema:
28768+
type: object
28769+
properties: {}
28770+
'500':
28771+
description: Internal Server Error
28772+
content:
28773+
application/json:
28774+
schema:
28775+
type: object
28776+
properties: {}
2873328777
/api/v1/user/login:
2873428778
post:
2873528779
summary: Login Request
@@ -52754,6 +52798,61 @@ components:
5275452798
example: fake_trust_go_account_id
5275552799
required:
5275652800
- trustAccountWalletId
52801+
GetTokenDetailsResponse:
52802+
title: GetTokenDetailsResponse
52803+
type: object
52804+
properties:
52805+
token:
52806+
type: string
52807+
description: Token symbol or identifier
52808+
example: usd1
52809+
minLength: 1
52810+
totalSupplyAggregated:
52811+
type: string
52812+
description: Total supply across all chains in the smallest unit
52813+
example: '5000000000000000000'
52814+
minLength: 1
52815+
supplyByChain:
52816+
type: array
52817+
items:
52818+
type: object
52819+
properties:
52820+
chain:
52821+
type: string
52822+
description: Blockchain network identifier
52823+
example: eth
52824+
minLength: 1
52825+
supply:
52826+
type: string
52827+
description: Total supply for this chain in the smallest unit (wei, satoshi, etc.)
52828+
example: '1000000000000000000'
52829+
minLength: 1
52830+
success:
52831+
type: boolean
52832+
description: Whether the supply fetch was successful
52833+
example: true
52834+
error:
52835+
type: string
52836+
description: Error message if supply fetch failed
52837+
example: Network timeout
52838+
cached:
52839+
type: boolean
52840+
description: Whether this supply data was retrieved from cache
52841+
example: true
52842+
required:
52843+
- chain
52844+
- supply
52845+
- success
52846+
description: Breakdown of supply by chain
52847+
totalReserves:
52848+
type: string
52849+
description: Total reserves
52850+
minLength: 1
52851+
required:
52852+
- token
52853+
- totalSupplyAggregated
52854+
- supplyByChain
52855+
- totalReserves
5275752856
GetTransactionRequestsResponse:
5275852857
title: GetTransactionRequestsResponse
5275952858
type: object

0 commit comments

Comments
 (0)