From 6c58dfe12040516969a390e20c6814a2035c2ac3 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Thu, 10 Apr 2025 13:32:26 +0000 Subject: [PATCH 1/2] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 98 +------------------------------------------------------- 1 file changed, 1 insertion(+), 97 deletions(-) diff --git a/api.yaml b/api.yaml index 19eb91c..727a6a1 100644 --- a/api.yaml +++ b/api.yaml @@ -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: @@ -34063,56 +34017,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: | @@ -38832,7 +38736,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: From e7b56e12d2fca9dc30d4b78f9df18a2008446048 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Thu, 10 Apr 2025 13:32:33 +0000 Subject: [PATCH 2/2] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 31 +++++-------------------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/api.yaml b/api.yaml index 727a6a1..6356920 100644 --- a/api.yaml +++ b/api.yaml @@ -23799,6 +23799,7 @@ paths: - adminCreateReport - updateWalletApprovalsRequired - custodialHotRetrySignTx + - createUser - name: userId description: The user ID to filter by in: query @@ -32803,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' @@ -33800,6 +33800,7 @@ components: - adminCreateReport - updateWalletApprovalsRequired - custodialHotRetrySignTx + - createUser AuditableItem: type: object properties: @@ -34812,10 +34813,13 @@ components: required: - maxFeePerGas - maxPriorityFeePerGas + nextContractSequenceId: + type: number required: - txHex - txInfo - recipients + - nextContractSequenceId BusinessModel: title: BusinessModel type: string @@ -36380,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. @@ -48372,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 @@ -56755,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'