Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 6 additions & 123 deletions api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18970,52 +18970,6 @@ paths:
properties:
isValid:
type: boolean
/api/v2/{coin}/wallet/{walletId}/balances/staked:
get:
tags:
- Wallet
summary: Get staked balance data
description: Returns staking information about validator and staked amount for the current wallet. Currently only available for Casper and Stacks.
operationId: v2.wallet.staked
parameters:
- $ref: '#/components/parameters/pathCoin'
- $ref: '#/components/parameters/pathWalletId'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/BalanceStaked'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError3'
/api/v2/{coin}/wallet/{walletId}/balances/totalrewards:
get:
tags:
- Wallet
summary: Get total rewards data
description: Returns staking information receiving address and the total rewards received for the current wallet. Currently only available for Stacks.
operationId: v2.wallet.totalrewards
parameters:
- $ref: '#/components/parameters/pathCoin'
- $ref: '#/components/parameters/pathWalletId'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/BalanceTotalRewards'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError3'
/api/v2/{coin}/wallet/{walletId}/state:
get:
tags:
Expand Down Expand Up @@ -23845,6 +23799,7 @@ paths:
- adminCreateReport
- updateWalletApprovalsRequired
- custodialHotRetrySignTx
- createUser
- name: userId
description: The user ID to filter by
in: query
Expand Down Expand Up @@ -32849,7 +32804,6 @@ components:
- $ref: '#/components/schemas/FiatAddress'
- $ref: '#/components/schemas/HederaAddress'
- $ref: '#/components/schemas/OffchainAddressSubdocument'
- $ref: '#/components/schemas/SilvergateUSDAddress'
- $ref: '#/components/schemas/SolAddress'
- $ref: '#/components/schemas/StacksAddress'
- $ref: '#/components/schemas/StellarAddress'
Expand Down Expand Up @@ -33846,6 +33800,7 @@ components:
- adminCreateReport
- updateWalletApprovalsRequired
- custodialHotRetrySignTx
- createUser
AuditableItem:
type: object
properties:
Expand Down Expand Up @@ -34063,56 +34018,6 @@ components:
type: integer
description: the height of the block that provides the base values
example: 11228504
BalanceStaked:
type: array
items:
type: object
properties:
address:
allOf:
- type: string
- $ref: '#/components/schemas/AddressString3'
description: the address of the wallet
balances:
type: array
items:
type: object
description: an object containing of validators and the current staked amount
properties:
validator:
allOf:
- type: string
- $ref: '#/components/schemas/AddressString3'
description: the validator
staked_amount:
type: string
description: the amount delegated to the validator
example: '5000000000'
BalanceTotalRewards:
type: array
items:
type: object
properties:
address:
allOf:
- type: string
- $ref: '#/components/schemas/AddressString3'
description: the address of the wallet
rewards:
type: array
items:
type: object
description: an object containing the reward recipient address and the total rewards received
properties:
reward_recipient:
allOf:
- type: string
- $ref: '#/components/schemas/AddressString3'
description: the receiving address
reward_amount:
type: string
description: the total rewards received
example: '5000000000'
BankAccountCurrency:
title: BankAccountCurrency
description: |
Expand Down Expand Up @@ -34908,10 +34813,13 @@ components:
required:
- maxFeePerGas
- maxPriorityFeePerGas
nextContractSequenceId:
type: number
required:
- txHex
- txInfo
- recipients
- nextContractSequenceId
BusinessModel:
title: BusinessModel
type: string
Expand Down Expand Up @@ -36476,8 +36384,6 @@ components:
properties:
signingBitgoOrg:
$ref: '#/components/schemas/BitgoOrg'
required:
- signingBitgoOrg
DistributedCustodyUpdateEnterprise:
type: object
description: Parameters associated with distributed custody enterprises. If you want to remove 'signingBitgoOrg', set it to null.
Expand Down Expand Up @@ -38832,7 +38738,7 @@ components:
- onchain
- tss
- blsdkg
description: If absent, BitGo uses the default wallet type for the asset. For Solana wallets, this parameter is required and must be set to 'tss'.
description: If absent, BitGo uses the default wallet type for the asset.
type:
type: string
enum:
Expand Down Expand Up @@ -48468,28 +48374,6 @@ components:
- from
- to
- share
SilvergateUSDAddress:
title: Silvergate USD Address
type: object
properties:
bankAccountId:
type: string
bankAccount:
$ref: '#/components/schemas/BankAccountJson'
required:
- bankAccountId
SilvergateUSDWallet:
title: Silvergate USD Wallet
type: object
properties:
backingBankAccountId: {}
backingSENBankAccountId: {}
lastUsedNonce:
type: number
required:
- backingBankAccountId
- backingSENBankAccountId
- lastUsedNonce
SimulateEnterpriseWebhookResponseBody:
title: SimulateEnterpriseWebhookResponseBody
type: object
Expand Down Expand Up @@ -56851,7 +56735,6 @@ components:
- $ref: '#/components/schemas/HederaWallet'
- $ref: '#/components/schemas/NearWallet'
- $ref: '#/components/schemas/Offchain'
- $ref: '#/components/schemas/SilvergateUSDWallet'
- $ref: '#/components/schemas/StacksWallet'
- $ref: '#/components/schemas/TestcoinWallet'
- $ref: '#/components/schemas/TonWallet'
Expand Down