Skip to content

Commit ab48214

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent 715f1bc commit ab48214

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

api.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24600,6 +24600,7 @@ paths:
2460024600
- $ref: '#/components/schemas/SolUnStakingRequestPOSTBody'
2460124601
- $ref: '#/components/schemas/SolClaimRewardsRequestPOSTBody'
2460224602
- $ref: '#/components/schemas/SomiStakingRequestPOSTBody'
24603+
- $ref: '#/components/schemas/SomiUnStakingRequestPOSTBody'
2460324604
- $ref: '#/components/schemas/SomiClaimRewardsRequestPOSTBody'
2460424605
- $ref: '#/components/schemas/SomiSwitchValidatorsRequestPOSTBody'
2460524606
- $ref: '#/components/schemas/StxStakingRequestPOSTBody'
@@ -24761,6 +24762,8 @@ paths:
2476124762
$ref: '#/components/examples/SolUnStakingRequestPOSTBodyExample'
2476224763
SomiStakingRequestPOSTBodyExample:
2476324764
$ref: '#/components/examples/SomiStakingRequestPOSTBodyExample'
24765+
SomiUnStakingRequestPOSTBodyExample:
24766+
$ref: '#/components/examples/SomiUnStakingRequestPOSTBodyExample'
2476424767
SomiClaimRewardsRequestPOSTBodyExample:
2476524768
$ref: '#/components/examples/SomiClaimRewardsRequestPOSTBodyExample'
2476624769
SomiSwitchValidatorRequestPOSTBodyExample:
@@ -39340,6 +39343,13 @@ components:
3934039343
type: SWITCH_VALIDATOR
3934139344
delegationId: somi-delegation-1
3934239345
validator: somivaloper1abcxyz
39346+
SomiUnStakingRequestPOSTBodyExample:
39347+
summary: Somi UnStaking Request POST Body Example
39348+
value:
39349+
clientId: d055adbc-66a3-4ccd-9a9d-726a05bca0cf
39350+
delegationId: e0225adbc-66a3-4ccd-9a9d-726a05bca0cf
39351+
type: UNSTAKE
39352+
amount: '2000000000000000000'
3934339353
StakeableCoinsResultExample:
3934439354
summary: Stakeable Coins Result Example
3934539355
value:
@@ -50026,6 +50036,9 @@ components:
5002650036
- STAKE
5002750037
- ETH_STAKE_PECTRA
5002850038
example: STAKE
50039+
delegationId:
50040+
description: Optional delegation id to be used for topup, only active delegations are allowed, that do not have a pending stake or pending unstake.
50041+
type: string
5002950042
EthStakingTransaction:
5003050043
allOf:
5003150044
- $ref: '#/components/schemas/StakingTransaction'
@@ -63693,6 +63706,23 @@ components:
6369363706
allOf:
6369463707
- $ref: '#/components/schemas/StakingRequestPOSTBody'
6369563708
type: object
63709+
properties:
63710+
amount:
63711+
description: Amount to stake in base units (wei for SOMI).
63712+
type: string
63713+
example: '5000000000000000000'
63714+
type:
63715+
description: Staking Request type = 'STAKE'.
63716+
type: string
63717+
example: STAKE
63718+
validator:
63719+
description: The SOMI validator address to delegate to.
63720+
type: string
63721+
example: '0x1234567890123456789012345678901234567890'
63722+
required:
63723+
- amount
63724+
- type
63725+
- validator
6369663726
SomiSwitchValidatorsRequestPOSTBody:
6369763727
title: Somi Switch Validators Request
6369863728
type: object
@@ -63716,6 +63746,27 @@ components:
6371663746
validator:
6371763747
type: string
6371863748
description: Address of the new validator to delegate to.
63749+
SomiUnStakingRequestPOSTBody:
63750+
title: SOMI unstake
63751+
allOf:
63752+
- $ref: '#/components/schemas/UnStakingRequestPOSTBody'
63753+
type: object
63754+
properties:
63755+
type:
63756+
description: Staking Request type = 'UNSTAKE'.
63757+
type: string
63758+
example: UNSTAKE
63759+
delegationId:
63760+
description: The delegation ID representing the delegation to unstake.
63761+
type: string
63762+
amount:
63763+
description: Amount to unstake in base units (wei for SOMI). Supports partial unstaking.
63764+
type: string
63765+
example: '2000000000000000000'
63766+
required:
63767+
- type
63768+
- delegationId
63769+
- amount
6371963770
SpendingLimits:
6372063771
type: object
6372163772
additionalProperties:

0 commit comments

Comments
 (0)