Skip to content

Commit 2ff6c99

Browse files
Merge pull request #413 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents b6a2742 + 04a5980 commit 2ff6c99

1 file changed

Lines changed: 86 additions & 9 deletions

File tree

api.yaml

Lines changed: 86 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29856,6 +29856,66 @@ paths:
2985629856
type: string
2985729857
minLength: 1
2985829858
description: Share token to copy an existing applicant from another Sumsub environment
29859+
lang:
29860+
type: string
29861+
enum:
29862+
- ar
29863+
- hy
29864+
- az
29865+
- bn
29866+
- bg
29867+
- my
29868+
- ca
29869+
- km
29870+
- zh
29871+
- zh-tw
29872+
- hr
29873+
- cs
29874+
- da
29875+
- nl
29876+
- en
29877+
- et
29878+
- fl
29879+
- fi
29880+
- fr
29881+
- ka
29882+
- de
29883+
- el
29884+
- ha
29885+
- he
29886+
- hi
29887+
- hu
29888+
- id
29889+
- it
29890+
- ja
29891+
- kk
29892+
- ko
29893+
- lo
29894+
- lv
29895+
- lt
29896+
- ms
29897+
- 'no'
29898+
- fa
29899+
- pl
29900+
- pt
29901+
- pt-br
29902+
- ro
29903+
- ru
29904+
- sr
29905+
- sk
29906+
- sl
29907+
- es
29908+
- sw
29909+
- sv
29910+
- tg
29911+
- tr
29912+
- th
29913+
- uk
29914+
- ur
29915+
- uz
29916+
- vi
29917+
- zu
29918+
description: Language code for the Sumsub WebSDK UI (ISO 639-1). Defaults to en.
2985929919
required:
2986029920
- userId
2986129921
- enterpriseId
@@ -31455,7 +31515,7 @@ paths:
3145531515
- sofid
3145631516
- cusd
3145731517
- fyusd
31458-
- goqxmp
31518+
- qxmp
3145931519
- usd
3146031520
- type: string
3146131521
enum:
@@ -31464,7 +31524,7 @@ paths:
3146431524
- sofid
3146531525
- cusd
3146631526
- fyusd
31467-
- goqxmp
31527+
- qxmp
3146831528
- usd
3146931529
example: usd1
3147031530
- name: type
@@ -31824,15 +31884,15 @@ paths:
3182431884
- sofid
3182531885
- cusd
3182631886
- fyusd
31827-
- goqxmp
31887+
- qxmp
3182831888
- type: string
3182931889
enum:
3183031890
- gousd
3183131891
- usd1
3183231892
- sofid
3183331893
- cusd
3183431894
- fyusd
31835-
- goqxmp
31895+
- qxmp
3183631896
example: usd1
3183731897
- name: chain
3183831898
description: Blockchain network identifier to filter summary
@@ -50202,7 +50262,7 @@ components:
5020250262
- sofid
5020350263
- cusd
5020450264
- fyusd
50205-
- goqxmp
50265+
- qxmp
5020650266
- usd
5020750267
description: Base asset for the token
5020850268
example: usd1
@@ -62624,9 +62684,17 @@ components:
6262462684
minLength: 1
6262562685
totalSupplyAggregated:
6262662686
type: string
62627-
description: Total supply across all chains in the smallest unit
62628-
example: '5000000000000000000'
62687+
description: |-
62688+
Total supply across all chains, normalized to the highest decimal precision among chains.
62689+
Each chain's supply is scaled to this common precision before summing:
62690+
chainSupply * 10^(decimals - chain.decimals). Divide by 10^decimals for the human-readable total.
62691+
Note: supplyByChain[].supply values use each chain's own decimals, not this one.
62692+
example: '"2000000000000000000000" (2000 tokens, with decimals=18)'
6262962693
minLength: 1
62694+
decimals:
62695+
type: number
62696+
description: Decimal precision of totalSupplyAggregated (the max decimals across all successful chains)
62697+
example: 18
6263062698
supplyByChain:
6263162699
type: array
6263262700
items:
@@ -62639,16 +62707,24 @@ components:
6263962707
minLength: 1
6264062708
supply:
6264162709
type: string
62642-
description: Total supply for this chain in the smallest unit (wei, satoshi, etc.)
62643-
example: '1000000000000000000'
62710+
description: |-
62711+
Total supply for this chain in the chain's native smallest unit.
62712+
Divide by 10^decimals to get the human-readable token amount.
62713+
Note: this is NOT normalized to the aggregated decimals — use the per-chain decimals field to interpret.
62714+
example: '"1000000000000000000000" (1000 tokens on an 18-decimal chain)'
6264462715
minLength: 1
62716+
decimals:
62717+
type: number
62718+
description: Number of decimal places for the token on this chain (e.g. 18 for EVM, 6 for Solana)
62719+
example: 18
6264562720
error:
6264662721
type: string
6264762722
description: Error message if supply fetch failed
6264862723
example: Network timeout
6264962724
required:
6265062725
- chain
6265162726
- supply
62727+
- decimals
6265262728
description: Breakdown of supply by chain
6265362729
totalReserves:
6265462730
type: string
@@ -62657,6 +62733,7 @@ components:
6265762733
required:
6265862734
- token
6265962735
- totalSupplyAggregated
62736+
- decimals
6266062737
- supplyByChain
6266162738
- totalReserves
6266262739
GetTransactionRequestsResponse:

0 commit comments

Comments
 (0)