Skip to content

Commit d17548b

Browse files
Merge pull request #96 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 5e76839 + f66d4e2 commit d17548b

File tree

1 file changed

+139
-2
lines changed

1 file changed

+139
-2
lines changed

api.yaml

Lines changed: 139 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41325,6 +41325,7 @@ components:
4132541325
- deactivate
4132641326
- customTx
4132741327
- closeAssociatedTokenAccount
41328+
- stakeWithCallData
4132841329
IntentType1:
4132941330
title: IntentType
4133041331
type: string
@@ -42334,12 +42335,12 @@ components:
4233442335
title: LightningPaymentRequestWithSig
4233542336
type: object
4233642337
properties:
42337-
request:
42338+
signedRequest:
4233842339
$ref: '#/components/schemas/LightningPaymentRequest'
4233942340
signature:
4234042341
type: string
4234142342
required:
42342-
- request
42343+
- signedRequest
4234342344
- signature
4234442345
LightningWalletAddress:
4234542346
title: LightningWalletAddress
@@ -49781,6 +49782,51 @@ components:
4978149782
- pendingChainInitialization
4978249783
- creationFailure
4978349784
- lastMemoId
49785+
SubstrateAccountBaseBuildOptions:
49786+
title: SubstrateAccountBaseBuildOptions
49787+
allOf:
49788+
- type: object
49789+
properties:
49790+
fee:
49791+
type: object
49792+
properties:
49793+
amount:
49794+
oneOf:
49795+
- type: string
49796+
- type: number
49797+
formula:
49798+
type: string
49799+
enum:
49800+
- fixed
49801+
- feeRate
49802+
- perKB
49803+
- custom
49804+
type:
49805+
type: string
49806+
enum:
49807+
- base
49808+
- max
49809+
- tip
49810+
unit:
49811+
type: string
49812+
enum:
49813+
- baseUnit
49814+
- cpu
49815+
- ram
49816+
required:
49817+
- amount
49818+
- $ref: '#/components/schemas/AccountBaseBuildOptions'
49819+
SubstrateConsolidateIntent:
49820+
title: Substrate Consolidate Intent
49821+
allOf:
49822+
- $ref: '#/components/schemas/AccountBaseConsolidateIntent'
49823+
SubstratePaymentIntent:
49824+
title: Substrate Payment Intent
49825+
allOf:
49826+
- type: object
49827+
properties: {}
49828+
- $ref: '#/components/schemas/PaymentIntent'
49829+
- $ref: '#/components/schemas/SubstrateAccountBaseBuildOptions'
4978449830
SuiBuildOptions:
4978549831
title: SuiBuildOptions
4978649832
allOf:
@@ -49898,6 +49944,31 @@ components:
4989849944
type: string
4989949945
required:
4990049946
- tokenName
49947+
TaoStakeIntent:
49948+
title: Tao Stake Intent
49949+
allOf:
49950+
- type: object
49951+
properties:
49952+
amountStaked:
49953+
type: string
49954+
required:
49955+
- amountStaked
49956+
- $ref: '#/components/schemas/StakeIntent'
49957+
- $ref: '#/components/schemas/TaoStakingBaseIntent'
49958+
TaoStakingBaseIntent:
49959+
title: Tao Staking Base Intent
49960+
allOf:
49961+
- type: object
49962+
properties:
49963+
hotkey:
49964+
type: string
49965+
netuid:
49966+
type: string
49967+
required:
49968+
- hotkey
49969+
- netuid
49970+
- $ref: '#/components/schemas/BaseStakeIntent'
49971+
- $ref: '#/components/schemas/SubstrateAccountBaseBuildOptions'
4990149972
TaoStakingRequest:
4990249973
title: TAO
4990349974
allOf:
@@ -49944,6 +50015,17 @@ components:
4994450015
type: string
4994550016
required:
4994650017
- type
50018+
TaoUnstakeIntent:
50019+
title: Tao Unstake Intent
50020+
allOf:
50021+
- type: object
50022+
properties:
50023+
amountUnstaked:
50024+
type: string
50025+
required:
50026+
- amountUnstaked
50027+
- $ref: '#/components/schemas/WithdrawIntent'
50028+
- $ref: '#/components/schemas/TaoStakingBaseIntent'
4994750029
TestcoinAddress:
4994850030
title: Testcoin Address
4994950031
type: object
@@ -50640,11 +50722,15 @@ components:
5064050722
- $ref: '#/components/schemas/SolPaymentIntent'
5064150723
- $ref: '#/components/schemas/SolStakeIntent'
5064250724
- $ref: '#/components/schemas/SolUnstakeIntent'
50725+
- $ref: '#/components/schemas/SubstrateConsolidateIntent'
50726+
- $ref: '#/components/schemas/SubstratePaymentIntent'
5064350727
- $ref: '#/components/schemas/SuiConsolidateIntent'
5064450728
- $ref: '#/components/schemas/SuiCustomTxIntent'
5064550729
- $ref: '#/components/schemas/SuiPaymentIntent'
5064650730
- $ref: '#/components/schemas/SuiStakingIntent'
5064750731
- $ref: '#/components/schemas/SuiUnstakingIntent'
50732+
- $ref: '#/components/schemas/TaoStakeIntent'
50733+
- $ref: '#/components/schemas/TaoUnstakeIntent'
5064850734
- $ref: '#/components/schemas/TonConsolidateIntent'
5064950735
- $ref: '#/components/schemas/TonDelegateIntent'
5065050736
- $ref: '#/components/schemas/TonPaymentIntent'
@@ -50656,6 +50742,9 @@ components:
5065650742
- $ref: '#/components/schemas/CoreDaoClaimIntent'
5065750743
- $ref: '#/components/schemas/EthLikeStakeIntent'
5065850744
- $ref: '#/components/schemas/BeraDelegateIntent'
50745+
- $ref: '#/components/schemas/WalrusStakingIntent'
50746+
- $ref: '#/components/schemas/WalrusUndelegateIntent'
50747+
- $ref: '#/components/schemas/WalrusWithdrawIntent'
5065950748
- $ref: '#/components/schemas/BaseIntent'
5066050749
TransactionRequest:
5066150750
anyOf:
@@ -56912,6 +57001,54 @@ components:
5691257001
$ref: '#/components/schemas/Coin'
5691357002
required:
5691457003
- coin
57004+
WalrusStakingIntent:
57005+
title: Walrus Stake Intent
57006+
allOf:
57007+
- type: object
57008+
properties:
57009+
sharedStakingObjectId:
57010+
type: string
57011+
required:
57012+
- sharedStakingObjectId
57013+
- $ref: '#/components/schemas/SuiStakingIntent'
57014+
WalrusUndelegateIntent:
57015+
title: Walrus Undelegate Intent
57016+
allOf:
57017+
- type: object
57018+
properties:
57019+
intentType:
57020+
type: string
57021+
enum:
57022+
- undelegate
57023+
stakedSuiObjectId:
57024+
type: string
57025+
sharedStakingObjectId:
57026+
type: string
57027+
amount:
57028+
type: object
57029+
properties:
57030+
symbol:
57031+
type: string
57032+
value:
57033+
type: string
57034+
required:
57035+
- symbol
57036+
- value
57037+
required:
57038+
- intentType
57039+
- stakedSuiObjectId
57040+
- sharedStakingObjectId
57041+
- $ref: '#/components/schemas/BaseStakeIntent'
57042+
WalrusWithdrawIntent:
57043+
title: Walrus Withdraw Intent
57044+
allOf:
57045+
- type: object
57046+
properties:
57047+
sharedStakingObjectId:
57048+
type: string
57049+
required:
57050+
- sharedStakingObjectId
57051+
- $ref: '#/components/schemas/SuiUnstakingIntent'
5691557052
Webhook:
5691657053
title: Webhook
5691757054
type: object

0 commit comments

Comments
 (0)