Skip to content

Commit 991af95

Browse files
Merge pull request #189 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 8bbefe9 + e262837 commit 991af95

File tree

1 file changed

+34
-10
lines changed

1 file changed

+34
-10
lines changed

api.yaml

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24653,6 +24653,32 @@ paths:
2465324653
error: Database is down
2465424654
errorName: Internal_Server_Error
2465524655
reqId: some-id
24656+
/api/staking/v1/enterprises/{enterpriseId}/stakeable-coins:
24657+
get:
24658+
tags:
24659+
- Staking State Information
24660+
summary: List coins available to enterprise for staking
24661+
description: Retrieve a list of coins available for staking.
24662+
operationId: v1.enterprise.stakeableCoins
24663+
parameters:
24664+
- name: enterpriseId
24665+
in: path
24666+
description: The enterprise ID.
24667+
required: true
24668+
schema:
24669+
type: string
24670+
responses:
24671+
'200':
24672+
description: Successful Retrieving a List of Stakeable Coins
24673+
content:
24674+
application/json:
24675+
schema:
24676+
type: array
24677+
items:
24678+
$ref: '#/components/schemas/StakeableCoins'
24679+
examples:
24680+
EnterpriseStakeableCoinsResultExample:
24681+
$ref: '#/components/examples/EnterpriseStakeableCoinsResultExample'
2465624682
/api/v1/user/login:
2465724683
post:
2465824684
summary: Login Request
@@ -32393,16 +32419,14 @@ components:
3239332419
EnterpriseStakeableCoinsResultExample:
3239432420
summary: Enterprise Stakeable Coins Result Example
3239532421
value:
32396-
coins:
32397-
- symbol: tmatic
32398-
disclaimer:
32399-
staking:
32400-
rewardPercentageRate: '4.2'
32401-
- symbol: gteth
32402-
disclaimer:
32403-
staking:
32404-
rewardPercentageRate: '6.5100'
32405-
staked: true
32422+
- symbol: tmatic
32423+
disclaimer:
32424+
staking:
32425+
rewardPercentageRate: '4.2'
32426+
- symbol: gteth
32427+
disclaimer:
32428+
staking:
32429+
rewardPercentageRate: '6.5100'
3240632430
EthDelegationResultsExample:
3240732431
summary: Ethereum Delegation Results Example
3240832432
value:

0 commit comments

Comments
 (0)