From ab036f1ffd7f4e303221a39ead5f8605efa797e7 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Thu, 9 Oct 2025 18:38:46 +0000 Subject: [PATCH 1/8] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 57 insertions(+), 4 deletions(-) diff --git a/api.yaml b/api.yaml index c051288..7be9beb 100644 --- a/api.yaml +++ b/api.yaml @@ -4200,7 +4200,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/V1ListSettlementsOkPayload' + $ref: '#/components/schemas/V1ClientListSettlementsOkPayload' '400': description: Bad Request content: @@ -4867,6 +4867,11 @@ paths: in: query schema: type: boolean + - name: allocationPoliciesEnabled + description: Filter by allocation policies enabled. When true, only partners with allocation policies enabled will be returned. When false, only partners with allocation policies disabled will be returned. When not provided, partners with any allocation policies status will be returned. + in: query + schema: + type: boolean - name: enterpriseId description: The enterprise ID of the client making the request. in: path @@ -4982,6 +4987,9 @@ paths: topUpWindowMinutes: type: number description: Optional window (in minutes) for topping up settlements. Defines the period during which a settlement can be topped up. Null means no top-up window is configured. + allocationPoliciesEnabled: + type: boolean + description: Optional flag to enable or disable allocation policies for the partner. When true, policy evaluation features (allocation/deallocation) are enabled. When false or not provided, defaults to false for backward compatibility. required: - name - broker @@ -32210,7 +32218,6 @@ paths: - accessToken - accountCreated - contractSigned - - fundsDeposited - kycResult - policyBalanceChange - transaction_finality_on_l1 @@ -48370,6 +48377,18 @@ components: type: string signature: type: string + status: + type: string + enum: + - pending_review + - approved + - rejected + reviewedBy: + type: string + reviewNotes: + type: string + adjustedTransfers: + $ref: '#/components/schemas/ExpectedTransfers' required: - id - createdAt @@ -48377,6 +48396,8 @@ components: - closedBy - userId - notes + - status + - adjustedTransfers DisputeClosureOutput: title: DisputeClosureOutput type: object @@ -50540,6 +50561,11 @@ components: description: The commitment share. required: - commitmentShare + ExpectedTransfers: + title: ExpectedTransfers + type: object + additionalProperties: + type: string ExpectedTransfersOutput: title: ExpectedTransfersOutput type: object @@ -68383,6 +68409,13 @@ components: $ref: '#/components/schemas/TransferDestinationTypeConditionParameters' operator: $ref: '#/components/schemas/OperatorType' + TransferDirection: + title: TransferDirection + type: string + enum: + - send + - receive + - send-and-receive TransferInitiatorsCondition: title: Initiator type: object @@ -70605,6 +70638,25 @@ components: $ref: '#/components/schemas/MaskedV1SettlementTransfersOutput' required: - settlementTransfers + V1ClientListSettlementsOkPayload: + title: V1ClientListSettlementsOkPayload + type: object + properties: + settlements: + type: array + items: + allOf: + - type: object + properties: + transferDirection: + allOf: + - $ref: '#/components/schemas/TransferDirection' + description: Whether the settlement is a send, receive, or both, from the client's perspective + required: + - transferDirection + - $ref: '#/components/schemas/V1SettlementOutput' + required: + - settlements V1ClientsOutput: title: V1ClientsOutput type: object @@ -71996,6 +72048,8 @@ components: type: number topUpWindowMinutes: type: number + allocationPoliciesEnabled: + type: boolean publicKey: type: string description: Optional RSA public key associated with the partner. This key is used for secure communication and encrypting connection keys. If not supplied, encryption is not required for the partner. @@ -72010,6 +72064,7 @@ components: - clientId - broker - active + - allocationPoliciesEnabled V1PartnersPostOkPayload: title: V1PartnersPostOkPayload type: object @@ -74689,7 +74744,6 @@ components: - circuitBreaker - lowFeeAddressBalance - transaction_finality_on_l1 - - fundsDeposited WalletsResponse: type: object properties: @@ -75152,7 +75206,6 @@ components: - accessToken - accountCreated - contractSigned - - fundsDeposited - kycResult - policyBalanceChange - transaction_finality_on_l1 From 21243f2f1f505e2d48dfa37a1a16ea1b4f04f1dd Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Thu, 9 Oct 2025 18:42:22 +0000 Subject: [PATCH 2/8] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/api.yaml b/api.yaml index 7be9beb..82e6310 100644 --- a/api.yaml +++ b/api.yaml @@ -9,8 +9,6 @@ tags: - name: CryptoCompare description: CryptoCompare is a partner API from CryptoCompare that you can use to compare prices of cryptocurrency, tokens, and fiat. - name: DAS - - name: MetaMask Institutional - description: Returns MetaMask Institutional (MMI) related data for a specific wallet's address. - name: Fiat - name: Market data description: Market data is an internal REST API that you can use to compare the prices of cryptocurrency, tokens, and fiat. From 9e396c0cbcb82578cfbcd3c6bcdb124e6f34237f Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Thu, 9 Oct 2025 18:45:05 +0000 Subject: [PATCH 3/8] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 4454 ++++++++++++++++++++++++++---------------------------- 1 file changed, 2125 insertions(+), 2329 deletions(-) diff --git a/api.yaml b/api.yaml index 82e6310..c3fbdbe 100644 --- a/api.yaml +++ b/api.yaml @@ -24463,13 +24463,7 @@ paths: parameters: - $ref: '#/components/parameters/pathCoin1' - $ref: '#/components/parameters/pathWalletId1' - - name: stakingRequestId - in: path - description: The ID for the staking request to cancel. - required: true - schema: - type: string - format: uuid + - $ref: '#/components/parameters/pathStakingRequestId' responses: '200': description: Successful Cancellation of Staking Request @@ -24478,66 +24472,17 @@ paths: schema: $ref: '#/components/schemas/StakingRequestSchemas' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/wallets/{walletId}/requests: post: tags: @@ -24582,7 +24527,6 @@ paths: - $ref: '#/components/schemas/CoreumUnStakingRequestPOSTBody' - $ref: '#/components/schemas/CoreumClaimRewardsRequestPOSTBody' - $ref: '#/components/schemas/CoreumSwitchValidatorsRequestPOSTBody' - - $ref: '#/components/schemas/CosmosLikeStakingRequestPOSTBody' - $ref: '#/components/schemas/CosmosLikeUnStakingRequestPOSTBody' - $ref: '#/components/schemas/CronosStakingRequestPOSTBody' - $ref: '#/components/schemas/CronosUnStakingRequestPOSTBody' @@ -24645,6 +24589,8 @@ paths: - $ref: '#/components/schemas/TonUnStakingRequestPOSTBody' - $ref: '#/components/schemas/TrxStakingRequestPOSTBody' - $ref: '#/components/schemas/TrxUnStakingRequestPOSTBody' + - $ref: '#/components/schemas/VetStakingRequestPOSTBody' + - $ref: '#/components/schemas/VetUnStakingRequestPOSTBody' - $ref: '#/components/schemas/WctStakingRequestPOSTBody' - $ref: '#/components/schemas/WctUnStakingRequestPOSTBody' - $ref: '#/components/schemas/WethStakingRequestPOSTBody' @@ -24833,6 +24779,8 @@ paths: $ref: '#/components/examples/TrxStakingRequestPOSTBodyExample' TrxUnStakingRequestPOSTBodyExample: $ref: '#/components/examples/TrxUnStakingRequestPOSTBodyExample' + VetUnStakingRequestPOSTBodyExample: + $ref: '#/components/examples/VetUnStakingRequestPOSTBodyExample' WctStakingRequestPOSTBodyExample: $ref: '#/components/examples/WctStakingRequestPOSTBodyExample' WctUnStakingRequestPOSTBodyExample: @@ -25014,66 +24962,17 @@ paths: ZetaUnStakingRequestWithoutDelegationsExample: $ref: '#/components/examples/ZetaUnStakingRequestWithoutDelegationsExample' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' get: tags: - Staking Request @@ -25110,66 +25009,17 @@ paths: DotUnStakingRequestsExample: $ref: '#/components/examples/DotUnStakingRequestsListResponseExample' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/wallets/{walletId}/requests: get: tags: @@ -25239,66 +25089,17 @@ paths: EthStakingRequestResultsExample: $ref: '#/components/examples/EthStakingResultsExample' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/requests/{stakingRequestId}: get: tags: @@ -25307,19 +25108,8 @@ paths: description: Retrieve A Specific Staking Request. operationId: v1.staking.request parameters: - - name: stakingRequestId - in: path - description: The ID for the staking request - required: true - schema: - type: string - - name: expandBuildParams - in: query - description: Whether to expand and include full build parameters in the response. - required: false - schema: - type: boolean - default: false + - $ref: '#/components/parameters/pathStakingRequestId' + - $ref: '#/components/parameters/queryExpandBuildParams' responses: '200': description: Successful Retrieving a Staking Request @@ -25332,6 +25122,8 @@ paths: $ref: '#/components/examples/AvaxPStakingRequestWithTransactionsExample' EthStakingRequestWithoutDelegationsExample: $ref: '#/components/examples/EthStakingRequestWithTransactionsExample' + EthPectraStakingRequestWithTransactionsExample: + $ref: '#/components/examples/EthPectraStakingRequestWithTransactionsExample' MaticStakingRequestWithoutDelegationsExample: $ref: '#/components/examples/MaticStakingRequestWithTransactionsExample' MaticUnStakingRequestWithoutDelegationsExample: @@ -25353,66 +25145,17 @@ paths: DotUnStakingRequestWithoutDelegationsExample: $ref: '#/components/examples/DotUnStakingRequestWithTransactionsExample' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/enterprises/{enterpriseId}/requests/transactions: get: deprecated: false @@ -25422,12 +25165,7 @@ paths: description: Retrieve staking requests and staking transactions for a given enterprise and query params. operationId: v1.staking.transactions parameters: - - name: enterpriseId - in: path - description: The enterprise ID. - required: true - schema: - type: string + - $ref: '#/components/parameters/pathEnterpriseId1' - $ref: '#/components/parameters/queryCoins' - name: walletType in: query @@ -25467,12 +25205,7 @@ paths: required: false schema: $ref: '#/components/schemas/StakingRequestStatus' - - name: expandBuildParams - in: query - description: True, if to include staking build params - required: false - schema: - type: boolean + - $ref: '#/components/parameters/queryExpandBuildParams' - $ref: '#/components/parameters/queryPage' - $ref: '#/components/parameters/queryPageSize' - $ref: '#/components/parameters/querySortByCreatedDate' @@ -25487,66 +25220,17 @@ paths: EthStakingRequestResultsExample: $ref: '#/components/examples/EthStakingResultsExample' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/wallets/{walletId}/requests/{stakingRequestId}/transactions/{stakingTransactionId}: get: tags: @@ -25557,25 +25241,9 @@ paths: parameters: - $ref: '#/components/parameters/pathCoin1' - $ref: '#/components/parameters/pathWalletId1' - - name: stakingRequestId - in: path - description: The ID for the staking request. - required: true - schema: - type: string - - name: stakingTransactionId - in: path - description: The ID for the staking request transaction. - required: true - schema: - type: string - - name: expandBuildParams - in: query - description: Whether to expand transaction build parameters in the response. - required: false - schema: - type: boolean - default: false + - $ref: '#/components/parameters/pathStakingRequestId' + - $ref: '#/components/parameters/pathStakingTransactionId' + - $ref: '#/components/parameters/queryExpandBuildParams' responses: '200': description: Successful get on a Transaction @@ -25635,66 +25303,17 @@ paths: gasPrice: '1000000000000000' gasLimit: '3000000000000000' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' post: tags: - Staking Request @@ -25704,18 +25323,8 @@ paths: parameters: - $ref: '#/components/parameters/pathCoin1' - $ref: '#/components/parameters/pathWalletId1' - - name: stakingRequestId - in: path - description: The ID for the staking request. - required: true - schema: - type: string - - name: stakingTransactionId - in: path - description: The ID for the staking request transaction. - required: true - schema: - type: string + - $ref: '#/components/parameters/pathStakingRequestId' + - $ref: '#/components/parameters/pathStakingTransactionId' requestBody: content: application/json: @@ -25761,66 +25370,17 @@ paths: gasPrice: '1000000000000000' gasLimit: '3000000000000000' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/wallets/{walletId}: get: tags: @@ -25905,66 +25465,17 @@ paths: type: ETH walletMultisigType: TSS '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/wallets/{walletId}/delegations: get: tags: @@ -26047,66 +25558,17 @@ paths: TaoDelegationResultsExample: $ref: '#/components/examples/TaoDelegationResultsExample' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/enterprises/{enterpriseId}: get: tags: @@ -26115,28 +25577,9 @@ paths: description: Retrieve staking totals across all coins for a given enterprise, including delegated balances, rewards, and staking metadata. operationId: v1.staking.enterprise.allCoins parameters: - - name: enterpriseId - in: path - description: The enterprise ID representing the enterprise a user staked from. - required: true - schema: - type: string - - name: pageSize - in: query - description: Number of results to return per page. Default is 20. - required: false - schema: - type: integer - minimum: 1 - default: 20 - - name: page - in: query - description: Page number of results to return. Default is 1. - required: false - schema: - type: integer - minimum: 1 - default: 1 + - $ref: '#/components/parameters/pathEnterpriseId1' + - $ref: '#/components/parameters/queryPage' + - $ref: '#/components/parameters/queryPageSize' - name: staked in: query description: Filter results to only include staked assets if true, or unstaked if false. @@ -26151,66 +25594,17 @@ paths: schema: $ref: '#/components/schemas/EnterpriseStakingTotals' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/enterprises/{enterpriseId}: get: tags: @@ -26220,12 +25614,7 @@ paths: operationId: v1.staking.enterprise parameters: - $ref: '#/components/parameters/pathCoin1' - - name: enterpriseId - in: path - description: The enterprise ID representing the enterprise a user staked from. - required: true - schema: - type: string + - $ref: '#/components/parameters/pathEnterpriseId1' responses: '200': description: Successful Retrieving Staking Information For An Enterprise @@ -26240,66 +25629,17 @@ paths: rewards: '1000000000000000' apy: '8.2' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/enterprises/{enterpriseId}/tokens: get: tags: @@ -26309,12 +25649,7 @@ paths: operationId: v1.staking.enterprise.tokens parameters: - $ref: '#/components/parameters/pathCoin1' - - name: enterpriseId - in: path - description: The enterprise ID representing the enterprise a user staked from. - required: true - schema: - type: string + - $ref: '#/components/parameters/pathEnterpriseId1' responses: '200': description: Successful Retrieving Staking Information For An Enterprise At Token Level @@ -26323,66 +25658,17 @@ paths: schema: $ref: '#/components/schemas/StakingEnterprise' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/reward-accrual-report: get: tags: @@ -26460,6 +25746,12 @@ paths: - reward: '1000000000000000' walletId: 2032e75g451052000636831abd797bd3 enterpriseId: 1032e75c451052000436831deb797af1 + coin: eth + date: 2022-01-10T14:32:28.000Z + - reward: '5000000000' + walletId: 3032e75g451052000636831abd797bd4 + enterpriseId: 1032e75c451052000436831deb797af1 + coin: sol date: 2022-01-10T14:32:28.000Z page: 1 totalPages: 1 @@ -26472,7 +25764,20 @@ paths: walletId: 2032e75g451052000636831abd797bd3 enterpriseId: 1032e75c451052000436831deb797af1 delegationId: d123456789 + coin: eth date: 2022-01-10T14:32:28.000Z + properties: + consensusReward: 5 + transactionReward: 3 + mevReward: 2 + provider: lido + - reward: '5000000000' + walletId: 3032e75g451052000636831abd797bd4 + enterpriseId: 1032e75c451052000436831deb797af1 + delegationId: d987654321 + coin: sol + date: 2022-01-10T14:32:28.000Z + properties: null page: 1 totalPages: 1 totalElements: 1 @@ -26490,66 +25795,17 @@ paths: totalPages: 1 totalElements: 2 '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/wallets/{walletId}/delegations/accruals: get: tags: @@ -26559,12 +25815,7 @@ paths: operationId: v1.staking.reward.accrual parameters: - $ref: '#/components/parameters/pathCoin1' - - name: walletId - in: path - description: The wallet ID of the wallet a user staked from. Either the enterpriseId or walletId need to be passed in. - required: true - schema: - $ref: '#/components/schemas/WalletId' + - $ref: '#/components/parameters/pathWalletId1' - name: range in: query description: The time range for the data. @@ -26596,66 +25847,17 @@ paths: schema: $ref: '#/components/schemas/DelegationAccruals' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/wallets/{walletId}/tokens: get: tags: @@ -26676,56 +25878,17 @@ paths: schema: $ref: '#/components/schemas/StakingWalletsResponse' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' + '409': + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/wallets/{walletId}/attributes: get: tags: @@ -26749,6 +25912,9 @@ paths: - allOf: - title: DOT - $ref: '#/components/schemas/DotWalletStakingStateAttributes' + - allOf: + - title: VET + - $ref: '#/components/schemas/VetWalletStakingStateAttributes' - allOf: - title: General - $ref: '#/components/schemas/WalletStakingStateAttributes' @@ -26768,66 +25934,17 @@ paths: NearWalletStakingStateAttributesExamples: $ref: '#/components/examples/NearWalletStakingStateAttributesExamples' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/coins: get: tags: @@ -26867,15 +25984,7 @@ paths: context: errorName: Error '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Internal Server Error - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/{coin}/wallets/{walletId}/validators: get: tags: @@ -26907,66 +26016,17 @@ paths: SolStakingValidatorsResultsExample: $ref: '#/components/examples/SolStakingValidatorsResultsExample' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/validators: get: tags: @@ -27027,56 +26087,17 @@ paths: SuiStakingPartneredValidatorsResultsExample: $ref: '#/components/examples/SuiStakingPartneredValidatorsResultsExample' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' + '404': + $ref: '#/components/responses/NotFoundError' '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/ConflictError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/enterprises/{enterpriseId}/license: get: tags: @@ -27085,12 +26106,7 @@ paths: description: Returns a staking license for the given enterprise. operationId: v1.license parameters: - - name: enterpriseId - in: path - description: The enterprise ID. - required: true - schema: - type: string + - $ref: '#/components/parameters/pathEnterpriseId1' responses: '200': description: Successful Retrieving Staking License For An Enterprise @@ -27102,56 +26118,15 @@ paths: SolStakingValidatorsResultsExample: $ref: '#/components/examples/LicenseResultsExample' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: User is not a member of the enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: License not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/enterprises/{enterpriseId}/wallets: get: tags: @@ -27160,12 +26135,7 @@ paths: description: Returns total rewards per staking wallet for an enterprise. operationId: v1.enterprise.stakingWallets.list parameters: - - name: enterpriseId - in: path - description: The enterprise ID. - required: true - schema: - type: string + - $ref: '#/components/parameters/pathEnterpriseId1' - $ref: '#/components/parameters/queryCoins' - $ref: '#/components/parameters/queryLabel' - name: walletType @@ -27192,55 +26162,15 @@ paths: schema: $ref: '#/components/schemas/StakingWalletsResponse' '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: User is not a member of the enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: License not found - errorName: NotFound - reqId: some-id + $ref: '#/components/responses/NotFoundError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/enterprises/{enterpriseId}/coins: get: tags: @@ -27249,12 +26179,7 @@ paths: description: Returns a paginated list of stake-able coins for the given enterprise with basic attributes. operationId: v1.enterprise.stakingCoins.list parameters: - - name: enterpriseId - in: path - description: The enterprise ID. - required: true - schema: - type: string + - $ref: '#/components/parameters/pathEnterpriseId1' - $ref: '#/components/parameters/queryPage' - $ref: '#/components/parameters/queryPageSize' - name: staked @@ -27271,66 +26196,15 @@ paths: schema: $ref: '#/components/schemas/EnterpriseStakingTotals' '400': - description: Bad Request - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/StakingError' - example: - error: Bad Request - errorName: BadRequest - reqId: some-id + $ref: '#/components/responses/BadRequestError' '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Unauthorized - errorName: Unauthorized - reqId: some-id + $ref: '#/components/responses/UnauthorizedError' '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Staking license not added for enterprise - errorName: AccessDenied - reqId: some-id + $ref: '#/components/responses/ForbiddenError' '404': - description: The specified resource was not found - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Wallet not found - errorName: NotFound - reqId: some-id - '409': - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Conflicting clientID - errorName: Conflict - reqId: some-id + $ref: '#/components/responses/NotFoundError' '500': - description: Server Error - Transient error please try again - content: - application/json: - schema: - $ref: '#/components/schemas/StakingError' - example: - error: Database is down - errorName: Internal_Server_Error - reqId: some-id + $ref: '#/components/responses/InternalServerError' /api/staking/v1/enterprises/{enterpriseId}/stakeable-coins: get: tags: @@ -27339,12 +26213,7 @@ paths: description: Retrieve a list of coins available for staking. operationId: v1.enterprise.stakeableCoins parameters: - - name: enterpriseId - in: path - description: The enterprise ID. - required: true - schema: - type: string + - $ref: '#/components/parameters/pathEnterpriseId1' responses: '200': description: Successful Retrieving a List of Stakeable Coins @@ -27357,6 +26226,16 @@ paths: examples: EnterpriseStakeableCoinsResultExample: $ref: '#/components/examples/EnterpriseStakeableCoinsResultExample' + '400': + $ref: '#/components/responses/BadRequestError' + '401': + $ref: '#/components/responses/UnauthorizedError' + '403': + $ref: '#/components/responses/ForbiddenError' + '404': + $ref: '#/components/responses/NotFoundError' + '500': + $ref: '#/components/responses/InternalServerError' /api/fiat/v1/transaction/ach-debit: post: summary: Initiate ACH deposit @@ -37326,6 +36205,99 @@ components: requiresAmount: true requiresDelegationId: true requiresDelegationIds: false + EthPectraStakingRequestWithTransactionsExample: + summary: Ethereum Pectra Staking Request Example + value: + id: e055adbc-66a3-4ccd-9a9d-726a05bca0cf + clientId: f054adbc-26a3-4acd-8a9d-726a05bca0dr + requestUserId: 6092e75c451052000636831deb797bd1 + enterpriseId: 1032e75c451052000436831deb797af1 + walletId: 2032e75g451052000636831abd797bd3 + walletType: custodial + type: STAKE + coin: eth + createdDate: 2022-01-10T14:32:28.000Z + statusModifiedDate: 2022-01-10T14:32:28.000Z + status: NEW + withdrawalAddress: '0x5a6406c9710f588ca733360bfa8033d0ef9ecd7c' + delegations: + - id: e0225adbc-66a3-4ccd-9a9d-726a05bca0cf + delegationAddress: 0x5a6406c9710f588ca733360bfa8033d0ef9ecdy5 + withdrawalAddress: '0x5a6406c9710f588ca733360bfa8033d0ef9ecd7c' + delegated: '3200000000000000000' + status: PENDING + rewards: '0' + lockedRewards: '0' + pendingUnstake: '3200000000000000000' + pendingStake: '0' + apy: '8.3' + coin: eth + walletId: 2032e75g451052000636831abd797bd3 + unstakingFee: '100000000000000' + unstakingMin: '0' + - id: e0225adbc-55b43-5tta-9a9d-726a05bca0ai + delegationAddress: 0x3b6406c9710f588ca733360bfa8033d0ef9ecre4 + withdrawalAddress: '0x5a6406c9710f588ca733360bfa8033d0ef9ecd7c' + delegated: '3200000000000000000' + status: PENDING + rewards: '0' + lockedRewards: '0' + pendingUnstake: '3200000000000000000' + pendingStake: '0' + apy: '8.3' + coin: eth + walletId: 2032e75g451052000636831abd797bd3 + unstakingFee: '1000000000000000' + unstakingMin: '0' + transactions: + - id: d0355adbc-55b43-5tta-9a9d-726a05bca0ai + stakingRequestId: e055adbc-66a3-4ccd-9a9d-726a05bca0cf + createdDate: 2022-01-10T14:32:28.000Z + statusModifiedDate: 2022-01-10T14:32:28.000Z + status: PENDING + amount: '6400000000000000000' + transactionType: delegate + delegationId: e0225adbc-66a3-4ccd-9a9d-726a05bca0cf + buildParams: + recipients: + amount: '6400000000000000000' + address: '0xff50ed3d0ec03aC01D4C79aAd74928BFF48a7b2b' + data: fds0934rnnio390nw + stakingParams: + requestId: e055adbc-66a3-4ccd-9a9d-726a05bca0cf + amount: '6400000000000000000' + validator: 0x5a6406c9710f588ca733360bfa8033d0ef9ecdy5 + actionType: delegate + gasPrice: '1000000000000000' + gasLimit: '3000000000000000' + properties: + delegationRequest: + - validator: validator1 + amount: '3200000000000000000' + - validator: validator2 + amount: '3200000000000000000' + - id: i0500adbc-55b43-5tta-9a9d-726a05bca0op + stakingRequestId: e055adbc-66a3-4ccd-9a9d-726a05bca0cf + createdDate: 2022-01-10T14:32:28.000Z + statusModifiedDate: 2022-01-10T14:32:28.000Z + status: PENDING + amount: '3200000000000000000' + transactionType: delegate + delegationId: e0225adbc-55b43-5tta-9a9d-726a05bca0ai + buildParams: + recipients: + amount: '3200000000000000000' + address: '0xff50ed3d0ec03aC01D4C79aAd74928BFF48a7b2b' + data: fds0934rnnio390nw + stakingParams: + requestId: e055adbc-66a3-4ccd-9a9d-726a05bca0cf + amount: '3200000000000000000' + validator: 0x3b6406c9710f588ca733360bfa8033d0ef9ecre4 + actionType: delegate + gasPrice: '1000000000000000' + gasLimit: '3000000000000000' + amount: '6400000000000000000' + gasPrice: '1000000000000000' EthStakingRequestPOSTBodyExample: summary: Ethereum Staking Request POST Body Example value: @@ -40277,6 +39249,13 @@ components: statusModifiedDate: 2022-01-10T14:32:28.000Z status: NEW amount: '1200000000' + VetUnStakingRequestPOSTBodyExample: + summary: VET UnStaking Request POST Body Example + value: + clientId: f055adbc-66a3-4ccd-9a9d-726a05bca0cf + amount: '1000000000000000000' + delegationId: 12345678-1234-1234-1234-123456789012 + type: UNSTAKE WalletStakingStateAttributesExamples: summary: Wallet Staking Attributes value: @@ -40959,6 +39938,13 @@ components: required: true schema: $ref: '#/components/schemas/Id' + pathEnterpriseId1: + name: enterpriseId + in: path + description: The enterprise ID. + required: true + schema: + type: string pathId: name: id in: path @@ -40985,6 +39971,21 @@ components: required: true schema: $ref: '#/components/schemas/Id' + pathStakingRequestId: + name: stakingRequestId + in: path + description: The ID for the staking request used in the path. + required: true + schema: + type: string + format: uuid + pathStakingTransactionId: + name: stakingTransactionId + in: path + description: The ID for the staking request transaction. + required: true + schema: + type: string pathTransferId: name: transferId in: path @@ -41043,6 +40044,14 @@ components: type: array items: $ref: '#/components/schemas/Coin1' + queryExpandBuildParams: + name: expandBuildParams + in: query + description: Whether to expand and include full build parameters in the response. + required: false + schema: + type: boolean + default: false queryFederationQ: name: q in: query @@ -41225,6 +40234,26 @@ components: code: BadRequest message: Bad Request status: 400 + BadRequestError: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/StakingError' + example: + error: Bad Request + errorName: BadRequest + reqId: some-id + ConflictError: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/StakingError' + example: + error: Conflicting clientID + errorName: Conflict + reqId: some-id Forbidden: description: Forbidden content: @@ -41245,6 +40274,26 @@ components: code: AccessDenied message: Access is denied status: 403 + ForbiddenError: + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/StakingError' + example: + error: Staking license not added for enterprise + errorName: AccessDenied + reqId: some-id + InternalServerError: + description: Server Error - Transient error please try again + content: + application/json: + schema: + $ref: '#/components/schemas/StakingError' + example: + error: Database is down + errorName: Internal_Server_Error + reqId: some-id NotFound: description: The specified resource was not found content: @@ -41265,6 +40314,16 @@ components: code: NotFound message: The specified resource was not found status: 404 + NotFoundError: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/StakingError' + example: + error: Wallet not found + errorName: NotFound + reqId: some-id ServerError: description: Server Error - Transient error please try again content: @@ -41295,6 +40354,16 @@ components: code: Unauthorized message: Unauthorized status: 401 + UnauthorizedError: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/StakingError' + example: + error: Unauthorized + errorName: Unauthorized + reqId: some-id schemas: AccelerationIntent: title: AccelerationIntent @@ -41658,6 +40727,9 @@ components: required: - startDate - startReason + AdaClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' AdaConsolidateIntent: title: ADA Consolidate Intent allOf: @@ -41666,6 +40738,18 @@ components: unspents: $ref: '#/components/schemas/optionalStringArray' - $ref: '#/components/schemas/AccountBaseConsolidateIntent' + AdaDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + required: + - rewardAddress + properties: + rewardAddress: + type: string + dRepId: + type: string + nullable: true AdaPaymentIntent: title: ADA Payment Intent allOf: @@ -41718,18 +40802,8 @@ components: AdaStakingDelegation: title: ADA allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object - properties: - rewardAddress: - description: The reward address for staking rewards. - type: string - dRepId: - description: The delegated representative ID. - type: string - isVoteDelegationRequest: - description: Whether this is a vote delegation request. - type: boolean AdaStakingRequest: title: ADA allOf: @@ -41760,23 +40834,33 @@ components: isVoteDelegationRequest: description: Whether this is a vote delegation request. type: boolean + AdaStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + validatorAddress: + type: string + nullable: true + delegationId: + type: string + nullable: true + rewardAddress: + type: string + description: Address where staking rewards are sent. + delegatedRepId: + type: string + nullable: true + description: Delegated representative ID (DRep). + isVoteDelegationRequest: + type: boolean + nullable: true AdaStakingRequestPOSTBody: title: ADA stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object properties: - amount: - description: Amount to stake in base units. - type: string - example: '10000000000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE - validator: - description: The validator address or other identifier. - type: string rewardAddress: description: The reward address for staking rewards. type: string @@ -41786,29 +40870,11 @@ components: isVoteDelegationRequest: description: Whether this is a vote delegation request. type: boolean - required: - - amount - - type AdaUnStakingRequestPOSTBody: title: ADA unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - type - - delegationId AdaUnstakeIntent: title: ADA Unstake Intent allOf: @@ -42898,7 +41964,7 @@ components: example: 1 AsiStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object AsiStakingRequest: title: ASI @@ -42933,15 +41999,8 @@ components: AsiUnStakingRequestPOSTBody: title: ASI unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount AssetsResponse: title: AssetsResponse type: array @@ -43146,25 +42205,42 @@ components: required: - rootAddress - memoId + AtomClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + validatorAddress: + type: string + required: + - validatorAddress AtomClaimRewardsRequestPOSTBody: title: Cosmos Hub (ATOM) Claim Rewards Request type: object description: Request to claim staking rewards for Cosmos Hub (ATOM). - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' + AtomDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + required: + - validatorAddress + properties: + validatorAddress: + type: string + consensusAddress: + type: string + nullable: true + activeRewards: + type: string + format: bigInteger + lastSlashedBlockHeight: + type: string + format: bigInteger + nullable: true + isValidatorJailed: + type: boolean + nullable: true AtomPaymentIntent: title: Atom Payment Intent allOf: @@ -43204,7 +42280,7 @@ components: - $ref: '#/components/schemas/StakeIntent' AtomStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object AtomStakingRequest: title: ATOM @@ -43227,6 +42303,18 @@ components: amount: description: Amount to stake in base units. type: string + AtomStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + validator: + type: string + nullable: true + delegationRequests: + type: array + items: + $ref: '#/components/schemas/DelegationRequest' + nullable: true AtomStakingRequestPOSTBody: title: ATOM stake allOf: @@ -43240,37 +42328,13 @@ components: title: Cosmos Hub (ATOM) Switch Validators Request type: object description: Request to switch staking delegation to a new validator for Cosmos Hub (ATOM). - required: - - type - - delegationId - - validator - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - SWITCH_VALIDATORS - description: Type of request. - delegationId: - type: string - description: Identifier of the existing delegation to switch from. - validator: - type: string - description: Address of the new validator to delegate to. + allOf: + - $ref: '#/components/schemas/SwitchValidatorsRequestPOSTBody' AtomUnStakingRequestPOSTBody: title: ATOM unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount AtomUnstakeIntent: title: Atom Unstake Intent allOf: @@ -43377,6 +42441,26 @@ components: enum: - bg23 - '' + AvaxCDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + required: + - stakingType + properties: + stakingType: + type: string + enum: + - STAVAX_STAKE + - PSTAVAX_STAKE + delegatedInToken: + type: string + format: bigInteger + nullable: true + delegatedInBaseCoin: + type: string + format: bigInteger + nullable: true AvaxCStakingRequest: title: AVAXC allOf: @@ -43411,14 +42495,6 @@ components: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object properties: - amount: - description: Amount to stake in base units. - type: string - example: '100000000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE subType: description: Subtype of AVAXC staking request. type: string @@ -43427,21 +42503,12 @@ components: - PSTAVAX_STAKE example: STAVAX_STAKE required: - - amount - - type - subType AvaxCUnStakingRequestPOSTBody: title: AVAXC unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '100000000' - required: - - amount AvaxPAddress: title: AvaxP Address type: object @@ -43455,10 +42522,57 @@ components: required: - threshold - addresses + AvaxPDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + required: + - fee + - durationSeconds + properties: + fee: + type: string + format: bigDecimal + durationSeconds: + type: string + format: bigInteger + startTime: + type: string + format: bigInteger + nullable: true + endTime: + type: string + format: bigInteger + nullable: true + blsPublicKey: + type: string + nullable: true + blsSignature: + type: string + nullable: true AvaxPStakingDelegation: allOf: - $ref: '#/components/schemas/StakingDelegation' - type: object + - type: object + description: Avalanche P-Chain staking delegation. + properties: + durationSeconds: + type: string + description: Duration of the delegation in seconds (stringified bigint). + startTime: + type: string + description: Start time of the delegation in epoch seconds (stringified bigint). + nullable: true + endTime: + type: string + description: End time of the delegation in epoch seconds (stringified bigint). + nullable: true + unstakeable: + type: boolean + description: Indicates whether the delegation can currently be unstaked. + nullable: true + permissionAttributes: + $ref: '#/components/schemas/WalletStakingPermissionAttributes' AvaxPStakingRequest: title: AVAXP allOf: @@ -43483,27 +42597,42 @@ components: durationSeconds: description: The length of time in seconds to complete a staking period. type: integer + AvaxPStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + durationSeconds: + type: string + validator: + type: string + nullable: true + blsPublicKey: + type: string + nullable: true + blsSignature: + type: string + nullable: true + required: + - durationSeconds AvaxPStakingRequestPOSTBody: title: AVAXP stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object properties: - amount: - description: Amount to stake in base units. - type: string - example: '1000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE durationSeconds: description: The length of time in seconds to complete a staking period. type: integer example: 604800 + blsPublicKey: + description: The BLS public key for this staking request. + type: string + nullable: true + blsSignature: + description: The BLS signature associated with this staking request. + type: string + nullable: true required: - - amount - - type - durationSeconds AvaxPStakingTransaction: allOf: @@ -43524,12 +42653,32 @@ components: - threshold AvaxcStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object + AvaxcStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + stakingType: + type: string + enum: + - STAVAX_STAKE + - PSTAVAX_STAKE AvaxcStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' type: object + AvaxcUnstakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + stakingType: + type: string + enum: + - STAVAX_STAKE + - PSTAVAX_STAKE AvaxpWalletStakingStateAttributes: type: object properties: @@ -43587,7 +42736,7 @@ components: - $ref: '#/components/schemas/BaseStakeIntent' BabyStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object BabyStakingRequest: title: BABY @@ -43622,15 +42771,8 @@ components: BabyUnStakingRequestPOSTBody: title: BABY unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount BabyWithdrawRewardIntent: title: Baby WithdrawReward Intent allOf: @@ -43646,6 +42788,19 @@ components: - intentType - type - $ref: '#/components/schemas/BaseStakeIntent' + BabylonStakingParms: + type: object + properties: + duration: + type: integer + format: int64 + description: Duration of the delegation in seconds. + rewardAddress: + type: string + description: Address to receive staking rewards. + required: + - duration + - rewardAddress BackingFiatCoin: title: BackingFiatCoin allOf: @@ -44101,6 +43256,55 @@ components: - customers_cubix_api - customers_sftp - lead + BaseDelegation: + allOf: + - $ref: '#/components/schemas/StakingDelegation' + - type: object + description: Extended delegation with BitGo-specific properties. + properties: + properties: + $ref: '#/components/schemas/DelegationPropertiesSchemas' + claimable: + type: boolean + description: Whether the delegation has claimable rewards. + nullable: true + pendingClaimRewards: + type: string + description: Rewards that are pending claim (stringified bigint). + nullable: true + claimableRewards: + type: string + description: Rewards that are currently claimable (stringified bigint). + nullable: true + switchable: + type: boolean + description: Whether the delegation can be switched to another validator. + nullable: true + maxSwitch: + type: string + description: Maximum amount allowed to switch (stringified bigint). + nullable: true + minSwitch: + type: string + description: Minimum amount required to switch (stringified bigint). + nullable: true + permissionAttributes: + $ref: '#/components/schemas/WalletStakingPermissionAttributes' + spendableAttributes: + $ref: '#/components/schemas/WalletStakingSpendableAttributes' + restaking: + type: boolean + description: Whether this delegation is restaking rewards automatically. + nullable: true + rewardPairs: + type: array + description: Reward token breakdown for Eigen-like or ETH restaking. + items: + $ref: '#/components/schemas/RewardPairs' + rewardCoin: + type: string + description: The reward coin associated with this delegation. + nullable: true BaseDisclaimer: type: object description: Base fields common to all disclaimers. @@ -44699,6 +43903,9 @@ components: required: - calldata - $ref: '#/components/schemas/BaseStakeIntent' + BaseSwitchStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/SwitchValidatorRequestEntityProperties' BaseTradeCorrectionMetadata: title: BaseTradeCorrectionMetadata type: object @@ -44774,21 +43981,49 @@ components: required: - intentType - $ref: '#/components/schemas/BaseStakeIntent' + BeraDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + required: + - stakingType + properties: + stakingType: + type: string + enum: + - NATIVE_STAKE + - INFRARED_LIQUID_STAKE + operator: + type: string + nullable: true + validatorPubkey: + type: string + nullable: true + withdrawCredentials: + type: string + nullable: true + depositSignature: + type: string + nullable: true + iBeraTotal: + type: string + format: bigInteger + nullable: true + beraDepositsMinusWithdrawals: + type: string + format: bigInteger + nullable: true + activationBlock: + type: string + nullable: true + lastSyncedDelegationBlock: + type: string + nullable: true BeraStakingDelegation: title: BERA allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object - properties: - subType: - description: The staking type. - type: string - enum: - - NATIVE_STAKE - - INFRARED_LIQUID_STAKE - operator: - description: The operator address. - type: string BeraStakingRequest: title: BERA allOf: @@ -44822,26 +44057,34 @@ components: operator: description: The operator address. type: string + BeraStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + stakingType: + type: string + enum: + - NATIVE_STAKE + - INFRARED_LIQUID_STAKE + operator: + type: string + description: Optional operator address. + validatorPubkey: + type: string + description: Validator BLS public key. + withdrawCredentials: + type: string + description: Withdraw credentials. + depositSignature: + type: string + description: Deposit signature. BeraStakingRequestPOSTBody: title: BERA stake allOf: - - $ref: '#/components/schemas/StakingRequestPOSTBody' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object properties: - amount: - description: Amount to stake in base units. - type: string - example: '1000000000000000000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE - validator: - description: The validator pubkey. - type: string - gasPrice: - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. - type: string subType: description: The staking type (NATIVE_STAKE, INFRARED_LIQUID_STAKE). type: string @@ -44858,29 +44101,21 @@ components: depositSignature: description: The deposit signature. type: string - required: - - amount - - type BeraUnStakingRequestPOSTBody: title: BERA unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string - amount: - description: Amount to unstake in base units. - type: string - example: '1000000000000000000' - required: - - type - - delegationId + BeraUnstakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + delegationId: + type: string + description: Delegation identifier. + required: + - delegationId Birthdate: type: object properties: @@ -44951,24 +44186,11 @@ components: title: Agoric (BLD) Claim Rewards Request type: object description: Request to claim staking rewards for Agoric (BLD). - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' BldStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object BldStakingRequest: title: BLD @@ -45004,37 +44226,13 @@ components: title: Agoric (BLD) Switch Validators Request type: object description: Request to switch staking delegation to a new validator for Agoric (BLD). - required: - - type - - delegationId - - validator - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - SWITCH_VALIDATORS - description: Type of request. - delegationId: - type: string - description: Identifier of the existing delegation to switch from. - validator: - type: string - description: Address of the new validator to delegate to. + allOf: + - $ref: '#/components/schemas/SwitchValidatorsRequestPOSTBody' BldUnStakingRequestPOSTBody: title: BLD unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount BlincAccountResponseProps: title: BlincAccountResponseProps type: object @@ -45102,9 +44300,21 @@ components: - validatorAddress - amount - $ref: '#/components/schemas/BaseStakeIntent' + BscDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + required: + - validatorAddress + properties: + validatorAddress: + type: string + activeRewards: + type: string + format: bigInteger BscStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object BscStakingRequest: title: BSC @@ -45127,6 +44337,13 @@ components: amount: description: Amount to stake in base units. type: string + BscStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + validatorAddress: + type: string + nullable: true BscStakingRequestPOSTBody: title: BSC stake allOf: @@ -45159,15 +44376,8 @@ components: BscUnStakingRequestPOSTBody: title: BSC unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount BscWithdrawUndelegateIntent: title: BSC Withdraw Intent allOf: @@ -45181,11 +44391,129 @@ components: - validatorAddress - requestNumber - $ref: '#/components/schemas/WithdrawIntent' + BtcBabylonDelegationProperties: + type: object + required: + - duration + - rewardAddress + properties: + duration: + type: integer + rewardAddress: + type: string + babylonAddressPubkey: + type: string + nullable: true + BtcClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + delegationId: + type: string + description: Optional delegation identifier. + coredao: + $ref: '#/components/schemas/BtcCoredaoClaimRewardsProperties' + BtcCoredaoClaimRewardsProperties: + type: object + properties: + claimedCoreReward: + type: string + description: Claimed CORE reward amount in base units. + claimedBtcReward: + type: string + description: Claimed BTC reward amount in base units. + claimedHashReward: + type: string + description: Claimed HASH reward amount in base units. + required: + - claimedCoreReward + - claimedBtcReward + - claimedHashReward + BtcCoredaoDelegationProperties: + type: object + required: + - expireAt + - rewardAddress + properties: + expireAt: + type: string + format: date-time + rewardAddress: + type: string + redeemScript: + type: string + nullable: true + BtcDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + properties: + expireAt: + type: string + format: date-time + nullable: true + rewardAddress: + type: string + nullable: true + targetWalletId: + type: string + nullable: true + unspent: + type: string + nullable: true + redeemScript: + type: string + nullable: true + recipientAddress: + type: string + nullable: true + rewardWalletId: + type: string + nullable: true + activeRewards: + type: string + format: bigInteger + rewardCoin: + $ref: '#/components/schemas/Coin1' + txHex: + type: string + nullable: true + babylon: + $ref: '#/components/schemas/BtcBabylonDelegationProperties' + coredao: + $ref: '#/components/schemas/BtcCoredaoDelegationProperties' BtcStakingDelegation: title: BTC allOf: - $ref: '#/components/schemas/StakingDelegation' - type: object + - type: object + description: Bitcoin staking delegation. + properties: + properties: + $ref: '#/components/schemas/BtcDelegationProperties' + rewardCoin: + $ref: '#/components/schemas/Coin1' + unstakingFee: + type: string + description: Fee charged for unstaking (stringified bigint). + unstakingMin: + type: string + description: Minimum amount required to unstake (stringified bigint). + unstakeable: + type: boolean + description: Indicates whether the delegation can currently be unstaked. + nullable: true + permissionAttributes: + $ref: '#/components/schemas/WalletStakingPermissionAttributes' + claimableRewards: + type: string + description: Rewards that are currently claimable (stringified bigint). + nullable: true + endTime: + type: string + description: End time of the delegation in epoch seconds (stringified bigint). + nullable: true BtcStakingRequest: title: BTC allOf: @@ -45207,23 +44535,28 @@ components: amount: description: Amount to stake in base units. type: string + BtcStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + validator: + type: string + protocol: + type: string + description: Staking protocol used for BTC staking. + enum: + - COREDAO + - BABYLON + coredao: + $ref: '#/components/schemas/CoredaoStakingParms' + babylon: + $ref: '#/components/schemas/BabylonStakingParms' BtcStakingRequestPOSTBody: title: BTC stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object properties: - amount: - description: Amount to stake in base units. - type: string - example: '10000000000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE - validator: - description: The validator address or other identifier. - type: string coredao: type: object properties: @@ -45248,25 +44581,11 @@ components: description: The address where rewards will be sent. type: string example: '0x1234567890abcdef1234567890abcdef12345678' - required: - - amount - - type BtcUnStakingRequestPOSTBody: title: BTC unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object - properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string - required: - - type - - delegationId BuildParams: type: object properties: @@ -45855,6 +45174,15 @@ components: - bitgoAsAService - cryptoAsAServiceParent - cryptoAsAServiceChild + ByovDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + required: + - validatorAddress + properties: + validatorAddress: + type: string CBITBankAccount: title: CBIT Bank Account type: object @@ -46158,6 +45486,24 @@ components: - $ref: '#/components/schemas/BasePermissionAttributes' type: object description: Permission attributes specific to claiming staking rewards. + ClaimRewardsRequestPOSTBody: + type: object + description: Base request to claim staking rewards. + required: + - type + - delegationId + properties: + clientId: + type: string + description: Optional client defined identifier. + type: + type: string + enum: + - CLAIM_REWARDS + description: Type of request. + delegationId: + type: string + description: Identifier of the delegation. ClaimRewardsSpendableAttributes: allOf: - $ref: '#/components/schemas/BaseSpendableAttributes' @@ -46882,10 +46228,39 @@ components: - validatorAddress - amount - $ref: '#/components/schemas/BaseStakeIntentWithCalldata' + CoredaoClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + claimedCoreReward: + type: string + description: Optional claimed CORE reward. + claimedBtcReward: + type: string + description: Optional claimed BTC reward. + claimedHashReward: + type: string + description: Optional claimed HASH reward. + CoredaoDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' CoredaoStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' + type: object + CoredaoStakingParms: type: object + properties: + expireAt: + type: string + description: Expiration timestamp of the delegation. + rewardAddress: + type: string + description: Address to receive staking rewards. + required: + - expireAt + - rewardAddress CoredaoStakingRequest: title: CoreDAO allOf: @@ -46910,15 +46285,19 @@ components: amount: description: Amount to stake in base units (i.e. Wei for CoreDAO) type: string + CoredaoStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + validator: + type: string + description: Optional validator address. CoredaoStakingRequestPOSTBody: title: COREDAO stake allOf: - - $ref: '#/components/schemas/StakingRequestPOSTBody' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. CoredaoStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' @@ -46930,34 +46309,25 @@ components: CoredaoUnStakingRequestPOSTBody: title: COREDAO unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithGasPrice' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. + CoredaoUnstakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + delegationId: + type: string + description: Delegation identifier. CoreumClaimRewardsRequestPOSTBody: title: Coreum Claim Rewards Request type: object description: Request to claim staking rewards for Coreum. - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' CoreumStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object CoreumStakingRequest: title: COREUM @@ -46993,37 +46363,13 @@ components: title: Coreum Switch Validators Request type: object description: Request to switch staking delegation to a new validator for Coreum. - required: - - type - - delegationId - - validator - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - SWITCH_VALIDATORS - description: Type of request. - delegationId: - type: string - description: Identifier of the existing delegation to switch from. - validator: - type: string - description: Address of the new validator to delegate to. + allOf: + - $ref: '#/components/schemas/SwitchValidatorsRequestPOSTBody' CoreumUnStakingRequestPOSTBody: title: COREUM unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount CosmosContractCallIntent: title: Cosmos Contract Call allOf: @@ -47044,6 +46390,38 @@ components: - intentType - contract - msgHex + CosmosLikeClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + validatorAddress: + type: string + required: + - validatorAddress + CosmosLikeDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + validatorAddress: + type: string + consensusAddress: + type: string + nullable: true + activeRewards: + type: string + format: bigInteger + lastRedelegationTimestamp: + type: integer + format: int64 + nullable: true + lastSlashedBlockHeight: + type: string + format: bigInteger + nullable: true + isValidatorJailed: + type: boolean + nullable: true CosmosLikeStakingDelegation: title: ATOM like allOf: @@ -47070,22 +46448,25 @@ components: amount: description: Amount to stake in base units. type: string - CosmosLikeStakingRequestPOSTBody: - title: ATOM-like stake + CosmosLikeStakingRequestEntityProperties: allOf: - - $ref: '#/components/schemas/StakingRequestPOSTBody' - type: object + - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: validator: - description: The validator to delegate to. type: string - example: 017234b285929170324e1051ccd887dc08adf049650ecf5d383985b0b0048ab39b - required: - - validator + nullable: true + delegationRequests: + type: array + items: + $ref: '#/components/schemas/DelegationRequest' + nullable: true CosmosLikeStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' type: object + CosmosLikeSwitchStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/SwitchValidatorRequestEntityProperties' CosmosLikeUnStakingRequestPOSTBody: title: ATOM-like unstake allOf: @@ -47775,24 +47156,11 @@ components: title: Cronos Claim Rewards Request type: object description: Request to claim staking rewards for Cronos. - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' CronosStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object CronosStakingRequest: title: CRONOS @@ -47828,40 +47196,23 @@ components: title: Cronos Switch Validators Request type: object description: Request to switch staking delegation to a new validator for Cronos. - required: - - type - - delegationId - - validator - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - SWITCH_VALIDATORS - description: Type of request. - delegationId: - type: string - description: Identifier of the existing delegation to switch from. - validator: - type: string - description: Address of the new validator to delegate to. + allOf: + - $ref: '#/components/schemas/SwitchValidatorsRequestPOSTBody' CronosUnStakingRequestPOSTBody: title: CRONOS unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount + CsprDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + properties: + validatorAddress: + type: string CsprStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object CsprStakingRequest: title: CSPR @@ -47884,6 +47235,13 @@ components: amount: description: Amount to stake in base units. type: string + CsprStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + validator: + type: string + nullable: true CsprStakingRequestPOSTBody: title: CSPR stake allOf: @@ -47896,15 +47254,8 @@ components: CsprUnStakingRequestPOSTBody: title: CSPR unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount Currencies: type: array items: @@ -48113,6 +47464,94 @@ components: totalElements: type: integer description: The number of elements per page used for paging purposes. + DelegationProperties: + type: object + required: + - type + properties: + type: + $ref: '#/components/schemas/DelegationPropertiesType' + commissionPercent: + type: string + format: bigDecimal + nullable: true + commissionPercentLastUpdatedAt: + type: string + format: date-time + nullable: true + DelegationPropertiesSchemas: + description: Union of all coin-specific delegation property schemas. + oneOf: + - $ref: '#/components/schemas/AdaDelegationProperties' + - $ref: '#/components/schemas/AtomDelegationProperties' + - $ref: '#/components/schemas/AvaxPDelegationProperties' + - $ref: '#/components/schemas/AvaxCDelegationProperties' + - $ref: '#/components/schemas/BeraDelegationProperties' + - $ref: '#/components/schemas/BscDelegationProperties' + - $ref: '#/components/schemas/BtcDelegationProperties' + - $ref: '#/components/schemas/CoredaoDelegationProperties' + - $ref: '#/components/schemas/CosmosLikeDelegationProperties' + - $ref: '#/components/schemas/CsprDelegationProperties' + - $ref: '#/components/schemas/DotDelegationProperties' + - $ref: '#/components/schemas/EigenLikeDelegationProperties' + - $ref: '#/components/schemas/MaticLikeDelegationProperties' + - $ref: '#/components/schemas/WflrDelegationProperties' + - $ref: '#/components/schemas/WctDelegationProperties' + - $ref: '#/components/schemas/VetDelegationProperties' + - $ref: '#/components/schemas/TrxDelegationProperties' + - $ref: '#/components/schemas/TonDelegationProperties' + - $ref: '#/components/schemas/TaoDelegationProperties' + - $ref: '#/components/schemas/SuiDelegationProperties' + - $ref: '#/components/schemas/StxDelegationProperties' + - $ref: '#/components/schemas/SomiDelegationProperties' + - $ref: '#/components/schemas/SolDelegationProperties' + - $ref: '#/components/schemas/PolyxDelegationProperties' + - $ref: '#/components/schemas/NearDelegationProperties' + - $ref: '#/components/schemas/UnknownDelegationProperties' + DelegationPropertiesType: + type: string + enum: + - AVAXP + - AVAXC + - ETH + - ETH_P2P + - NEAR + - SOL + - DOT + - MATIC + - CSPR + - SUI + - ADA + - ATOM + - COSMOS + - BSC + - TON + - STX + - EIGEN_LIKE + - BTC + - WCT + - WFLR + - COREDAO + - BERA + - TAO + - TRX + - POLYX + - SOMI + - VET + - UNKNOWN + DelegationRequest: + type: object + description: Individual delegation request entry. + properties: + amount: + description: Amount to delegate to the validator in base units. + type: string + validator: + description: The validator to delegate to. + type: string + required: + - amount + - validator DelegationResults: type: object properties: @@ -48319,35 +47758,6 @@ components: anyOf: - $ref: '#/components/schemas/WhitelistedAddressValue' - $ref: '#/components/schemas/NonWhitelistedAddressValue' - DisclaimerAttributes: - type: object - properties: - staking: - type: object - properties: - info: - type: array - items: - type: string - transactionsNeeded: - type: number - stakeWarmupPeriodDesc: - type: string - rewardPercentageRate: - type: string - rewardsCompounding: - type: boolean - unstaking: - type: object - properties: - info: - type: array - items: - type: string - transactionsNeeded: - type: number - unStakeCooldownPeriodDesc: - type: string DisputeClosure: title: DisputeClosure type: object @@ -48968,6 +48378,15 @@ components: - proxyType - $ref: '#/components/schemas/AccountBaseCreateAccountIntent' - $ref: '#/components/schemas/DotAccountBaseBuildOptions' + DotDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + proxyAddress: + type: string + nominateProxyAddress: + type: boolean DotPaymentIntent: title: DOT Payment Intent allOf: @@ -49011,7 +48430,7 @@ components: DotStakingDelegation: title: DOT allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object DotStakingIntent: title: DOT Staking Intent @@ -49052,16 +48471,19 @@ components: amount: description: Amount to stake in base units. type: string + DotStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + proxyAddress: + type: string + description: Proxy address used for staking. DotStakingRequestPOSTBody: title: DOT stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - properties: - amount: - description: Amount to stake in base units. - type: string - example: '10000000000' DotStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' @@ -49069,22 +48491,12 @@ components: DotUnStakingRequestPOSTBody: title: DOT unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE delegationId: description: The delegation ID representing the delegation to unstake. type: string - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - type DotUnstakingIntent: title: DOT Unstaking Intent allOf: @@ -49221,9 +48633,27 @@ components: $ref: '#/components/schemas/ChallengePartyConfig' required: - challenge + EigenLikeClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + EigenLikeDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + validatorAddress: + type: string + EigenLikeStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + properties: + validatorAddress: + type: string + required: + - validatorAddress EigenStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object EigenStakingRequest: title: Eigen @@ -49252,12 +48682,8 @@ components: EigenStakingRequestPOSTBody: title: EIGEN stake allOf: - - $ref: '#/components/schemas/StakingRequestPOSTBody' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. EigenStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' @@ -49269,12 +48695,8 @@ components: EigenUnStakingRequestPOSTBody: title: EIGEN unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithGasPrice' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. Eip1559Params: type: object required: @@ -50152,6 +49574,22 @@ components: senderAddressIndex: $ref: '#/components/schemas/optionalNumber' - $ref: '#/components/schemas/AccountBaseBuildOptions' + EthCheckpointRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + EthClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + EthCommonStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + gasPrice: + allOf: + - $ref: '#/components/schemas/IntegerString' + description: Optional gas price override for Ethereum staking requests. + nullable: true EthConsolidateIntent: title: ETH Consolidate Intent allOf: @@ -50231,6 +49669,19 @@ components: required: - intentType - $ref: '#/components/schemas/BaseStakeIntent' + EthP2POrgStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthStakingRequestEntityProperties' + - type: object + properties: + feeRecipientAddress: + type: string + description: Fee recipient address for rewards. + nullable: true + depositId: + type: string + description: Unique ID for the deposit transaction. + nullable: true EthPaymentIntent: title: ETH Payment Intent allOf: @@ -50245,7 +49696,7 @@ components: EthStakingDelegation: title: ETH allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object properties: properties: @@ -50305,15 +49756,64 @@ components: amount: description: Amount to stake in base units (i.e. Wei for ETH). For Ethereum the amount needs to be a multiple of 32 ETH (32000000000000000000 Wei). For Testnet the 32 ETH multiple restriction does not apply. type: string + EthStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + provider: + type: string + provisionType: + type: string + enum: + - ORIGINAL + - PECTRA + providerRequestIds: + type: array + items: + type: string + isRestaking: + type: boolean + description: Whether this staking request is a restake. + operator: + type: string + description: The operator address. + precomputedBatch: + type: object + properties: + newValidators: + type: array + items: + type: string + description: BigInteger encoded as string + existingValidators: + type: array + items: + type: object + properties: + delegationId: + type: string + format: uuid + amount: + type: string + description: BigInteger encoded as string + delegationId: + type: string + description: Delegation ID associated with the staking request. + nullable: true + stakingType: + type: string + enum: + - ETH_STAKE + - ETH_STAKE_PECTRA + - ETH_STAKE_P2P + - LIDO EthStakingRequestPOSTBody: title: ETH stake allOf: - - $ref: '#/components/schemas/StakingRequestPOSTBody' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. operator: description: The operator address to be used for restaking ETH type: string @@ -50372,20 +49872,8 @@ components: EthUnStakingRequestPOSTBody: title: ETH unstake (default) allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '32000000000' - delegationId: - description: Delegation identifier for this unstake. - type: string - format: uuid - required: - - amount - - delegationId EthUnStakingRequestPOSTBodyPrePectra: title: ETH unstake (pre-Pectra) allOf: @@ -53459,7 +52947,7 @@ components: example: The transfer amount must be greater than the given limit for the condition to trigger HashStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object HashStakingRequest: title: HASH @@ -53494,15 +52982,8 @@ components: HashUnStakingRequestPOSTBody: title: HASH unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount HederaAddress: title: Hedera Address type: object @@ -53639,6 +53120,14 @@ components: type: string description: A description for the condition parameter Value which can be shown to an end user. example: A hot wallet + ICPStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + neuronAddress: + type: string + description: Optional neuron address. IcpPaymentIntent: title: ICP Payment Intent allOf: @@ -54124,24 +53613,11 @@ components: title: Injective Claim Rewards Request type: object description: Request to claim staking rewards for Injective. - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' InjectiveStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object InjectiveStakingRequest: title: INJECTIVE @@ -54177,37 +53653,13 @@ components: title: Injective Switch Validators Request type: object description: Request to switch staking delegation to a new validator for Injective. - required: - - type - - delegationId - - validator - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - SWITCH_VALIDATORS - description: Type of request. - delegationId: - type: string - description: Identifier of the existing delegation to switch from. - validator: - type: string - description: Address of the new validator to delegate to. + allOf: + - $ref: '#/components/schemas/SwitchValidatorsRequestPOSTBody' InjectiveUnStakingRequestPOSTBody: title: INJECTIVE unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount InquiryStatus: title: InquiryStatus type: string @@ -56449,15 +55901,26 @@ components: - createdAt - updatedAt - settlementStatus + MaticLikeDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + stakingDestination: + type: string + MaticLikeStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + stakingDestination: + type: string + nullable: true MaticStakingDelegation: title: MATIC allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object - properties: - unstakeable: - description: True if unable to unstake. - type: boolean MaticStakingRequest: title: MATIC allOf: @@ -56485,12 +55948,8 @@ components: MaticStakingRequestPOSTBody: title: MATIC stake allOf: - - $ref: '#/components/schemas/StakingRequestPOSTBody' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. MaticStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' @@ -56502,12 +55961,8 @@ components: MaticUnStakingRequestPOSTBody: title: MATIC unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithGasPrice' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. MemoObject: type: object properties: @@ -56768,6 +56223,13 @@ components: - first - full - last + NearDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + stakingDestination: + type: string NearStakeIntent: title: Near Stake Intent allOf: @@ -56805,7 +56267,7 @@ components: NearStakingDelegation: title: NEAR allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object NearStakingRequest: title: NEAR @@ -56828,16 +56290,19 @@ components: amount: description: Amount to stake in base units. type: string + NearStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + stakingDestination: + type: string + nullable: true NearStakingRequestPOSTBody: title: NEAR stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - properties: - amount: - description: Amount to stake in base units. - type: string - example: '12000000000000000000' NearStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' @@ -56845,20 +56310,8 @@ components: NearUnStakingRequestPOSTBody: title: NEAR unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to stake in base units. - type: string - example: '12000000000000000000' - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - required: - - amount - - type NearUnstakeIntent: title: Near Unstake Intent allOf: @@ -58242,24 +57695,11 @@ components: title: Osmosis (OSMO) Claim Rewards Request type: object description: Request to claim staking rewards for Osmosis (OSMO). - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' OsmoStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object OsmoStakingRequest: title: OSMO @@ -58295,37 +57735,13 @@ components: title: Osmosis (OSMO) Switch Validators Request type: object description: Request to switch staking delegation to a new validator for Osmosis (OSMO). - required: - - type - - delegationId - - validator - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - SWITCH_VALIDATORS - description: Type of request. - delegationId: - type: string - description: Identifier of the existing delegation to switch from. - validator: - type: string - description: Address of the new validator to delegate to. + allOf: + - $ref: '#/components/schemas/SwitchValidatorsRequestPOSTBody' OsmoUnStakingRequestPOSTBody: title: OSMO unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount Otp: type: string example: '123456' @@ -60743,7 +60159,7 @@ components: - url PolStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object PolStakingRequest: title: POL @@ -60772,12 +60188,8 @@ components: PolStakingRequestPOSTBody: title: POL stake allOf: - - $ref: '#/components/schemas/StakingRequestPOSTBody' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. PolStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' @@ -60789,12 +60201,8 @@ components: PolUnStakingRequestPOSTBody: title: POL unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithGasPrice' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. Policy: title: Policy type: object @@ -61316,6 +60724,10 @@ components: - amount - $ref: '#/components/schemas/AccountBaseCreateAccountIntent' - $ref: '#/components/schemas/SubstrateAccountBaseBuildOptions' + PolyxDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object PolyxStakeIntent: title: POLYX Stake Intent allOf: @@ -61332,7 +60744,7 @@ components: - $ref: '#/components/schemas/PolyxBaseIntent' PolyxStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object PolyxStakingRequest: title: POLYX @@ -61355,6 +60767,16 @@ components: amount: description: Amount to stake in base units. type: string + PolyxStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + validatorAddress: + type: string + description: Validator address. + required: + - validatorAddress PolyxStakingRequestPOSTBody: title: POLYX stake allOf: @@ -61367,15 +60789,8 @@ components: PolyxUnStakingRequestPOSTBody: title: POLYX unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount PolyxUnstakeIntent: title: POLYX Unstake Intent allOf: @@ -62344,7 +61759,7 @@ components: format: decimal RethRocketStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object RethRocketStakingRequest: title: RETH-ROCKET @@ -62373,12 +61788,8 @@ components: RethRocketStakingRequestPOSTBody: title: RETH-ROCKET stake allOf: - - $ref: '#/components/schemas/StakingRequestPOSTBody' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. RethRocketStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' @@ -62390,12 +61801,8 @@ components: RethRocketUnStakingRequestPOSTBody: title: RETH-ROCKET unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithGasPrice' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. RewardPairs: type: object properties: @@ -62605,24 +62012,11 @@ components: title: Sei Claim Rewards Request type: object description: Request to claim staking rewards for Sei. - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' SeiStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object SeiStakingRequest: title: SEI @@ -62658,37 +62052,13 @@ components: title: Sei Switch Validators Request type: object description: Request to switch staking delegation to a new validator for Sei. - required: - - type - - delegationId - - validator - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - SWITCH_VALIDATORS - description: Type of request. - delegationId: - type: string - description: Identifier of the existing delegation to switch from. - validator: - type: string - description: Address of the new validator to delegate to. + allOf: + - $ref: '#/components/schemas/SwitchValidatorsRequestPOSTBody' SeiUnStakingRequestPOSTBody: title: SEI unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount SendLabel: type: object properties: @@ -63671,21 +63041,8 @@ components: title: Solana (SOL) Claim Rewards Request type: object description: Request to claim staking rewards for Solana (SOL). - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' SolCloseAssociatedTokenAccountIntent: title: SOL Close Associated Token Account Intent allOf: @@ -63799,6 +63156,34 @@ components: - stakingAddress - $ref: '#/components/schemas/BaseIntent' - $ref: '#/components/schemas/SolBuildOptions' + SolDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + properties: + validatorAddress: + type: string + lastProcessedTipSlot: + type: integer + format: int64 + nullable: true + lastProcessedTipSignature: + type: string + nullable: true + stakingType: + type: string + enum: + - SOL_STAKE + - MARINADE + - MARINADE_SELECT + bondingTimestamp: + type: string + format: bigInteger + nullable: true + unbondingTimestamp: + type: string + format: bigInteger + nullable: true SolGoUnstakeIntent: title: SolGoUnstakeIntent allOf: @@ -63858,18 +63243,18 @@ components: type: object properties: properties: - allOf: - - $ref: '#/components/schemas/SolStakingDelegationProperties' - type: object - SolStakingDelegationProperties: - type: object - properties: - bondingTimestamp: - description: An estimated timestamp of when the stake will be bonded. + $ref: '#/components/schemas/SolDelegationProperties' + unstakingFee: type: string - unbondingTimestamp: - description: An estimated timestamp of when the stake will be unbonded. + format: bigInteger + partialUnstakingMax: type: string + format: bigInteger + unstakingMin: + type: string + format: bigInteger + permissionAttributes: + $ref: '#/components/schemas/WalletStakingPermissionAttributes' SolStakingRequest: title: SOL allOf: @@ -63891,22 +63276,34 @@ components: amount: description: Amount to stake in base units. type: string + SolStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + stakingType: + type: string + enum: + - SOL_STAKE + - MARINADE + - MARINADE_SELECT + validator: + type: string + nullable: true SolStakingRequestPOSTBody: title: SOL stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object properties: - amount: - description: Amount to stake in base units. - type: string - example: '1000' - validator: - description: The validator to delegate to. + subType: + description: The subtype of SOL staking to use. type: string - example: HimWQUK61d9wxhw7EYu9jUje7xQiDs4jKexaTSvuCmXE - required: - - validator + enum: + - SOL_STAKE + - MARINADE + - MARINADE_SELECT + default: SOL_STAKE SolStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' @@ -63916,16 +63313,6 @@ components: allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object - properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string - required: - - type SolUnstakeIntent: title: SOL Unstake Intent allOf: @@ -64049,21 +63436,18 @@ components: title: Somi Claim Rewards Request type: object description: Request to claim staking rewards for Somi. - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' + SomiDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + validator: + type: string + amount: + type: string + format: bigInteger SomiStakingRequest: title: SOMI allOf: @@ -64090,71 +63474,38 @@ components: type: string required: - validatorAddress + SomiStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + validatorAddress: + type: string + description: Validator address. + required: + - validatorAddress SomiStakingRequestPOSTBody: title: SOMI stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - properties: - amount: - description: Amount to stake in base units (wei for SOMI). - type: string - example: '5000000000000000000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE - validator: - description: The SOMI validator address to delegate to. - type: string - example: '0x1234567890123456789012345678901234567890' - required: - - amount - - type - - validator SomiSwitchValidatorsRequestPOSTBody: title: Somi Switch Validators Request type: object description: Request to switch staking delegation to a new validator for Somi. - required: - - type - - delegationId - - validator - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - SWITCH_VALIDATORS - description: Type of request. - delegationId: - type: string - description: Identifier of the existing delegation to switch from. - validator: - type: string - description: Address of the new validator to delegate to. + allOf: + - $ref: '#/components/schemas/SwitchValidatorsRequestPOSTBody' SomiUnStakingRequestPOSTBody: title: SOMI unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string amount: description: Amount to unstake in base units (wei for SOMI). Supports partial unstaking. type: string example: '2000000000000000000' required: - - type - - delegationId - amount SpendingLimits: type: object @@ -64288,7 +63639,7 @@ components: comingSoon: type: boolean disclaimer: - $ref: '#/components/schemas/DisclaimerAttributes' + $ref: '#/components/schemas/StakingDisclaimerAttributes' StakeableCoinsResult: title: Stakeable coins type: object @@ -64432,7 +63783,7 @@ components: description: True if the staking feature for this asset is marked as coming soon. type: boolean disclaimer: - $ref: '#/components/schemas/DisclaimerAttributes' + $ref: '#/components/schemas/WalletStakingDisclaimerAttributes' walletCount: description: The number of wallets with delegations in this enterprise for the given coin. type: integer @@ -64681,17 +64032,23 @@ components: walletLabel: description: The label of the wallet where the staking request was created. type: string + nullable: true withdrawalAddress: description: Withdrawal Address type: string walletType: description: The type of wallet the staking request was created from either cold, custodial, or hot. type: string + enum: + - cold + - custodial + - custodialPaired + - hot + - trading type: $ref: '#/components/schemas/StakingRequestType' coin: - description: The coin to be staked (BTC, BERA, ETH, MATIC, NEAR, SOL, STX, TON, WCT, etc). - type: string + $ref: '#/components/schemas/Coin1' createdDate: description: The date the staking request was created. type: string @@ -64701,17 +64058,87 @@ components: statusModifiedDate: description: The last date the status changed. type: string + format: date-time error: description: The reason the staking request failed. type: string + nullable: true + rawError: + description: Raw internal error message if available. + type: string + nullable: true + delegations: + description: The delegations associated with this staking request. + type: array + items: + $ref: '#/components/schemas/StakingDelegation' + transactions: + description: The staking transactions associated with this request. + type: array + items: + $ref: '#/components/schemas/StakingTransaction' totalStaked: allOf: - $ref: '#/components/schemas/IntegerString' description: The sum of the amounts of all confirmed staking transactions in this request. - delegationCycle: - allOf: - - $ref: '#/components/schemas/IntegerString' - description: The number of cycles this staking request will be active. + nullable: true + isRestaking: + description: Whether this request is a restaking operation. + type: boolean + nullable: true + properties: + oneOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - $ref: '#/components/schemas/SwitchValidatorRequestEntityProperties' + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - $ref: '#/components/schemas/UnknownStakingRequestEntityProperties' + - $ref: '#/components/schemas/EthStakingRequestEntityProperties' + - $ref: '#/components/schemas/EthClaimRewardsRequestEntityProperties' + - $ref: '#/components/schemas/EthP2POrgStakingRequestEntityProperties' + - $ref: '#/components/schemas/TrxStakingRequestEntityProperties' + - $ref: '#/components/schemas/EthCheckpointRequestEntityProperties' + - $ref: '#/components/schemas/NearStakingRequestEntityProperties' + - $ref: '#/components/schemas/SolStakingRequestEntityProperties' + - $ref: '#/components/schemas/DotStakingRequestEntityProperties' + - $ref: '#/components/schemas/MaticLikeStakingRequestEntityProperties' + - $ref: '#/components/schemas/AdaStakingRequestEntityProperties' + - $ref: '#/components/schemas/AdaClaimRewardsRequestEntityProperties' + - $ref: '#/components/schemas/TrxClaimRewardsRequestEntityProperties' + - $ref: '#/components/schemas/AtomStakingRequestEntityProperties' + - $ref: '#/components/schemas/AtomClaimRewardsRequestEntityProperties' + - $ref: '#/components/schemas/CosmosLikeStakingRequestEntityProperties' + - $ref: '#/components/schemas/CosmosLikeClaimRewardsRequestEntityProperties' + - $ref: '#/components/schemas/BaseSwitchStakingRequestEntityProperties' + - $ref: '#/components/schemas/CosmosLikeSwitchStakingRequestEntityProperties' + - $ref: '#/components/schemas/AvaxPStakingRequestEntityProperties' + - $ref: '#/components/schemas/BscStakingRequestEntityProperties' + - $ref: '#/components/schemas/CsprStakingRequestEntityProperties' + - $ref: '#/components/schemas/SuiLikeStakingRequestEntityProperties' + - $ref: '#/components/schemas/SuiSwitchStakingRequestEntityProperties' + - $ref: '#/components/schemas/TonStakingRequestEntityProperties' + - $ref: '#/components/schemas/StxStakingRequestEntityProperties' + - $ref: '#/components/schemas/EigenLikeStakingRequestEntityProperties' + - $ref: '#/components/schemas/EigenLikeClaimRewardsRequestEntityProperties' + - $ref: '#/components/schemas/BtcStakingRequestEntityProperties' + - $ref: '#/components/schemas/WctStakingRequestEntityProperties' + - $ref: '#/components/schemas/WctUnstakingRequestEntityProperties' + - $ref: '#/components/schemas/WctClaimRewardsRequestEntityProperties' + - $ref: '#/components/schemas/CoredaoStakingRequestEntityProperties' + - $ref: '#/components/schemas/CoredaoUnstakingRequestEntityProperties' + - $ref: '#/components/schemas/CoredaoClaimRewardsRequestEntityProperties' + - $ref: '#/components/schemas/BtcClaimRewardsRequestEntityProperties' + - $ref: '#/components/schemas/BeraStakingRequestEntityProperties' + - $ref: '#/components/schemas/BeraUnstakingRequestEntityProperties' + - $ref: '#/components/schemas/TaoStakingRequestEntityProperties' + - $ref: '#/components/schemas/TaoSwitchValidatorRequestEntityProperties' + - $ref: '#/components/schemas/PolyxStakingRequestEntityProperties' + - $ref: '#/components/schemas/ICPStakingRequestEntityProperties' + - $ref: '#/components/schemas/AvaxcStakingRequestEntityProperties' + - $ref: '#/components/schemas/AvaxcUnstakingRequestEntityProperties' + - $ref: '#/components/schemas/WflrStakingRequestEntityProperties' + - $ref: '#/components/schemas/WflrUnstakingRequestEntityProperties' + - $ref: '#/components/schemas/SomiStakingRequestEntityProperties' + - $ref: '#/components/schemas/WflrClaimRewardsRequestEntityProperties' required: - id - requestingUserId @@ -64724,23 +64151,119 @@ components: - createdDate - status - statusModifiedDate + StakingRequestEntityProperties: + title: Base staking request entity properties + type: object + properties: + amount: + allOf: + - $ref: '#/components/schemas/IntegerString' + description: The amount involved in the staking request. + objectType: + $ref: '#/components/schemas/StakingRequestPropertiesType' + required: + - amount + - objectType StakingRequestPOSTBody: + title: Generic staking request type: object properties: clientId: - description: Optional user generated identifier to detect duplicated requests. + description: Optional user-generated identifier to detect duplicated requests. type: string + maxLength: 256 + nullable: true amount: - description: Amount to stake in base units (i.e. Wei for ETH). For Ethereum the amount must be a multiple of 32 ETH (32000000000000000000 Wei). For Testnet the 32 ETH multiple restriction does not apply. + description: Amount to stake in base units. For Ethereum, must be a multiple of 32 ETH (32000000000000000000 Wei). Testnet restrictions may differ. type: string example: '32000000000000000000' type: - description: Staking Request type = 'STAKE' + description: Staking request type. Always 'STAKE' for this endpoint. type: string example: STAKE + validator: + description: The validator to delegate to. + type: string + nullable: true + duration: + description: Optional staking duration in base units (e.g., seconds, blocks). + type: string + nullable: true + delegationRequests: + description: Optional list of individual delegation requests. + type: array + items: + $ref: '#/components/schemas/DelegationRequest' + nullable: true required: - amount - type + StakingRequestPropertiesType: + type: string + description: Type of staking request entity properties. + enum: + - AVAXP_STAKE + - ETH_STAKE + - TRX + - TRX_UNSTAKE + - TRX_CLAIM_REWARDS + - ETH_CLAIM_REWARDS + - ETH_CHECKPOINT + - ETH_UNSTAKE + - ETH_STAKE_P2P + - NEAR_STAKE + - SOL_STAKE + - SOL_UNSTAKE + - DOT_STAKE + - MATIC_STAKE + - UNSTAKE + - MATIC_UNSTAKE + - CSPR_STAKE + - CSPR_UNSTAKE + - SUI_STAKE + - SUI_SWITCH + - SUI_UNSTAKE + - ADA_STAKE + - ADA_CLAIM_REWARDS + - ATOM_STAKE + - ATOM_CLAIM_REWARDS + - COSMOS_STAKE + - COSMOS_CLAIM_REWARDS + - COSMOS_SWITCH + - BASE_SWITCH + - BSC_STAKE + - TON_STAKE + - TON_UNSTAKE + - STX_STAKE + - STX_UNSTAKE + - EIGEN_STAKE + - EIGEN_CLAIM_REWARDS + - EIGEN_UNSTAKE + - BTC_STAKE + - BTC_UNSTAKE + - BTC_CLAIM_REWARDS + - WCT_STAKE + - WCT_UNSTAKE + - WCT_CLAIM_REWARDS + - COREDAO_STAKE + - COREDAO_UNSTAKE + - COREDAO_CLAIM_REWARDS + - BERA_STAKE + - BERA_UNSTAKE + - TAO_STAKE + - TAO_UNSTAKE + - TAO_SWITCH + - POLYX_STAKE + - POLYX_UNSTAKE + - ICP + - AVAXC_STAKE + - AVAXC_UNSTAKE + - WFLR_STAKE + - WFLR_UNSTAKE + - SOMI_STAKE + - VET_STAKE + - WFLR_CLAIM_REWARDS + - UNKNOWN StakingRequestSchemas: oneOf: - $ref: '#/components/schemas/AdaStakingRequest' @@ -64816,6 +64339,14 @@ components: - SWITCH_VALIDATOR - CHECKPOINT - UNSUPPORTED + StakingRequestWithGasPOSTBody: + allOf: + - $ref: '#/components/schemas/StakingRequestPOSTBody' + - type: object + properties: + gasPrice: + type: string + description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. StakingRequestsListResponse: type: object properties: @@ -64865,6 +64396,22 @@ components: description: The date and time of the reward. type: string format: date-time + properties: + description: Detailed reward information including consensus, transaction, and MEV rewards. Only populated for ETH delegations. + type: object + properties: + consensusReward: + description: Amount of rewards from consensus participation. + type: number + transactionReward: + description: Amount of rewards from transaction fees. + type: number + mevReward: + description: Amount of rewards from MEV (Maximum Extractable Value). + type: number + provider: + description: The staking provider name. + type: string required: - reward - coin @@ -65271,6 +64818,7 @@ components: stakingWalletId: description: The unique identifier of the staking wallet entity. type: string + nullable: true walletType: description: The type of wallet the staking request was created from. type: string @@ -65294,6 +64842,7 @@ components: assetBalance: description: The total asset balance in base units. type: string + nullable: true delegated: description: The delegated staked amount in base units. type: string @@ -65311,7 +64860,8 @@ components: description: The users associated with the staking wallet. type: array items: - type: object + $ref: '#/components/schemas/WalletUser1' + nullable: true rewards: description: The amount of rewards received in base units. type: string @@ -65343,6 +64893,7 @@ components: properties: description: Additional properties of the staking wallet. type: object + nullable: true required: - enterpriseId - walletId @@ -65463,10 +65014,36 @@ components: - pendingChainInitialization - creationFailure - lastMemoId + StxDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + stxStakingType: + type: string + enum: + - STACK + - SELF_STACK + - UNSTACK + delegationCycle: + type: string + format: bigInteger + validatorAddress: + type: string + nullable: true + btcRewardAddress: + type: string + nullable: true + signerPub: + type: string + nullable: true + signerSignature: + type: string + nullable: true StxStakingDelegation: title: STX allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object properties: subType: @@ -65506,25 +65083,56 @@ components: duration: description: The staking duration in blocks. type: string + StxStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + stxStakingType: + type: string + description: Type of STX staking request. + enum: + - STACK + - SELF_STACK + - UNSTACK + delegationCycle: + type: string + validator: + type: string + nullable: true + btcRewardAddress: + type: string + nullable: true + signerPub: + type: string + nullable: true + signerSignature: + type: string + nullable: true + authId: + type: string + nullable: true + maxAmount: + type: string + nullable: true + contractName: + type: string + nullable: true + required: + - stxStakingType + - delegationCycle StxStakingRequestPOSTBody: title: STX stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object properties: - amount: - description: Amount to stake in base units. - type: string - example: '1000000000000000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE subType: description: The staking type. type: string enum: - STACK + - SELF_STACK default: STACK duration: description: The staking duration in blocks. @@ -65552,25 +65160,11 @@ components: description: The name of the staking contract. type: string default: pox-4 - required: - - amount - - type StxUnStakingRequestPOSTBody: title: STX unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object - properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string - required: - - type - - delegationId SubstrateAccountBaseBuildOptions: title: SubstrateAccountBaseBuildOptions allOf: @@ -65635,21 +65229,8 @@ components: title: Sui Claim Rewards Request type: object description: Request to claim staking rewards for Sui. - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' SuiConsolidateIntent: title: SUI Consolidate Intent allOf: @@ -65673,6 +65254,20 @@ components: - rawTx - $ref: '#/components/schemas/BaseIntent' - $ref: '#/components/schemas/SuiBuildOptions' + SuiDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + properties: + validatorAddress: + type: string + stakedSuiObjectId: + type: string + nullable: true + bondingTimestamp: + type: string + format: bigInteger + nullable: true SuiFeeOptions: title: SuiFeeOptions type: object @@ -65688,6 +65283,18 @@ components: properties: {} - $ref: '#/components/schemas/GoUnstakeIntent' - $ref: '#/components/schemas/SuiBuildOptions' + SuiLikeStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + validator: + type: string + nullable: true + delegationRequests: + type: array + items: + $ref: '#/components/schemas/DelegationRequest' + nullable: true SuiPaymentIntent: title: SUI Payment Intent allOf: @@ -65702,15 +65309,15 @@ components: type: object properties: properties: - allOf: - - $ref: '#/components/schemas/SuiStakingDelegationProperties' - type: object - SuiStakingDelegationProperties: - type: object - properties: - bondingTimestamp: - description: An estimated timestamp of when the stake will be bonded. + $ref: '#/components/schemas/SuiDelegationProperties' + unstakingFee: type: string + format: bigInteger + unstakingMin: + type: string + format: bigInteger + permissionAttributes: + $ref: '#/components/schemas/WalletStakingPermissionAttributes' SuiStakingIntent: title: SUI Stake Intent allOf: @@ -65773,18 +65380,24 @@ components: allOf: - $ref: '#/components/schemas/StakingTransaction' type: object + SuiSwitchStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + validator: + type: string + nullable: true + delegationId: + type: string + nullable: true + stakedSuiObjectId: + type: string + nullable: true SuiUnStakingRequestPOSTBody: title: SUI unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount SuiUnstakingIntent: title: SUI Unstaking Intent allOf: @@ -65807,7 +65420,7 @@ components: - $ref: '#/components/schemas/WithdrawIntent' SuiWalStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object SuiWalStakingRequest: title: SUIWAL @@ -65842,15 +65455,8 @@ components: SuiWalUnStakingRequestPOSTBody: title: SUI:WAL unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount SupportedAddressFormat: title: SupportedAddressFormat type: string @@ -65882,6 +65488,19 @@ components: - $ref: '#/components/schemas/BasePermissionAttributes' type: object description: Permission attributes specific to switching validators. + SwitchValidatorRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + validator: + type: string + description: Validator address or identifier to switch to. + nullable: true + delegationId: + type: string + description: The delegation ID associated with this switch request. + nullable: true SwitchValidatorSpendableAttributes: allOf: - $ref: '#/components/schemas/BaseSpendableAttributes' @@ -65915,6 +65534,28 @@ components: maxSwitchable: type: string description: The maximum amount of balance that can be switched to another validator. + SwitchValidatorsRequestPOSTBody: + type: object + description: Base request to switch staking delegation to a new validator. + required: + - type + - delegationId + - validator + properties: + clientId: + type: string + description: Optional client defined identifier. + type: + type: string + enum: + - SWITCH_VALIDATORS + description: Type of request. + delegationId: + type: string + description: Identifier of the existing delegation to switch from. + validator: + type: string + description: Address of the new validator to delegate to. TWAPOrderParameters: type: object properties: @@ -65935,6 +65576,17 @@ components: - narrow - standard - wide + TaoDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + properties: + validatorAddress: + type: string + netUID: + type: string + format: bigInteger + nullable: true TaoStakeIntent: title: Tao Stake Intent allOf: @@ -65962,7 +65614,7 @@ components: - $ref: '#/components/schemas/SubstrateAccountBaseBuildOptions' TaoStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object TaoStakingRequest: title: TAO @@ -65985,35 +65637,46 @@ components: amount: description: Amount to stake in base units. type: string + TaoStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + validator: + type: string + description: Optional validator address. + netUID: + type: string + description: Optional network UID. TaoStakingRequestPOSTBody: title: TAO stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object properties: - validator: - description: The validator to delegate to - type: string - example: 5FCPTnjevGqAuTttetBy4a24Ej3pH9fiQ8fmvP1ZkrVsLUoT + netUID: + description: The net UID for the staking request (0-128) + type: integer + minimum: 0 + maximum: 128 + nullable: true TaoStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' type: object + TaoSwitchValidatorRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/SwitchValidatorRequestEntityProperties' + - type: object + properties: + destinationNetuid: + type: string + description: TAO-specific destination network UID. TaoUnStakingRequestPOSTBody: title: TAO unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object - properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string - required: - - type TaoUnstakeIntent: title: Tao Unstake Intent allOf: @@ -66102,24 +65765,11 @@ components: title: Celestia (TIA) Claim Rewards Request type: object description: Request to claim staking rewards for Celestia (TIA). - required: - - type - - delegationId - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - CLAIM_REWARDS - description: Type of request. - delegationId: - type: string - description: Identifier of the delegation. + allOf: + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' TiaStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object TiaStakingRequest: title: TIA @@ -66155,37 +65805,13 @@ components: title: Celestia (TIA) Switch Validators Request type: object description: Request to switch staking delegation to a new validator for Celestia (TIA). - required: - - type - - delegationId - - validator - properties: - clientId: - type: string - description: Optional client defined identifier. - type: - type: string - enum: - - SWITCH_VALIDATORS - description: Type of request. - delegationId: - type: string - description: Identifier of the existing delegation to switch from. - validator: - type: string - description: Address of the new validator to delegate to. + allOf: + - $ref: '#/components/schemas/SwitchValidatorsRequestPOSTBody' TiaUnStakingRequestPOSTBody: title: TIA unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount TimeRange: type: string description: The time range for the data, either hourly or daily. @@ -66382,6 +66008,21 @@ components: - amount - useSingleNominator - $ref: '#/components/schemas/BaseIntent' + TonDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + properties: + validatorAddress: + type: string + tonStakingType: + type: string + enum: + - MULTI_NOMINATOR_STAKE + - SINGLE_NOMINATOR_STAKE + stakedTonObjectId: + type: string + nullable: true TonPaymentIntent: title: TON Payment Intent allOf: @@ -66396,11 +66037,16 @@ components: - $ref: '#/components/schemas/StakingDelegation' type: object properties: - subType: - description: The staking type. + unstakingFee: type: string - enum: - - MULTI_NOMINATOR_STAKE + format: bigInteger + unstakingMin: + type: string + format: bigInteger + permissionAttributes: + $ref: '#/components/schemas/WalletStakingPermissionAttributes' + properties: + $ref: '#/components/schemas/TonDelegationProperties' TonStakingRequest: title: TON allOf: @@ -66428,52 +66074,40 @@ components: enum: - MULTI_NOMINATOR_STAKE - SINGLE_NOMINATOR_STAKE + TonStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + tonStakingType: + type: string + description: TON staking mode. + enum: + - MULTI_NOMINATOR_STAKE + - SINGLE_NOMINATOR_STAKE + validator: + type: string + nullable: true + required: + - tonStakingType TonStakingRequestPOSTBody: title: TON stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object properties: - amount: - description: Amount to stake in base units. - type: string - example: '1000000000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE subType: description: The staking type. type: string enum: - MULTI_NOMINATOR_STAKE + - SINGLE_NOMINATOR_STAKE default: MULTI_NOMINATOR_STAKE - duration: - description: The staking duration. - type: string - default: '0' - validator: - description: The validator address. - type: string - required: - - amount - - type TonUnStakingRequestPOSTBody: title: TON unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object - properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string - required: - - type - - delegationId TonUndelegateIntent: title: TON Undelegate Intent allOf: @@ -68985,9 +68619,24 @@ components: allOf: - $ref: '#/components/schemas/IntegerString' description: String representation of the amount to limit in base units (stroops) + TrxClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + TrxDelegationProperties: + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + properties: + validatorAddress: + type: string + resource: + type: string + enum: + - ENERGY + - BANDWIDTH TrxStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object TrxStakingRequest: title: TRX @@ -69017,6 +68666,30 @@ components: - STAKE - VOTE example: STAKE + decimal: + description: Optional custom conversion factor, when provided, use amount ÷ decimal to get derived unit. + type: string + displayUnit: + description: Optional custom unit (e.g., "TP" for TronPower). When provided, this unit is the derived unit of the amounts in the attributes. + type: string + TrxStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + validator: + type: string + nullable: true + stakingType: + type: string + enum: + - STAKE + - VOTE + resourceType: + type: string + enum: + - ENERGY + - BANDWIDTH TrxStakingRequestPOSTBody: title: TRX stake allOf: @@ -69044,18 +68717,18 @@ components: allOf: - $ref: '#/components/schemas/StakingTransaction' type: object + properties: + decimal: + description: Optional custom conversion factor, when provided, use amount ÷ decimal to get derived unit. + type: string + displayUnit: + description: Optional custom unit (e.g., "TP" for TronPower). When provided, this unit is the derived unit of the amounts in the attributes. + type: string TrxUnStakingRequestPOSTBody: title: TRX unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount TssConfig: title: TssConfig type: object @@ -69157,14 +68830,37 @@ components: type: object properties: clientId: - description: Optional user generated identifier to detect duplicated requests. + description: Optional user-generated identifier to detect duplicated requests. type: string + nullable: true + delegationId: + description: The ID of the delegation to unstake from. + type: string + nullable: true type: - description: Staking Request type = 'UNSTAKE'. + description: Staking request type. Always 'UNSTAKE' for this endpoint. type: string example: UNSTAKE required: - type + UnStakingRequestPOSTBodyWithAmount: + allOf: + - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - type: object + properties: + amount: + description: Amount to unstake in base units. + type: string + required: + - amount + UnStakingRequestPOSTBodyWithGasPrice: + allOf: + - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - type: object + properties: + gasPrice: + type: string + description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. UnStakingSpendableAttributes: allOf: - $ref: '#/components/schemas/BaseSpendableAttributes' @@ -69193,6 +68889,17 @@ components: description: Supported unstaking sub-types with their own spendable attributes. items: $ref: '#/components/schemas/UnstakingSubTypeSpendableAttributes' + UnknownDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + additionalProperties: true + UnknownStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + additionalProperties: true + description: Used when the objectType is unknown. Accepts arbitrary fields. Unlock: title: Unlock type: object @@ -69420,15 +69127,15 @@ components: properties: balance: type: string - format: biginteger + format: bigInteger description: Current balance available for unstaking. unstakingFee: type: string - format: biginteger + format: bigInteger description: Fee required to perform an unstaking transaction. maxSpendable: type: string - format: biginteger + format: bigInteger description: Maximum amount that can be unstaked in a single transaction. unstakeable: $ref: '#/components/schemas/UnstakingUnstakeableBreakdown' @@ -69458,23 +69165,23 @@ components: description: Internal identifier for the unstaking sub-type. fee: type: string - format: biginteger + format: bigInteger description: Fee required to perform an unstaking transaction for this sub-type. max: type: string - format: biginteger + format: bigInteger description: Maximum amount that can be unstaked for this sub-type. min: type: string - format: biginteger + format: bigInteger description: Minimum amount that must be unstaked for this sub-type. netMax: type: string - format: biginteger + format: bigInteger description: Maximum unstakeable amount minus applicable fees. netMin: type: string - format: biginteger + format: bigInteger description: Minimum unstakeable amount including fees. requiresAmount: type: boolean @@ -69497,15 +69204,15 @@ components: properties: stakedBalance: type: string - format: biginteger + format: bigInteger description: Total amount currently staked. pendingUnstake: type: string - format: biginteger + format: bigInteger description: Amount already requested for unstaking but not yet completed. maxUnstakeable: type: string - format: biginteger + format: bigInteger description: Maximum amount of staked funds that can be unstaked at this time. UnsupportedTokenRecipientEntryItem: title: UnsupportedTokenRecipientEntryItem @@ -72870,6 +72577,37 @@ components: required: - webhookId - isValid + VetDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + nftTokenId: + type: string + nullable: true + stakedAmount: + type: string + format: bigInteger + rewardEarned: + type: string + format: bigInteger + maturityTimestamp: + type: string + format: date-time + nullable: true + isMatured: + type: boolean + lastRewardClaimed: + type: string + format: date-time + nullable: true + nftMintTransactionHash: + type: string + nullable: true + currentSupplyMinted: + type: integer + format: int32 + nullable: true VetStakingIntent: title: VET Staking Intent allOf: @@ -72886,6 +72624,25 @@ components: - amount - stakingContractAddress - $ref: '#/components/schemas/StakeIntent' + VetStakingRequestPOSTBody: + title: VET stake + allOf: + - $ref: '#/components/schemas/StakingRequestPOSTBody' + type: object + VetUnStakingRequestPOSTBody: + title: VET unstake + allOf: + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' + type: object + VetWalletStakingStateAttributes: + type: object + properties: + spendableAttributes: + $ref: '#/components/schemas/WalletStakingSpendableAttributes' + permissionAttributes: + $ref: '#/components/schemas/WalletStakingPermissionAttributes' + disclaimerAttributes: + $ref: '#/components/schemas/WalletStakingDisclaimerAttributes' VideoApprovers: type: array items: @@ -74702,6 +74459,19 @@ components: - admin - view - spend + WalletUser1: + type: object + properties: + user: + type: string + description: The ID of the user. + permissions: + type: array + description: The list of permissions assigned to the user. + items: + type: string + required: + - user WalletValue: title: Wallet type: object @@ -74812,17 +74582,58 @@ components: required: - sharedStakingObjectId - $ref: '#/components/schemas/SuiUnstakingIntent' + WctClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + WctDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + unlockTime: + type: string + format: bigInteger + nullable: true + activeRewards: + type: string + format: bigInteger WctStakingDelegation: title: WCT allOf: - $ref: '#/components/schemas/StakingDelegation' type: object properties: - subType: - description: The staking type. + properties: + $ref: '#/components/schemas/WctDelegationProperties' + claimable: + type: boolean + pendingClaimRewards: type: string - enum: - - WCT_STAKE + format: bigInteger + claimableRewards: + type: string + format: bigInteger + switchable: + type: boolean + maxSwitch: + type: string + format: bigInteger + minSwitch: + type: string + format: bigInteger + permissionAttributes: + $ref: '#/components/schemas/WalletStakingPermissionAttributes' + restaking: + type: boolean + rewardPairs: + type: array + items: + $ref: '#/components/schemas/RewardPairs' + rewardCoin: + $ref: '#/components/schemas/Coin1' + endTime: + type: string + format: bigInteger WctStakingRequest: title: WCT allOf: @@ -74849,55 +74660,43 @@ components: type: string enum: - WCT_STAKE + WctStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + properties: + duration: + type: string + nullable: true + durationSeconds: + type: string + stakingType: + type: string + enum: + - WCT_STAKE + - INCREASE_UNLOCK + required: + - durationSeconds + - stakingType WctStakingRequestPOSTBody: title: WCT stake allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object properties: - amount: - description: Amount to stake in base units. - type: string - example: '1000000000000000000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE - validator: - description: The validator address. - type: string - duration: - description: The staking duration. - type: string subType: description: The staking type. type: string enum: - WCT_STAKE default: WCT_STAKE - required: - - amount - - type WctUnStakingRequestPOSTBody: title: WCT unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string - amount: - description: Amount to unstake in base units. - type: string - example: '1000000000000000000' - required: - - type - - delegationId + WctUnstakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' WebSocketSubscription: oneOf: - $ref: '#/components/schemas/OrderBooksRequest' @@ -75234,7 +75033,7 @@ components: description: Event type to listen to. WethStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object WethStakingRequest: title: WETH @@ -75263,12 +75062,8 @@ components: WethStakingRequestPOSTBody: title: WETH stake allOf: - - $ref: '#/components/schemas/StakingRequestPOSTBody' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. WethStakingTransaction: allOf: - $ref: '#/components/schemas/StakingTransaction' @@ -75280,12 +75075,11 @@ components: WethUnStakingRequestPOSTBody: title: WETH unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithGasPrice' type: object - properties: - gasPrice: - type: string - description: User overridden gas price to apply for the generated transactions for this request. GasPrice is in base units. + WflrClaimRewardsRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' WflrClaimRewardsRequestPOSTBody: title: Wrapped FLR (WFLR) Claim Rewards Request type: object @@ -75308,17 +75102,24 @@ components: gasPrice: type: string description: Optional gas price override. + WflrDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + validator: + type: string + basisPoints: + type: string + format: bigInteger + activeRewards: + type: string + format: bigInteger WflrStakingDelegation: title: WFLR allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object - properties: - subType: - description: The staking type. - type: string - enum: - - WFLR_STAKE WflrStakingRequest: title: WFLR allOf: @@ -75345,6 +75146,20 @@ components: type: string enum: - WFLR_STAKE + WflrStakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + - type: object + properties: + validator: + type: string + description: Validator address. + basisPoints: + type: string + description: Basis points for delegation. + required: + - validator + - basisPoints WflrStakingRequestPOSTBody: title: WFLR stake allOf: @@ -75355,10 +75170,6 @@ components: description: Amount to stake in base units. WFLR is a wrapped token of FLR with a 1:1 ratio. type: string example: '1000000000000000000' - type: - description: Staking Request type = 'STAKE'. - type: string - example: STAKE validator: description: The FTSO provider address for delegation. type: string @@ -75373,20 +75184,12 @@ components: description: User overridden gas price to apply for the generated transactions for this request. While WFLR tokens are delegated, gas fees are paid in native FLR tokens. required: - amount - - type WflrUnStakingRequestPOSTBody: title: WFLR unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object properties: - type: - description: Staking Request type = 'UNSTAKE'. - type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. - type: string amount: description: Amount to unstake in base units. WFLR is a wrapped token of FLR with a 1:1 ratio. type: string @@ -75394,9 +75197,9 @@ components: gasPrice: type: string description: User overridden gas price to apply for the generated transactions for this request. While unstaking WFLR tokens, gas fees are paid in native FLR tokens. - required: - - type - - delegationId + WflrUnstakingRequestEntityProperties: + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' WhitelistedAddressValue: title: Whitelisted type: object @@ -75911,7 +75714,7 @@ components: example: GBSGOXQNPULNPBX7XTHXP2GDBOZMHPIZOOA7CQXYTLHYKF5J2JDCF7LT ZetaStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object ZetaStakingRequest: title: ZETA @@ -75946,15 +75749,8 @@ components: ZetaUnStakingRequestPOSTBody: title: ZETA unstake allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount baseBalanceStrings: title: baseBalanceStrings type: object From 05f22a73b4946b69e870a9d0e2fa63256f19ce98 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:02:27 +0000 Subject: [PATCH 4/8] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/api.yaml b/api.yaml index c3fbdbe..17fc6fd 100644 --- a/api.yaml +++ b/api.yaml @@ -4865,11 +4865,6 @@ paths: in: query schema: type: boolean - - name: allocationPoliciesEnabled - description: Filter by allocation policies enabled. When true, only partners with allocation policies enabled will be returned. When false, only partners with allocation policies disabled will be returned. When not provided, partners with any allocation policies status will be returned. - in: query - schema: - type: boolean - name: enterpriseId description: The enterprise ID of the client making the request. in: path @@ -4985,9 +4980,6 @@ paths: topUpWindowMinutes: type: number description: Optional window (in minutes) for topping up settlements. Defines the period during which a settlement can be topped up. Null means no top-up window is configured. - allocationPoliciesEnabled: - type: boolean - description: Optional flag to enable or disable allocation policies for the partner. When true, policy evaluation features (allocation/deallocation) are enabled. When false or not provided, defaults to false for backward compatibility. required: - name - broker From c4bf338e049127e1e034f6a091441e212989877c Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:04:37 +0000 Subject: [PATCH 5/8] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 369 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 314 insertions(+), 55 deletions(-) diff --git a/api.yaml b/api.yaml index 17fc6fd..3350fe7 100644 --- a/api.yaml +++ b/api.yaml @@ -30069,6 +30069,14 @@ paths: example: 59cd72485007a239fb00282ed480da1f minLength: 1 pattern: ^[0-9a-f]{32}$ + - name: search + description: Filter by enterprise name or by enterprise id. Cannot be combined with `idempotencyKey` or `prevId`. + in: query + schema: + type: string + example: abc@email.com + minLength: 1 + pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ - name: organizationId in: path required: true @@ -32656,6 +32664,233 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError' + /api/v2/wallet/{walletId}/derivedwallets: + get: + summary: List derived wallets for an EVM keyring + description: |- + Lists all child wallets derived from an EVM keyring parent wallet. This endpoint accepts + either a parent wallet ID or a child wallet ID: + - If given a parent wallet ID (wallet with `isParent=true`), returns all child wallets + - If given a child wallet ID (wallet with `evmKeyRingReferenceWalletId`), returns all sibling + child wallets that share the same parent + + Child wallets are identified by having the `evmKeyRingReferenceWalletId` field set to the + parent wallet's ID. Child wallets can be on different chains (e.g., BSC, Polygon, Arbitrum) + but share the same key material from the parent wallet. + + Returns wallets with the same structure as the normal list wallet API, including: + - Balance information (balance, confirmedBalance, spendableBalance) + - Token balances for all tokens on each chain + - Staking balances (if includeStakingBalances is set) + - Receive addresses (unless skipReceiveAddress is set) + - Policy information (if expandPolicy is set) + - All other wallet properties + operationId: v2.wallet.listderivedwallets + tags: + - Wallet + parameters: + - name: id + description: Filter by ID + in: query + schema: + type: array + items: + type: string + minLength: 1 + description: Filter by ID + pattern: ^[0-9a-f]{32}$ + example: '"59cd72485007a239fb00282ed480da1f"' + - name: coin + description: Filter by coin + in: query + schema: + type: array + items: + type: string + description: Filter by coin + example: '"btc"' + - name: enterprise + description: Filter by enterprise. + in: query + schema: + type: array + items: + type: string + description: Filter by enterprise. + pattern: ^[0-9a-f]{32}$ + example: '"59cd72485007a239fb00282ed480da1f"' + - name: type + description: Filter by wallet type + in: query + schema: + type: array + items: + type: string + description: Filter by wallet type + - name: subType + description: Filter by wallet sub-type + in: query + schema: + type: array + items: + type: string + description: Filter by wallet sub-type + - name: deleted + description: Filter by deleted state + in: query + schema: + type: boolean + - name: prevId + description: Return the next batch of results, based on the "nextBatchPrevId" value from the previous batch. + in: query + schema: + type: string + example: 59cd72485007a239fb00282ed480da1f + pattern: ^[0-9a-f]{32}$ + - name: labelContains + description: Filter by label substring. + in: query + schema: + type: string + - name: expandBalance + description: Add "balanceString", "confirmedBalanceString" and "spendableBalanceString" to each wallet + in: query + schema: + type: boolean + default: false + - name: excludeSpendableBalance + in: query + schema: + type: boolean + - name: expandPolicy + in: query + schema: + type: boolean + - name: expandCustodialWallet + description: Whether linked custodial wallets should be expanded inline + in: query + schema: + type: boolean + - name: ignoreErrors + in: query + schema: + type: boolean + - name: includeStakingBalances + description: Include `stakingBalanceString` and `rewardBalanceString` properties for each staking wallet. Requires `expandBalance` to be set to true. + in: query + schema: + type: boolean + default: false + - name: limit + description: Maximum number of results to return. If the result set is truncated, use the "nextBatchPrevId" value to get the next batch. + in: query + schema: + type: string + default: '25' + format: number + - name: offset + description: Number of documents to skip for offset-based pagination. + in: query + schema: + type: string + default: '0' + format: number + - name: skipReceiveAddress + description: Do not add "receiveAddress" to each wallet + in: query + schema: + type: boolean + default: false + - name: permission + description: Return only wallets for which the user has the given permission + in: query + schema: + type: string + enum: + - admin + - view + - spend + - name: pinnedWallets + description: Return only pinned wallets ("pinnedOnly") or only unpinned wallets ("pinnedExcluded"), exclude to return both + in: query + schema: + type: string + enum: + - pinnedOnly + - pinnedExcluded + - name: bitgoOrg + description: Return only wallets belong to the BitGo trust org + in: query + schema: + type: string + enum: + - BitGo Trust + - BitGo New York + - BitGo Germany + - BitGo Switzerland + - BitGo Europe ApS + - Frankfurt DE Trust + - BitGo Singapore + - BitGo Korea + - BitGo Custody MENA FZE + - BitGo India + - BitGo Sister Trust 1 + - name: walletId + description: The wallet ID - can be either a parent wallet ID or a child wallet ID + in: path + required: true + schema: + allOf: + - $ref: '#/components/schemas/WalletIdString' + example: 59cd72485007a239fb00282ed480da1f + pattern: ^[0-9a-f]{32}$ + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/WalletListResponse' + '400': + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' + '404': + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' + /api/v2/wallet/{walletId}/feeAddressBalances: + get: + summary: Get wallet fee address balances + description: |- + Fetches gas tank balances of different chains available on the wallet. + Uses the primary wallet coin's fee address to check balances across all available chains. + operationId: v2.wallet.feeAddressBalances + tags: + - Wallet + parameters: + - name: walletId + in: path + required: true + schema: + $ref: '#/components/schemas/WalletIdString' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/WalletFeeAddressBalances' + '400': + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' /api/v2/wallet/{walletId}/lightning/invoice: get: summary: Fetch lightning invoices @@ -32990,6 +33225,10 @@ paths: type: string format: date-time title: ISO Date String + - name: prevId + in: query + schema: + type: string - name: walletId in: path required: true @@ -33001,55 +33240,7 @@ paths: content: application/json: schema: - type: array - items: - type: object - description: Transaction details - properties: - id: - type: string - normalizedTxHash: - type: string - blockHeight: - type: number - inputIds: {} - entries: {} - inputs: {} - outputs: {} - size: - type: number - date: - type: string - format: date-time - title: ISO Date String - fee: - type: number - feeString: - type: string - hex: - type: string - confirmations: - type: number - blockHash: - type: string - blockPosition: - type: number - label: - type: string - required: - - id - - normalizedTxHash - - blockHeight - - inputIds - - entries - - inputs - - outputs - - size - - date - - fee - - feeString - - hex - - confirmations + $ref: '#/components/schemas/GetTransactionsResponse' '400': description: Bad Request content: @@ -34501,12 +34692,6 @@ paths: schema: type: boolean default: false - - name: excludeEvmKeyringChildWallets - description: excludeEvmKeyringChildWallets - Supports filtering out EVM keyring child wallets via excludeEvmKeyringChildWallets parameter - in: query - schema: - type: boolean - default: false - name: limit description: Maximum number of results to return. If the result set is truncated, use the "nextBatchPrevId" value to get the next batch. in: query @@ -52785,6 +52970,65 @@ components: - $ref: '#/components/schemas/TransactionRequestBase' required: - txRequests + GetTransactionsResponse: + title: GetTransactionsResponse + type: object + properties: + transactions: + type: array + items: + type: object + description: Transaction details + properties: + id: + type: string + normalizedTxHash: + type: string + blockHeight: + type: number + inputIds: {} + entries: {} + inputs: {} + outputs: {} + size: + type: number + date: + type: string + format: date-time + title: ISO Date String + fee: + type: number + feeString: + type: string + hex: + type: string + confirmations: + type: number + blockHash: + type: string + blockPosition: + type: number + label: + type: string + required: + - id + - normalizedTxHash + - blockHeight + - inputIds + - entries + - inputs + - outputs + - size + - date + - fee + - feeString + - hex + - confirmations + nextBatchPrevId: + type: string + description: This is the transaction ID from the last item in the current batch. Providing this value as the prevId in the next request will return the next batch of transactions. + required: + - transactions GetWalletBalanceResponse: title: GetWalletBalanceResponse type: object @@ -72918,6 +73162,7 @@ components: - view - freeze - trade + - dapp description: 'This type represents the permissions that can be assigned to a user when adding them to a wallet 1. ''admin'': add/remove wallet policies, add/remove wallet users, approve/reject wallet pending approvals, withdraw assets from wallet, generate new receive addresses, view all balances and transactions 2. ''spend'': withdraw assets from wallet, generate new receive addresses, view all balances and transactions 3. ''view'': generate new receive addresses, view all balances and transactions 4. ''freeze'': 5. ''trade'': trade on a wallet - applicable only for trading wallets' recoverable: type: boolean @@ -73428,6 +73673,19 @@ components: type: string example: ivxzn3bdn4uo description: A custom address can be provided for EOS wallets. It must be exactly 12 alphanumeric characters. + WalletFeeAddressBalances: + title: WalletFeeAddressBalances + type: object + additionalProperties: + type: object + properties: + balance: + type: string + description: String representation of the balance + example: '500000' + required: + - balance + description: Balances of different coins for a given wallet fee address WalletFlag: title: WalletFlag type: string @@ -73805,6 +74063,7 @@ components: - view - freeze - trade + - dapp description: 'This type represents the permissions that can be assigned to a user when adding them to a wallet 1. ''admin'': add/remove wallet policies, add/remove wallet users, approve/reject wallet pending approvals, withdraw assets from wallet, generate new receive addresses, view all balances and transactions 2. ''spend'': withdraw assets from wallet, generate new receive addresses, view all balances and transactions 3. ''view'': generate new receive addresses, view all balances and transactions 4. ''freeze'': 5. ''trade'': trade on a wallet - applicable only for trading wallets' recoverable: type: boolean From 1e40603385ee37b9715a74bcd911b6ad5febfd82 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Fri, 10 Oct 2025 22:06:27 +0000 Subject: [PATCH 6/8] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 2789 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 2185 insertions(+), 604 deletions(-) diff --git a/api.yaml b/api.yaml index 3350fe7..e0e20d8 100644 --- a/api.yaml +++ b/api.yaml @@ -25243,38 +25243,10 @@ paths: application/json: schema: oneOf: - - $ref: '#/components/schemas/AsiStakingTransaction' - - $ref: '#/components/schemas/AtomStakingTransaction' - - $ref: '#/components/schemas/AvaxcStakingTransaction' - - $ref: '#/components/schemas/AvaxPStakingTransaction' - - $ref: '#/components/schemas/BabyStakingTransaction' - - $ref: '#/components/schemas/BldStakingTransaction' - - $ref: '#/components/schemas/BscStakingTransaction' - - $ref: '#/components/schemas/CoredaoStakingTransaction' - - $ref: '#/components/schemas/CoreumStakingTransaction' - - $ref: '#/components/schemas/CronosStakingTransaction' - - $ref: '#/components/schemas/CsprStakingTransaction' - - $ref: '#/components/schemas/DotStakingTransaction' - - $ref: '#/components/schemas/EigenStakingTransaction' + - $ref: '#/components/schemas/BaseStakingTransaction' + - $ref: '#/components/schemas/BtcStakingTransaction' - $ref: '#/components/schemas/EthStakingTransaction' - - $ref: '#/components/schemas/HashStakingTransaction' - - $ref: '#/components/schemas/InjectiveStakingTransaction' - - $ref: '#/components/schemas/MaticStakingTransaction' - - $ref: '#/components/schemas/NearStakingTransaction' - - $ref: '#/components/schemas/OsmoStakingTransaction' - - $ref: '#/components/schemas/PolStakingTransaction' - - $ref: '#/components/schemas/PolyxStakingTransaction' - - $ref: '#/components/schemas/RethRocketStakingTransaction' - - $ref: '#/components/schemas/SeiStakingTransaction' - - $ref: '#/components/schemas/SolStakingTransaction' - - $ref: '#/components/schemas/SuiStakingTransaction' - - $ref: '#/components/schemas/SuiWalStakingTransaction' - - $ref: '#/components/schemas/TaoStakingTransaction' - - $ref: '#/components/schemas/TiaStakingTransaction' - $ref: '#/components/schemas/TrxStakingTransaction' - - $ref: '#/components/schemas/WethStakingTransaction' - - $ref: '#/components/schemas/ZetaStakingTransaction' - - $ref: '#/components/schemas/StakingTransaction' example: - stakingRequestId: e055adbc-66a3-4ccd-9a9d-726a05bca0cf createdDate: 2022-01-10T14:32:28.000Z @@ -25331,17 +25303,10 @@ paths: application/json: schema: oneOf: - - $ref: '#/components/schemas/AvaxcStakingTransaction' - - $ref: '#/components/schemas/AvaxPStakingTransaction' - - $ref: '#/components/schemas/CsprStakingTransaction' - - $ref: '#/components/schemas/EigenStakingTransaction' + - $ref: '#/components/schemas/BaseStakingTransaction' - $ref: '#/components/schemas/EthStakingTransaction' - - $ref: '#/components/schemas/MaticStakingTransaction' - - $ref: '#/components/schemas/PolStakingTransaction' - - $ref: '#/components/schemas/RethRocketStakingTransaction' - $ref: '#/components/schemas/StakingTransaction' - $ref: '#/components/schemas/TrxStakingTransaction' - - $ref: '#/components/schemas/WethStakingTransaction' example: - stakingRequestId: e055adbc-66a3-4ccd-9a9d-726a05bca0cf createdDate: 2022-01-10T14:32:28.000Z @@ -25396,66 +25361,9 @@ paths: application/json: schema: $ref: '#/components/schemas/StakingWallet' - example: - enterpriseId: 1032e75c451052000436831deb797af1 - walletId: 2032e75g451052000636831abd797bd3 - stakingWalletId: 8f14e45f-e8f5-4c2c-bb7c-123456789abc - walletType: custodial - label: My Staking Wallet - coin: eth - parentCoin: eth - delegated: '6400000000000000000' - pendingUnstake: '0' - pendingStake: '0' - spendableAttributes: - min: '0' - max: '0' - fee: '0' - isStakingDurationNeeded: false - permissionAttributes: - staking: - enabled: true - disabledReason: null - allowClientToUseOwnValidator: false - allowClientToUseOwnDRep: null - allowVoteDelegation: null - requireVoteDelegation: null - unstaking: - enabled: true - disabledReason: null - claimRewards: - enabled: true - disabledReason: null - switchValidator: - enabled: false - disabledReason: Validator switch not supported for this asset - wallet: - hasEnoughAdmins: true - numberOfRequiredAdmins: 2 - useValidatorList: true - skipAddressValidation: false - allowPartialUnstake: true - restakingEnabled: true - validatorNotNeededForStake: false - validatorCoin: eth - users: - - user: 4032e75i451052000836831add797de5 - permissions: - - view - - user: 5032e75j451052000936831aee797ef6 - permissions: - - admin - rewards: '1000000000000000' - pendingClaimRewards: '500000000000000' - lockedRewards: '200000000000000' - reserved: '100000000000000' - pendingReserved: '50000000000000' - apy: '8.2' - createdDate: 2022-01-10T14:32:28.000Z - modifiedDate: 2022-01-10T14:32:28.000Z - properties: - type: ETH - walletMultisigType: TSS + examples: + StakingWalletExample: + $ref: '#/components/examples/StakingWalletExample' '400': $ref: '#/components/responses/BadRequestError' '401': @@ -25615,11 +25523,8 @@ paths: schema: $ref: '#/components/schemas/StakingEnterprise' example: - enterpriseId: 1032e75c451052000436831deb797af1 - coin: eth - delegated: '6400000000000000000' - rewards: '1000000000000000' - apy: '8.2' + ethEnterprise: + $ref: '#/components/examples/EthStakingEnterpriseExample' '400': $ref: '#/components/responses/BadRequestError' '401': @@ -35354,22 +35259,86 @@ components: summary: AvaxP Delegation Results Example value: delegations: - - id: e0225adbc-66a3-4ccd-9a9d-726a05bca0cf - delegationAddress: 0x5a6406c9710f588ca733360bfa8033d0ef9ecdy5 - withdrawalAddress: '0x5a6406c9710f588ca733360bfa8033d0ef9ecd7c' + - id: 2e550a3c-27cb-43b4-8133-5750558d91ba + delegationAddress: NodeID-Gof5KiqjhevjgjRLDttdv3anJaf5FNE6v + withdrawalAddress: P-fuji1vwdl7xr6kz794kewvjhj34n3gy5737uwacucur + provider: BYOV delegated: '0' - coin: avaxp - walletId: 63110fc78b108e00071df2d3c3879dd0 + coin: tavaxp + walletId: 6397a6c908ffea000728623654de5e92 status: PENDING rewards: '0' lockedRewards: '0' pendingUnstake: '0' - pendingStake: '1000' - apy: '6.5100' + pendingStake: '1000000000' + reserved: '0' + pendingReserved: '0' + apy: '8.5000' + durationSeconds: '86400' + unstakeable: false + permissionAttributes: + staking: + enabled: false + disabledReason: Delegation is not active. + allowClientToUseOwnValidator: false + unstaking: + enabled: false + disabledReason: Delegation is not active. + - id: c59aa5c5-7ff1-4d13-80c4-dd17fdb77892 + delegationAddress: NodeID-B6x4xVRXKHdU24pV7RZgLujb75aGCq7WF + withdrawalAddress: P-fuji1vwdl7xr6kz794kewvjhj34n3gy5737uwacucur + provider: Figment + delegated: '0' + coin: tavaxp + walletId: 6397a6c908ffea000728623654de5e92 + status: REJECTED + rewards: '0' + lockedRewards: '0' + pendingUnstake: '0' + pendingStake: '0' + reserved: '0' + pendingReserved: '0' + apy: '8.5000' + durationSeconds: '1728000' unstakeable: false + permissionAttributes: + staking: + enabled: false + disabledReason: Delegation is not active. + allowClientToUseOwnValidator: false + unstaking: + enabled: false + disabledReason: Delegation is not active. + - id: 0249e45f-7f8f-415b-a86a-ef8f8bea3160 + delegationAddress: NodeID-LnNiEzk1mYHFrwY7v4nteBt59VZFZzJX9 + withdrawalAddress: P-fuji1vwdl7xr6kz794kewvjhj34n3gy5737uwacucur + provider: Figment + delegated: '5000000000' + coin: tavaxp + walletId: 6397a6c908ffea000728623654de5e92 + status: ACTIVE + rewards: '0' + lockedRewards: '0' + pendingUnstake: '0' + pendingStake: '0' + reserved: '0' + pendingReserved: '0' + apy: '8.5000' + durationSeconds: '172800' + startTime: '1702443204' + endTime: '1702616004' + unstakeable: false + permissionAttributes: + staking: + enabled: false + disabledReason: User does not have permission to stake. + allowClientToUseOwnValidator: false + unstaking: + enabled: false + disabledReason: AVAXP is auto-unstaked page: 1 totalPages: 1 - totalElements: 1 + totalElements: 3 AvaxPStakingRequestPOSTBodyExample: summary: AvaxP Staking Request POST Body Example value: @@ -36206,42 +36175,73 @@ components: info: - 'Minimum staking period is: 1 day.' - Once staked, the unstaking takes 28 eras (about 28 days). - - | - 'Unstaking requires approving 2 transactions: the transaction to unstake and the transaction to claim your staking balance plus rewards.' + - 'Unstaking requires approving 2 transactions: the transaction to unstake and the transaction to claim your staking balance plus rewards.' transactionsNeeded: 1 stakeWarmupPeriodDesc: '172800' - rewardPercentageRate: '13.92' + rewardPercentageRate: '13.80' rewardsCompounding: true + minStake: '2162300000000' unstaking: info: - - | - 'Unstaking broadcasts 2 transactions: the transaction to unbond and the transaction to claim your staking amount. The network has to confirm the unbonding transaction then the claim transaction will be automatically created.' + - 'Unstaking broadcasts 2 transactions: the transaction to unbond and the transaction to claim your staking amount. The network has to confirm the unbonding transaction then the claim transaction will be automatically created.' transactionsNeeded: 2 - unStakeCooldownPeriodDesc: '2419200' + unStakeCooldownPeriodDesc: 28 days + period: + periodLow: '2419200' + periodHigh: '2419200' + coin: tdot + type: COOLDOWN + nextRewards: + rewardCycle: 86400 permission: staking: - enabled: false - disabledReason: Wallet 63a1d3892f03840007e056e3880391ee has insufficient funds + enabled: true allowClientToUseOwnValidator: false unstaking: enabled: true wallet: hasEnoughAdmins: true numberOfRequiredAdmins: 0 + useValidatorList: false + skipAddressValidation: false + allowPartialUnstake: true + restakingEnabled: false + validatorNotNeededForStake: false spendable: staking: - fee: '12923673972' - max: '0' - min: '1000000000000' - netMax: '0' - netMin: '1012923673972' + fee: '100000000000' + max: '18947032731951' + min: '2162300000000' + multiplier: '1' + netMax: '17744982731951' + netMin: '3364350000000' isStakingDurationNeeded: false minStakeMore: '0' + breakdown: + balance: '18973523480463' + stakingFee: '-100000000000' + unstakingFee: '-100000000000' + proxyCost: '-1002050000000' + maxSpendable: '17744982731951' + minSpendable: '3364350000000' + isDelegated: false unstaking: - fee: '45410610588' - max: '20384805835211' - min: '1000000000000' + fee: '100000000000' + max: '0' + min: '100000000000' + multiplier: '1' multipleDelegations: false + breakdown: + balance: '18973523480463' + unstakingFee: '-100000000000' + maxSpendable: '18873523480463' + unstakeable: + stakedBalance: '0' + pendingUnstake: '0' + maxUnstakeable: '0' + requiresAmount: true + requiresDelegationId: false + requiresDelegationIds: false EigenStakingRequestPOSTBodyExample: summary: Eigen Staking Request POST Body Example value: @@ -36295,93 +36295,271 @@ components: EnterpriseStakeableCoinsResultExample: summary: Enterprise Stakeable Coins Result Example value: - - symbol: tmatic + - symbol: tsol + baseUnit: lamport + isToken: false + isTss: true + isMultiSig: false + comingSoon: false disclaimer: staking: - rewardPercentageRate: '4.2' - - symbol: gteth + info: + - Staking has 1 transaction but takes on average 1 epoch (~36 hours) to activate the stake account and start earning rewards + transactionsNeeded: 1 + stakeWarmupPeriodDesc: 3 to 6 days + rewardPercentageRate: '6.50153' + rewardsCompounding: false + period: + periodLow: '172800' + periodHigh: '172800' + coin: TSOL + type: WARMUP + minStake: '1000' + stakingSubTypes: + - type: MARINADE + name: Marinade Staking + info: + - Stake your SOL with Marinade Finance. + - Your staking position will be automatically managed and delegated to the best-performing validators while you retain full custody of your assets. + transactionsNeeded: 1 + rewardsCompounding: false + minStake: '1100000000' + defaultApy: '8.83' + - type: MARINADE_SELECT + name: Marinade Select Staking + info: + - Stake your SOL with Marinade Select. + - Your staking position will be automatically managed and delegated through a curated set of validators with verified identity and zero tolerance for malicious MEV by Marinade. + - Marinade does not take custody of the keys to withdraw unstaked SOL. + transactionsNeeded: 1 + rewardsCompounding: false + minStake: '1100000000' + defaultApy: '8.18' + - type: JITO + name: JITO Staking + info: + - Stake your SOL with JitoSOL. + transactionsNeeded: 1 + rewardsCompounding: false + minStake: '0' + defaultApy: '7.27' + unstaking: + info: + - 'Unstaking broadcasts 2 transactions: the transaction to unstake and the transaction to claim your reward. The network has to confirm the unstaking transaction then the claim transaction will be automatically created.' + transactionsNeeded: 2 + unStakeCooldownPeriodDesc: 3 to 6 days + period: + periodLow: '172800' + periodHigh: '172800' + coin: TSOL + type: COOLDOWN + nextRewards: + rewardCycle: 172800 + - symbol: tsui + baseUnit: mist + isToken: false + isTss: true + isMultiSig: false + comingSoon: false disclaimer: staking: - rewardPercentageRate: '6.5100' + info: + - Pending requests can take up to 24 hours to process. Please await the next epoch. + transactionsNeeded: 1 + stakeWarmupPeriodDesc: 1 epoch (1 day) + rewardPercentageRate: '2.10' + rewardsCompounding: true + period: + periodLow: '86400' + periodHigh: '86400' + coin: TSUI + type: WARMUP + minStake: '1000000000' + unstaking: + info: + - Unstaking requires 1 transaction to unstake. Rewards are claimed when user unstakes only. The unbonding period is 1 epoch (~1 day). + transactionsNeeded: 1 + unStakeCooldownPeriodDesc: 1 epoch (1 day) + period: + periodLow: '86400' + periodHigh: '86400' + coin: TSUI + type: COOLDOWN + nextRewards: + rewardCycle: 86400 EthDelegationResultsExample: summary: Ethereum Delegation Results Example value: page: 1 totalPages: 1 - totalElements: 2 + totalElements: 3 delegations: - - id: e0225adbc-66a3-4ccd-9a9d-726a05bca0cf - delegationAddress: 0x5a6406c9710f588ca733360bfa8033d0ef9ecdy5 - withdrawalAddress: '0x5a6406c9710f588ca733360bfa8033d0ef9ecd7c' - delegated: '3200000000000000000' - status: ACTIVE + - id: 911517c3-7f6b-4a35-abbf-a0e59a0fb8ca + delegationAddress: '0xa1675ba9254ec5d495b163aca0a8b88d6ee553eefe1f0fbc06ff3626f1d16ddcee506419f1a278353042aa97884cf575' + provider: Figment + withdrawalAddress: '0x3fcd2c8c0ce0ec81ebf1a61dccd6915a7141b2e2' + delegated: '0' + coin: hteth + walletId: 689a4b770d175ec5b42b4a49974c0668 + properties: + withdrawalCredentials: '0x0200000000000000000000003fcd2c8c0ce0ec81ebf1a61dccd6915a7141b2e2' + signature: 0xb459188d5e1744d2ce1eda650a1203d031738e8fcbf04c8c3862ecbaad64042e... + depositDataRoot: '0xa523b0c4a59692bbeb82e815b3bf2ac34b0c1ed8a2c2ea248e6a302af5eab33d' + depositMessageRoot: '0x373cb0bebd641fc75ba5843879a789436de0e81b45bb95d7461bdbe7cccf0dd8' + depositCliVersion: 2.8.0 + forkVersion: '0x10000910' + eth2NetworkName: hoodi + effectiveBalance: '0' + isRestaking: false + seenInPartialWithdrawalQueue: false + seenInPendingDepositQueue: false + stakingType: ETH_STAKE_PECTRA + provisionAmount: '32000000000' + properties: + amount: 32000000000 + region: ca-central-1 + figmentId: 2bfa1132-3c5a-4c67-8422-a4d309e1cdc3 + statusSyncedAt: 2025-09-11T19:06:10.000Z + figmentRequestId: e88497eb-f74d-4ff2-83cb-cf2a3231e430 + type: ETH + amount: 32000000000 + region: ca-central-1 + figmentId: 2bfa1132-3c5a-4c67-8422-a4d309e1cdc3 + statusSyncedAt: 2025-09-11T19:06:10.000Z + figmentRequestId: e88497eb-f74d-4ff2-83cb-cf2a3231e430 + status: PENDING rewards: '0' lockedRewards: '0' - pendingUnstake: '3200000000000000000' - pendingStake: '0' - apy: '8.3' - coin: eth - walletId: 2032e75g451052000636831abd797bd3 - unstakingFee: '100000000000000' - unstakingMin: '0' - - id: e0225adbc-55b43-5tta-9a9d-726a05bca0ai - delegationAddress: 0x3b6406c9710f588ca733360bfa8033d0ef9ecre4 - withdrawalAddress: '0x5a6406c9710f588ca733360bfa8033d0ef9ecd7c' - delegated: '3200000000000000000' - status: ACTIVE - rewards: '0' + pendingUnstake: '0' + pendingStake: '32000000000000000000' + reserved: '0' + pendingReserved: '0' + apy: '4.38' + unstakeable: false + permissionAttributes: + staking: + enabled: false + disabledReason: Delegation is not active. + allowClientToUseOwnValidator: false + unstaking: + enabled: false + disabledReason: Delegation is not active. + restaking: false + - id: 35e168f5-83f8-4ca6-ba7e-81f20b411dfc + delegationAddress: '0x93688c58fc284c242791a9893d6c505ad9b96580dae993b8b17cadd36fd707756f69a6f03485871ce0d5f91b111ae265' + provider: Figment + withdrawalAddress: '0x3fcd2c8c0ce0ec81ebf1a61dccd6915a7141b2e2' + delegated: '0' + coin: hteth + walletId: 689a4b770d175ec5b42b4a49974c0668 + properties: + withdrawalCredentials: '0x0200000000000000000000003fcd2c8c0ce0ec81ebf1a61dccd6915a7141b2e2' + signature: 0xa163a8b9bb26e1242d344a72fad75a374845a0d7eb76c25c7a4e5f02a411c2dd... + depositDataRoot: '0x1b5c14d2e69430aa089aad3d1105809ecdbbaf9fc23a5591c2686fdaf1394d4d' + depositMessageRoot: '0xa380441d0339f82cc19efd8de28350bb4e74136b44992b019b63fedddf59f937' + depositCliVersion: 2.8.0 + forkVersion: '0x10000910' + eth2NetworkName: hoodi + index: '1212130' + activationEligibilityEpoch: '36265' + activationEpoch: '36271' + exitEpoch: '36977' + withdrawableEpoch: '37233' + modifiedSlot: '1197952' + lastRewardEpochProcessed: '37435' + lastRewardEpochQueried: '37435' + effectiveBalance: '0' + isRestaking: false + seenInPartialWithdrawalQueue: false + seenInPendingDepositQueue: false + stakingType: ETH_STAKE_PECTRA + provisionAmount: '32000000000' + properties: + amount: 32000000000 + region: ca-central-1 + figmentId: f3730efb-5281-46fc-9081-ff2ed9879ea8 + statusSyncedAt: 2025-08-25T16:02:15.000Z + figmentRequestId: 5eff1a25-aa0e-44f5-b5d1-75f26e435250 + type: ETH + amount: 32000000000 + region: ca-central-1 + figmentId: f3730efb-5281-46fc-9081-ff2ed9879ea8 + statusSyncedAt: 2025-08-25T16:02:15.000Z + figmentRequestId: 5eff1a25-aa0e-44f5-b5d1-75f26e435250 + status: COMPLETE + rewards: '5494091000000000' lockedRewards: '0' pendingUnstake: '0' pendingStake: '0' - apy: '8.3' - coin: eth - walletId: 2032e75g451052000636831abd797bd3 + reserved: '0' + pendingReserved: '0' + apy: '4.38' + unstakeable: false permissionAttributes: staking: enabled: false - disabledReason: 'Wallet 2032e75g451052000636831abd797bd3 has insufficient funds. Available: 0 eth. Minimum spendable required: 32 eth' + disabledReason: Delegation is not active. allowClientToUseOwnValidator: false unstaking: - enabled: true - unstakingFee: '1000000000000000' - unstakingMin: '0' - - id: dca8af33-e882-455b-a0d6-fb93c8a17ca3 - delegationAddress: '0x3508a952176b3c15387c97be809eaffb1982176a' - withdrawalAddress: '0x05a252537385b7218902f9225b44bb266347ccdc' - provider: Lido - delegated: '501344121663000672' + enabled: false + disabledReason: Delegation is not active. + restaking: false + - id: 30045922-768f-4de5-bae8-b7e5553bfa2f + delegationAddress: '0xa874e8e2593126551f272f0774788fda88d596b587ccdd0cba200e2d8360a73dd944082984db83494cdd3b64053aea5e' + provider: Figment + withdrawalAddress: '0x3fcd2c8c0ce0ec81ebf1a61dccd6915a7141b2e2' + delegated: '33061188715000000000' + coin: hteth + walletId: 689a4b770d175ec5b42b4a49974c0668 + properties: + withdrawalCredentials: '0x0200000000000000000000003fcd2c8c0ce0ec81ebf1a61dccd6915a7141b2e2' + signature: 0x8b5c5db0e477399e982552cbc052cc868a7cbdf86c9b19f4a4ed4ea327409651... + depositDataRoot: '0xae8b185a9e4d9c701ff261f2a5053bd4065b18e7b18b3cc2cc5e1d80fd9a894b' + depositMessageRoot: '0x5c933c6a295cd315209c19dd98cbf0b39bdb86b30edb02db85b02c9774e0e4a1' + depositCliVersion: 2.8.0 + forkVersion: '0x10000910' + eth2NetworkName: hoodi + index: '1212129' + activationEligibilityEpoch: '36265' + activationEpoch: '36271' + bondingTimestamp: '1756141464' + modifiedSlot: '1414016' + lastRewardEpochProcessed: '44000' + lastRewardEpochQueried: '44000' + effectiveBalance: '32000000000000000000' + isRestaking: false + seenInPartialWithdrawalQueue: false + seenInPendingDepositQueue: false + stakingType: ETH_STAKE_PECTRA + provisionAmount: '32000000000' + properties: + amount: 32000000000 + region: ca-central-1 + figmentId: 2a29eeb9-3111-48ea-b360-0c79d89c7419 + statusSyncedAt: 2025-08-25T16:00:26.000Z + figmentRequestId: 0e92d6d8-370d-4f27-930a-276c09208714 + type: ETH + amount: 32000000000 + region: ca-central-1 + figmentId: 2a29eeb9-3111-48ea-b360-0c79d89c7419 + statusSyncedAt: 2025-08-25T16:00:26.000Z + figmentRequestId: 0e92d6d8-370d-4f27-930a-276c09208714 status: ACTIVE - rewards: '0' + rewards: '59711492000000000' lockedRewards: '0' pendingUnstake: '0' pendingStake: '0' - apy: '8.3' - coin: hteth - walletId: 2702688762b9a7b5b27d4ca3a0c3d3c1 + reserved: '0' + pendingReserved: '0' + apy: '4.38' + unstakeable: true permissionAttributes: staking: enabled: true allowClientToUseOwnValidator: false unstaking: enabled: true - spendableAttributes: - unstaking: - fee: '59002357275690000' - max: '501344121663000672' - min: '1000000000000000' - multiplier: '1' - multipleDelegations: false - breakdown: - balance: '100000000000000000000' - unstakingFee: '-18197924962200000' - maxSpendable: '100000000000000000000' - unstakeable: - stakedBalance: '501344121663000672' - pendingUnstake: '0' - maxUnstakeable: '501344121663000672' - requiresAmount: true - requiresDelegationId: true - requiresDelegationIds: false + restaking: false EthPectraStakingRequestWithTransactionsExample: summary: Ethereum Pectra Staking Request Example value: @@ -36475,6 +36653,49 @@ components: gasLimit: '3000000000000000' amount: '6400000000000000000' gasPrice: '1000000000000000' + EthStakingEnterpriseExample: + summary: ETH Enterprise Staking Example + value: + enterpriseId: 60c7f599fdbda8000657d147f5c08f6e + coin: hteth + delegated: '64001153236000000000' + rewards: '100747413000000000' + apy: '4.38' + baseUnit: wei + isToken: false + isTss: false + isMultiSig: true + comingSoon: false + disclaimer: + staking: + info: + - Each 32 ETH requires its own validator. Once staking transactions are confirmed, there is a dynamic activation period before your validator begins to earn rewards. + - 'Currently the activation queue is: 3 days, 12 hours. Rewards will periodically be auto-claimed back to your wallet.' + transactionsNeeded: 1 + stakeWarmupPeriodDesc: There is an activation period after you have confirmed your ETH staking transaction. Currently it is 3 days, 12 hours until your staked ETH will start accruing rewards. + rewardPercentageRate: '2.89839' + rewardsCompounding: false + period: + periodLow: '302400' + periodHigh: '302400' + coin: hteth + type: WARMUP + minStake: '32000000000000000000' + unstaking: + info: + - To unstake, select the Unstake button and select your validator(s). Once unstaked, validators will enter an exit queue in order to withdraw back to your staking wallet. + - There is no partial unstaking; once you have unstaked, the entire staked amount for your selected validator will unstake and exit + - Currently the exit queue is between 36 days, 17 hours and 45 days, 15 hours + transactionsNeeded: 1 + unStakeCooldownPeriodDesc: There is an exit period after you have confirmed your ETH unstaking transaction. Currently it is between 36 days, 17 hours and 45 days, 15 hours until your staked ETH will start accruing rewards. + period: + periodLow: '3171600' + periodHigh: '3942000' + coin: hteth + type: COOLDOWN + nextRewards: + rewardCycle: 360 + walletCount: 1 EthStakingRequestPOSTBodyExample: summary: Ethereum Staking Request POST Body Example value: @@ -37796,38 +38017,66 @@ components: disclaimer: staking: info: - - | - 'Unstaking broadcasts 2 transactions: the transaction to unstake and the transaction to claim your reward. The network has to confirm the unstaking transaction then the claim transaction will be automatically created.' - transactionsNeeded: 2 - stakeWarmupPeriodDesc: tbd - rewardPercentageRate: '6.5100' + - Minimum staking period is 12 hours. + - Once staked, unstaking takes 4 epochs (about 36-48 hours). + transactionsNeeded: 1 + stakeWarmupPeriodDesc: '' + rewardPercentageRate: '6.87' rewardsCompounding: false + period: + periodLow: '43200' + periodHigh: '43200' + coin: TNEAR + type: WARMUP + minStake: '1000000000000000000000000' unstaking: info: - - | - 'Unstaking broadcasts 2 transactions: the transaction to unstake and the transaction to claim your reward. The network has to confirm the unstaking transaction then the claim transaction will be automatically created.' + - To unstake, select the Unstake button. + - 'Unstaking requires approving 2 transactions: the transaction to unstake and the transaction to claim your reward.' transactionsNeeded: 2 - unStakeCooldownPeriodDesc: tbd + unStakeCooldownPeriodDesc: 3 days + period: + periodLow: '259200' + periodHigh: '259200' + coin: TNEAR + type: COOLDOWN + nextRewards: + rewardCycle: 43200 permission: staking: enabled: true allowClientToUseOwnValidator: false unstaking: - enabled: true + enabled: false + disabledReason: 'Wallet 62b45ac6901da50007c75ea820ecf947 has pending unstake: 1 tnear' wallet: hasEnoughAdmins: true - numberOfRequiredAdmins: 2 + numberOfRequiredAdmins: 1 + useValidatorList: true + skipAddressValidation: false + allowPartialUnstake: true + restakingEnabled: false + validatorNotNeededForStake: false spendable: staking: - fee: '888546618800000' - max: '2010492598925385321' - min: '1' - netMax: '2009604052306585321' - netMin: '888546618800001' + fee: '44859695062500000198' + max: '36345221320046229699999802' + min: '0' + multiplier: '1' + netMax: '36345176460351167199999604' + netMin: '44859695062500000198' isStakingDurationNeeded: false minStakeMore: '0' + isDelegated: false unstaking: - multipleDelegations: true + fee: '89719390125000000396' + max: '0' + min: '0' + multiplier: '1' + multipleDelegations: false + requiresAmount: true + requiresDelegationId: false + requiresDelegationIds: false OsmoClaimRewardsRequestPOSTBodyExample: summary: Example OSMO Claim Rewards Request value: @@ -38343,19 +38592,37 @@ components: summary: Sol Delegation Results Example value: delegations: - - id: e0225adbc-66a3-4ccd-9a9d-726a05bca0cf - delegationAddress: 0x5a6406c9710f588ca733360bfa8033d0ef9ecdy5 - withdrawalAddress: '0x5a6406c9710f588ca733360bfa8033d0ef9ecd7c' + - id: c4669d97-b824-4752-8501-862bb77da83c + delegationAddress: ECuwzjAEg7kPVBmmW7xa6Wz9xkK5pbN8cTn4SCdp5PPp + validatorAddress: ECuwzjAEg7kPVBmmW7xa6Wz9xkK5pbN8cTn4SCdp5PPp + withdrawalAddress: NEtLszFgREjHcgwe1HkVRiRuTvcTv5JQqGPp235G3jV + provider: Figment delegated: '0' - coin: sol - walletId: 63110fc78b108e00071df2d3c3879dd0 - status: PENDING + coin: tsol + walletId: 63ea93986277750007c3f5500a17e610 + properties: + validatorAddress: ECuwzjAEg7kPVBmmW7xa6Wz9xkK5pbN8cTn4SCdp5PPp + stakingType: SOL_STAKE + type: SOL + status: REJECTED rewards: '0' lockedRewards: '0' pendingUnstake: '0' - pendingStake: '1000' - apy: '6.5100' + pendingStake: '0' + reserved: '0' + pendingReserved: '0' + apy: '7.00' + unstakingFee: '4342160' + unstakingMin: '0' unstakeable: false + permissionAttributes: + staking: + enabled: false + disabledReason: Delegation is not active. + allowClientToUseOwnValidator: false + unstaking: + enabled: false + disabledReason: Delegation is not active. page: 1 totalPages: 1 totalElements: 1 @@ -38465,12 +38732,24 @@ components: totalPages: 1 totalElements: 1 validators: - delegationAddress: BAGUCfvdwdioWSR8rqJKqJXHk4ZkQcUfvMLfM9QinZFY - coin: sol - delegated: '40026861' - rewards: '26861' - apy: '5.71' - type: Unknown + - coin: tsol + delegationAddress: FwR3PbjS5iyqzLiLugrBqKSa5EKZ4vK9SKs7eQXtT59f + delegated: '8470613312' + rewards: '970399418' + apy: '6.60' + historicRatePerformance: '0' + type: Go + pendingStake: '0' + pendingUnstake: '0' + permissionAttributes: + staking: + enabled: true + allowClientToUseOwnValidator: false + unstaking: + enabled: true + count: '0' + preferred: false + stakingType: STAKE SolUnStakingRequestPOSTBodyExample: summary: Sol UnStaking Request POST Body Example value: @@ -38592,43 +38871,125 @@ components: disclaimer: staking: info: - - | - 'Unstaking broadcasts 2 transactions: the transaction to unstake and the transaction to claim your reward. The network has to confirm the unstaking transaction then the claim transaction will be automatically created.' + - Staking has 1 transaction but takes on average 1 epoch (~36 hours) to activate the stake account and start earning rewards transactionsNeeded: 1 stakeWarmupPeriodDesc: 3 to 6 days - rewardPercentageRate: '2' + rewardPercentageRate: '6.50153' rewardsCompounding: false + period: + periodLow: '172800' + periodHigh: '172800' + coin: TSOL + type: WARMUP + minStake: '1000' + stakingSubTypes: + - type: MARINADE + name: Marinade Staking + info: + - Stake your SOL with Marinade Finance. + - Your staking position will be automatically managed and delegated to the best-performing validators while you retain full custody of your assets. + transactionsNeeded: 1 + rewardsCompounding: false + minStake: '1100000000' + defaultApy: '8.83' + - type: MARINADE_SELECT + name: Marinade Select Staking + info: + - Stake your SOL with Marinade Select. + - Your staking position will be automatically managed and delegated through a curated set of validators with verified identity and zero tolerance for malicious MEV by Marinade. + - Marinade does not take custody of the keys to withdraw unstaked SOL. + transactionsNeeded: 1 + rewardsCompounding: false + minStake: '1100000000' + defaultApy: '8.18' + - type: JITO + name: JITO Staking + info: + - Stake your SOL with JitoSOL. + transactionsNeeded: 1 + rewardsCompounding: false + minStake: '0' + defaultApy: '7.27' unstaking: info: - - | - 'Unstaking broadcasts 2 transactions: the transaction to unstake and the transaction to claim your reward. The network has to confirm the unstaking transaction then the claim transaction will be automatically created.' + - 'Unstaking broadcasts 2 transactions: the transaction to unstake and the transaction to claim your reward. The network has to confirm the unstaking transaction then the claim transaction will be automatically created.' transactionsNeeded: 2 unStakeCooldownPeriodDesc: 3 to 6 days + period: + periodLow: '172800' + periodHigh: '172800' + coin: TSOL + type: COOLDOWN + nextRewards: + rewardCycle: 172800 permission: staking: - enabled: false - disabledReason: Wallet 62fba335ff37ad00079d56a8b4fd3ebe has insufficient funds - allowClientToUseOwnValidator: false + enabled: true + allowClientToUseOwnValidator: true unstaking: - enabled: false - disabledReason: Wallet 62fba335ff37ad00079d56a8b4fd3ebe doesn't have active delegation + enabled: true wallet: hasEnoughAdmins: true numberOfRequiredAdmins: 1 + useValidatorList: true + skipAddressValidation: false + allowPartialUnstake: true + restakingEnabled: false + validatorNotNeededForStake: false spendable: staking: - fee: '10000' - max: '0' + fee: '2049280' + max: '2502004280' min: '2282880' - netMax: '0' - netMin: '2292880' + multiplier: '1' + netMax: '2495612840' + netMin: '8674320' isStakingDurationNeeded: false minStakeMore: '0' + stakingSubTypes: + - name: Marinade Staking + type: MARINADE + fee: '2049280' + max: '2502004280' + min: '1100000000' + netMax: '2495612840' + netMin: '1100000000' + isStakingDurationNeeded: false + minStakeMore: '0' + multiplier: '1' + fields: [] + - name: Marinade Select Staking + type: MARINADE_SELECT + fee: '2049280' + max: '2502004280' + min: '1100000000' + netMax: '2495612840' + netMin: '1100000000' + isStakingDurationNeeded: false + minStakeMore: '0' + multiplier: '1' + fields: [] + - name: JITO Staking + type: JITO + fee: '2049280' + max: '2502004280' + min: '0' + netMax: '2495612840' + netMin: '0' + isStakingDurationNeeded: false + minStakeMore: '0' + multiplier: '1' + fields: [] + isDelegated: false unstaking: - fee: '10000' - max: '0' - min: '0' - multipleDelegations: false + fee: '4342160' + max: '8470613312' + min: '2282880' + multiplier: '1' + multipleDelegations: true + requiresAmount: true + requiresDelegationId: true + requiresDelegationIds: false SomiClaimRewardsRequestPOSTBodyExample: summary: Example SOMI Claim Rewards Request value: @@ -38697,7 +39058,32 @@ components: isToken: true isMultiSig: true isTss: false - l1Chain: gteth + l1Chain: hteth + comingSoon: false + disclaimer: + staking: + info: + - First staking action requires 2 transactions but subsequent staking only need 1 transaction + transactionsNeeded: 2 + rewardPercentageRate: '6.15' + rewardsCompounding: false + period: + periodLow: '3600' + periodHigh: '3600' + coin: TMATIC + type: WARMUP + minStake: '1000000000000000000' + unstaking: + info: + - 'Unstaking broadcasts 2 transactions: the transaction to unstake and the transaction to claim your reward. The network has to confirm the unstaking transaction then the claim transaction will be automatically created.' + transactionsNeeded: 2 + period: + periodLow: '288000' + periodHigh: '288000' + coin: TMATIC + type: COOLDOWN + nextRewards: + rewardCycle: 3600 - symbol: gteth baseUnit: wei isToken: false @@ -38833,6 +39219,125 @@ components: walletId: 48dd72485007a239fb00282ed480da1f idempotencyKey: v28e44259cf048638a293e7850594e39 txid: b8a828b98dbf32d9fd1875cbace9640ceb8c82626716b4a64203fdc79bb46d26 + StakingWalletExample: + summary: Example staking wallet response + value: + coin: hteth + enterpriseId: 71d1aa51184c4f1117ff88c3b1ceb2fd + walletId: 79972a79ff76457539f5c4c17d2g3ace + stakingWalletId: 71574c4e-4f61-5eg5-c317-6872g18269d5 + walletType: custodial + label: Treasury staking wallet + delegated: '89213531397000000000' + pendingUnstake: '0' + pendingStake: '12000000000000000000' + spendableAttributes: + staking: + fee: '634164472610000' + max: '193000000000000000000' + min: '2000000000000000000' + multiplier: '22000000000000000000' + netMax: '193000000000000000000' + netMin: '2000000000000000000' + isStakingDurationNeeded: false + minStakeMore: '0' + breakdown: + balance: '115522435289094000777' + stakingFee: '-634164472610000' + unstakingFee: '-134945999800000' + pendingStake: '-12000000000000000000' + maxSpendable: '103522435289094000777' + stakingSubTypes: + - name: Pectra Staking + type: ETH_STAKE_PECTRA + fee: '634164472610000' + max: '193000000000000000000' + min: '2000000000000000000' + netMax: '193000000000000000000' + netMin: '2000000000000000000' + isStakingDurationNeeded: false + minStakeMore: '2000000000000000000' + multiplier: '1' + fields: + - name: validator + label: Validator Partner + required: true + type: address + useValidatorList: true + readonly: false + - name: P2P Staking + type: ETH_STAKE_P2P + fee: '634164472610000' + max: '193000000000000000000' + min: '22000000000000000000' + netMax: '193000000000000000000' + netMin: '22000000000000000000' + isStakingDurationNeeded: false + minStakeMore: '2000000000000000000' + multiplier: '1' + fields: + - name: validator + label: Validator Partner + required: true + type: address + useValidatorList: true + readonly: false + isDelegated: false + unstaking: + fee: '134945999800000' + max: '89213531397000000000' + min: '2000000000000000000' + multiplier: '2000000000000000000' + multipleDelegations: true + breakdown: + balance: '115522435289094000777' + unstakingFee: '-134945999800000' + maxSpendable: '115522435289094000777' + unstakeable: + stakedBalance: '89213531397000000000' + pendingUnstake: '0' + maxUnstakeable: '89213531397000000000' + requiresAmount: false + requiresDelegationId: false + requiresDelegationIds: true + unstakingSubTypes: + - name: Pectra Unstaking + type: ETH_STAKE_PECTRA + fee: '134945999800000' + max: '22106501632000000000' + min: '2000000000000000000' + netMax: '22106501632000000000' + netMin: '2000000000000000000' + requiresAmount: true + requiresDelegationId: true + requiresDelegationIds: false + allowPartialUnstake: true + multipleDelegations: false + permissionAttributes: + staking: + enabled: true + allowClientToUseOwnValidator: false + unstaking: + enabled: true + wallet: + hasEnoughAdmins: true + numberOfRequiredAdmins: 1 + useValidatorList: true + skipAddressValidation: true + allowPartialUnstake: false + restakingEnabled: true + validatorNotNeededForStake: false + rewards: '113195558094000778' + pendingClaimRewards: '0' + lockedRewards: '0' + pendingReserved: '0' + reserved: '0' + apy: '3.88' + createdDate: '2025-07-21T14:12:34.261104Z' + modifiedDate: '2025-07-21T14:12:34.261107Z' + properties: + walletMultisigType: onchain + type: ETH StxStakingRequestPOSTBodyExample: summary: STX Staking Request POST Body Example value: @@ -38890,13 +39395,17 @@ components: totalPages: 1 totalElements: 1 validators: - delegationAddress: '0x22b35a7481fb136e5585c43421cf8ab49d0e219e902dedc40c2778acdcc7bc9c' - type: FIGMENT - totalStaked: '100000000' - reward: '300000000' - apy: '9.999' - commission: '0.999' - coin: tsui + - coin: tsui + delegationAddress: '0x2ade594485fb795616b74156c91097ec517a05ac488364dd3ad1ec5f536db3f4' + totalStaked: '21080253613261837' + rewards: '914179581074358' + apy: '2.1' + historicRatePerformance: '2.10' + commission: '10' + type: Staketab + count: '0' + preferred: false + stakingType: STAKE SuiStakingRequestPOSTBodyExample: summary: Sui Staking Request POST Body Example value: @@ -38991,19 +39500,37 @@ components: summary: Tao Delegation Results Example value: delegations: - - id: e0225adbc-66a3-4ccd-9a9d-726a05bca0cf - delegationAddress: 0x5a6406c9710f588ca733360bfa8033d0ef9ecdy5 - withdrawalAddress: '0x5a6406c9710f588ca733360bfa8033d0ef9ecd7c' - delegated: '0' - coin: tao - walletId: 63110fc78b108e00071df2d3c3879dd0 - status: PENDING - rewards: '0' + - id: 129664d8-fac3-4b98-aed0-94ed5ef8a769 + delegationAddress: 5FCPTnjevGqAuTttetBy4a24Ej3pH9fiQ8fmvP1ZkrVsLUoT + provider: BYOV + withdrawalAddress: 5HdFj7DAzWsdmJQSMTTW4bYwxVQvhvL4gdkA4RpJtTzCD1vB + delegated: '1008463576' + coin: ttao + walletId: 67c87c2df10eec4e99eaecf2e164ac1e + properties: + validatorAddress: 5FCPTnjevGqAuTttetBy4a24Ej3pH9fiQ8fmvP1ZkrVsLUoT + netUID: '0' + type: TAO + status: ACTIVE + rewards: '8463576' lockedRewards: '0' pendingUnstake: '0' - pendingStake: '1000' - apy: '6.5100' - unstakeable: false + pendingStake: '0' + reserved: '0' + pendingReserved: '0' + apy: '0' + unstakeable: true + switchable: true + maxSwitch: '1008463576' + minSwitch: '1' + permissionAttributes: + staking: + enabled: true + allowClientToUseOwnValidator: false + unstaking: + enabled: true + switchValidator: + enabled: true page: 1 totalPages: 1 totalElements: 1 @@ -40905,8 +41432,13 @@ components: - startDate - startReason AdaClaimRewardsRequestEntityProperties: + title: ADA claim rewards request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' + AdaClaimRewardsTransactionProperties: + title: ADA Claim Rewards Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' AdaConsolidateIntent: title: ADA Consolidate Intent allOf: @@ -40916,6 +41448,7 @@ components: $ref: '#/components/schemas/optionalStringArray' - $ref: '#/components/schemas/AccountBaseConsolidateIntent' AdaDelegationProperties: + title: ADA Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - type: object @@ -40977,7 +41510,7 @@ components: required: - poolKeyHash AdaStakingDelegation: - title: ADA + title: ADA Staking Delegation allOf: - $ref: '#/components/schemas/BaseDelegation' type: object @@ -41012,6 +41545,7 @@ components: description: Whether this is a vote delegation request. type: boolean AdaStakingRequestEntityProperties: + title: ADA staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -41047,6 +41581,14 @@ components: isVoteDelegationRequest: description: Whether this is a vote delegation request. type: boolean + AdaStakingTransactionProperties: + title: ADA Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + delegatedRepId: + type: string AdaUnStakingRequestPOSTBody: title: ADA unstake allOf: @@ -41072,6 +41614,10 @@ components: required: - poolKeyHash - $ref: '#/components/schemas/UnstakeIntent' + AdaUnstakingTransactionProperties: + title: ADA Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' AdaVoteDelegationIntent: title: ADA Vote Delegation Intent allOf: @@ -42139,10 +42685,6 @@ components: type: integer minimum: 1 example: 1 - AsiStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object AsiStakingRequest: title: ASI allOf: @@ -42154,13 +42696,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/AsiStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/AsiStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -42169,10 +42711,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - AsiStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object AsiUnStakingRequestPOSTBody: title: ASI unstake allOf: @@ -42383,6 +42921,7 @@ components: - rootAddress - memoId AtomClaimRewardsRequestEntityProperties: + title: ATOM claim rewards request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -42396,7 +42935,22 @@ components: description: Request to claim staking rewards for Cosmos Hub (ATOM). allOf: - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' + AtomClaimRewardsTransactionProperties: + title: ATOM Claim Rewards Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + delegationId: + type: string + validatorAddress: + type: string + claimedRewards: + type: object + additionalProperties: + $ref: '#/components/schemas/IntegerString' AtomDelegationProperties: + title: ATOM Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -42456,6 +43010,7 @@ components: - amount - $ref: '#/components/schemas/StakeIntent' AtomStakingDelegation: + title: ATOM Staking Delegation allOf: - $ref: '#/components/schemas/BaseDelegation' type: object @@ -42476,11 +43031,12 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/AtomStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string AtomStakingRequestEntityProperties: + title: ATOM staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -42497,10 +43053,22 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - AtomStakingTransaction: + AtomStakingTransactionProperties: + title: ATOM Staking Transaction Properties allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorAddress: + type: string + delegationRequest: + type: array + items: + $ref: '#/components/schemas/DelegationRequest' + claimedRewards: + type: object + additionalProperties: + $ref: '#/components/schemas/IntegerString' AtomSwitchValidatorsRequestPOSTBody: title: Cosmos Hub (ATOM) Switch Validators Request type: object @@ -42539,6 +43107,18 @@ components: - validatorAddress - amount - $ref: '#/components/schemas/UnstakeIntent' + AtomUnstakingTransactionProperties: + title: ATOM Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorAddress: + type: string + claimedRewards: + type: object + additionalProperties: + $ref: '#/components/schemas/IntegerString' AtomWallet: title: Atom Wallet type: object @@ -42619,6 +43199,7 @@ components: - bg23 - '' AvaxCDelegationProperties: + title: AVAXC Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -42649,13 +43230,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/AvaxcStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/AvaxcStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -42700,6 +43281,7 @@ components: - threshold - addresses AvaxPDelegationProperties: + title: AVAXP Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -42728,6 +43310,7 @@ components: type: string nullable: true AvaxPStakingDelegation: + title: AVAXP Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' - type: object @@ -42750,6 +43333,36 @@ components: nullable: true permissionAttributes: $ref: '#/components/schemas/WalletStakingPermissionAttributes' + AvaxPStakingOptions: + type: object + title: AVAX P-chain Staking Options + properties: + nodeID: + type: string + description: Node ID to delegate to + blsPublicKey: + type: string + description: BLS public key used for delegation + blsSignature: + type: string + description: BLS signature for the delegation + amount: + type: string + description: Amount to stake (base units) + delegationFeeRate: + type: number + format: double + description: Delegation fee rate (percentage) + durationSeconds: + type: string + description: Duration of the delegation in seconds + required: + - nodeID + - blsPublicKey + - blsSignature + - amount + - delegationFeeRate + - durationSeconds AvaxPStakingRequest: title: AVAXP allOf: @@ -42767,7 +43380,7 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/AvaxPStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -42775,6 +43388,7 @@ components: description: The length of time in seconds to complete a staking period. type: integer AvaxPStakingRequestEntityProperties: + title: AVAX P-chain staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -42811,10 +43425,6 @@ components: nullable: true required: - durationSeconds - AvaxPStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object AvaxPWallet: title: AvaxP Wallet type: object @@ -42828,11 +43438,8 @@ components: required: - unlockAddresses - threshold - AvaxcStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object AvaxcStakingRequestEntityProperties: + title: AVAX C-chain staking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' - type: object @@ -42842,11 +43449,48 @@ components: enum: - STAVAX_STAKE - PSTAVAX_STAKE - AvaxcStakingTransaction: + AvaxcStakingTransactionProperties: + title: AVAXC Staking Transaction Properties allOf: - - $ref: '#/components/schemas/StakingTransaction' + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + stakingType: + type: string + enum: + - STAVAX_STAKE + - PSTAVAX_STAKE + amountInToken: + type: string + amountInBaseCoin: + type: string + AvaxcStakingWalletEntityProperties: + title: AVAXC Staking Wallet Properties type: object + properties: + type: + type: string + enum: + - AVAXC + delegatedInToken: + type: string + format: bigInteger + nullable: true + delegatedInBaseCoin: + type: string + format: bigInteger + nullable: true + walletMultisigType: + type: string + enum: + - ONCHAIN + required: + - type + - walletMultisigType AvaxcUnstakingRequestEntityProperties: + title: AVAX C-chain unstaking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' - type: object @@ -42856,6 +43500,25 @@ components: enum: - STAVAX_STAKE - PSTAVAX_STAKE + AvaxcUnstakingTransactionProperties: + title: AVAXC Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + stakingType: + type: string + enum: + - STAVAX_STAKE + - PSTAVAX_STAKE + amountInToken: + type: string + amountInBaseCoin: + type: string + hyphaRequestId: + type: string AvaxpWalletStakingStateAttributes: type: object properties: @@ -42911,10 +43574,6 @@ components: - intentType - createBtcDelegationBytes - $ref: '#/components/schemas/BaseStakeIntent' - BabyStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object BabyStakingRequest: title: BABY allOf: @@ -42926,13 +43585,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/BabyStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/BabyStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -42941,10 +43600,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - BabyStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object BabyUnStakingRequestPOSTBody: title: BABY unstake allOf: @@ -42965,7 +43620,29 @@ components: - intentType - type - $ref: '#/components/schemas/BaseStakeIntent' + BabylonStakingParams: + type: object + properties: + amount: + type: string + babylonAddress: + type: string + finalityProvider: + type: string + babylonAddressPubkey: + type: string + timelock: + type: integer + format: int64 + keyType: + type: string + overrideStakingParams: + type: array + items: + type: object + description: Babylon versioned staking params (see BabylonParamsVersionsResponse.BtcStakingParams) BabylonStakingParms: + title: Babylon staking parameters type: object properties: duration: @@ -43434,6 +44111,7 @@ components: - customers_sftp - lead BaseDelegation: + title: Base Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' - type: object @@ -44080,9 +44758,58 @@ components: required: - calldata - $ref: '#/components/schemas/BaseStakeIntent' + BaseStakingTransaction: + title: Base Staking Transaction + allOf: + - $ref: '#/components/schemas/StakingTransaction' + - type: object + properties: + buildParams: + $ref: '#/components/schemas/TransactionBuildParams' + delegationIds: + type: array + items: + type: string + format: uuid + description: Multiple delegation IDs associated with this transaction + delegations: + type: array + items: + $ref: '#/components/schemas/BaseDelegation' + description: Delegation objects associated with this transaction + BaseStakingTransactionProperties: + title: Base Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + BaseStakingWalletEntityProperties: + title: Base Staking Wallet Properties + type: object + properties: + type: + type: string + enum: + - BASE + walletMultisigType: + type: string + enum: + - TSS + required: + - type + - walletMultisigType BaseSwitchStakingRequestEntityProperties: + title: Base switch validator staking request entity properties allOf: - $ref: '#/components/schemas/SwitchValidatorRequestEntityProperties' + BaseSwitchTransactionProperties: + title: Base Switch Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorAddress: + type: string + destValidatorAddress: + type: string BaseTradeCorrectionMetadata: title: BaseTradeCorrectionMetadata type: object @@ -44159,6 +44886,7 @@ components: - intentType - $ref: '#/components/schemas/BaseStakeIntent' BeraDelegationProperties: + title: BERA Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - type: object @@ -44197,7 +44925,7 @@ components: type: string nullable: true BeraStakingDelegation: - title: BERA + title: BERA Staking Delegation allOf: - $ref: '#/components/schemas/BaseDelegation' type: object @@ -44235,6 +44963,7 @@ components: description: The operator address. type: string BeraStakingRequestEntityProperties: + title: Bera staking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' - type: object @@ -44278,12 +45007,61 @@ components: depositSignature: description: The deposit signature. type: string + BeraStakingTransactionProperties: + title: BERA Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + stakingType: + type: string + enum: + - NATIVE_STAKE + - INFRARED_LIQUID_STAKE + validatorPubkey: + type: string + validatorWithdrawCredentials: + type: string + sendDepositSignature: + type: string + operator: + type: string + BeraStakingWalletEntityProperties: + title: BERA Staking Wallet Properties + type: object + properties: + type: + type: string + enum: + - BERA + principal: + type: string + format: bigInteger + liquidStakingBalance: + type: string + format: bigInteger + nativeStakingBalance: + type: string + format: bigInteger + walletMultisigType: + type: string + enum: + - TSS + required: + - type + - principal + - liquidStakingBalance + - nativeStakingBalance + - walletMultisigType BeraUnStakingRequestPOSTBody: title: BERA unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object BeraUnstakingRequestEntityProperties: + title: Bera unstaking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' - type: object @@ -44293,6 +45071,21 @@ components: description: Delegation identifier. required: - delegationId + BeraUnstakingTransactionProperties: + title: BERA Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + stakingType: + type: string + enum: + - NATIVE_STAKE + - INFRARED_LIQUID_STAKE + shares: + type: string Birthdate: type: object properties: @@ -44365,10 +45158,6 @@ components: description: Request to claim staking rewards for Agoric (BLD). allOf: - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' - BldStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object BldStakingRequest: title: BLD allOf: @@ -44380,13 +45169,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/BldStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/BldStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -44395,10 +45184,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - BldStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object BldSwitchValidatorsRequestPOSTBody: title: Agoric (BLD) Switch Validators Request type: object @@ -44478,6 +45263,7 @@ components: - amount - $ref: '#/components/schemas/BaseStakeIntent' BscDelegationProperties: + title: BSC Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -44489,10 +45275,6 @@ components: activeRewards: type: string format: bigInteger - BscStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object BscStakingRequest: title: BSC allOf: @@ -44504,17 +45286,18 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/BscStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/BscStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string BscStakingRequestEntityProperties: + title: BSC staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -44526,10 +45309,10 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - BscStakingTransaction: + BscStakingTransactionProperties: + title: BSC Staking Transaction Properties allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object + - $ref: '#/components/schemas/ByovStakingTransactionProperties' BscUnDelegateIntent: title: BSC UnDelegate Intent allOf: @@ -44555,6 +45338,10 @@ components: allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object + BscUnstakingTransactionProperties: + title: BSC Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/ByovStakingTransactionProperties' BscWithdrawUndelegateIntent: title: BSC Withdraw Intent allOf: @@ -44568,7 +45355,12 @@ components: - validatorAddress - requestNumber - $ref: '#/components/schemas/WithdrawIntent' + BscWithdrawUndelegatedTransactionProperties: + title: BSC Withdraw Undelegated Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' BtcBabylonDelegationProperties: + title: BTC Babylon Delegation Properties type: object required: - duration @@ -44581,7 +45373,16 @@ components: babylonAddressPubkey: type: string nullable: true + BtcBabylonStakingProperties: + type: object + properties: + duration: + type: integer + format: int64 + rewardAddress: + type: string BtcClaimRewardsRequestEntityProperties: + title: BTC claim rewards request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -44591,7 +45392,18 @@ components: description: Optional delegation identifier. coredao: $ref: '#/components/schemas/BtcCoredaoClaimRewardsProperties' + BtcClaimRewardsTransactionProperties: + title: BTC Claim Rewards Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + coredao: + $ref: '#/components/schemas/BtcCoredaoClaimRewardsProperties' BtcCoredaoClaimRewardsProperties: + title: BTC Coredao claim rewards properties type: object properties: claimedCoreReward: @@ -44608,6 +45420,7 @@ components: - claimedBtcReward - claimedHashReward BtcCoredaoDelegationProperties: + title: BTC CoreDAO Delegation Properties type: object required: - expireAt @@ -44621,7 +45434,16 @@ components: redeemScript: type: string nullable: true + BtcCoredaoStakingProperties: + type: object + properties: + expireAt: + type: string + format: date-time + rewardAddress: + type: string BtcDelegationProperties: + title: BTC Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - type: object @@ -44661,7 +45483,7 @@ components: coredao: $ref: '#/components/schemas/BtcCoredaoDelegationProperties' BtcStakingDelegation: - title: BTC + title: BTC Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' - type: object @@ -44691,6 +45513,19 @@ components: type: string description: End time of the delegation in epoch seconds (stringified bigint). nullable: true + BtcStakingOptions: + type: object + title: BTC staking options + properties: + validator: + type: string + description: Validator identifier for BTC staking + amount: + type: string + description: Amount to stake (base units) + required: + - validator + - amount BtcStakingRequest: title: BTC allOf: @@ -44713,6 +45548,7 @@ components: description: Amount to stake in base units. type: string BtcStakingRequestEntityProperties: + title: BTC staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -44758,11 +45594,50 @@ components: description: The address where rewards will be sent. type: string example: '0x1234567890abcdef1234567890abcdef12345678' + BtcStakingTransaction: + title: BTC Staking Transaction + allOf: + - $ref: '#/components/schemas/BaseStakingTransaction' + - type: object + properties: + rewardWalletId: + type: string + description: Wallet ID for receiving staking rewards + rewardCoin: + type: string + description: Coin type for staking rewards + walletId: + type: string + description: ID of the BTC wallet used for staking + BtcStakingTransactionProperties: + title: BTC Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/ByovStakingTransactionProperties' + - type: object + properties: + expireAt: + type: string + rewardAddress: + type: string + coredao: + $ref: '#/components/schemas/BtcCoredaoStakingProperties' + babylon: + $ref: '#/components/schemas/BtcBabylonStakingProperties' BtcUnStakingRequestPOSTBody: title: BTC unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object + BtcUnstakingTransactionProperties: + title: BTC Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + validatorAddress: + type: string BuildParams: type: object properties: @@ -45360,6 +46235,14 @@ components: properties: validatorAddress: type: string + ByovStakingTransactionProperties: + title: BYOV Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorAddress: + type: string CBITBankAccount: title: CBIT Bank Account type: object @@ -46387,6 +47270,21 @@ components: - validatorAddress - amount - $ref: '#/components/schemas/BaseStakeIntentWithCalldata' + CoreDaoStakingParams: + type: object + properties: + validator: + type: string + amount: + type: string + expiration: + type: string + rewardAddress: + type: string + version: + type: integer + fee: + type: integer CoreDaoUndelegateIntent: title: CoreDAO Undelegate Intent allOf: @@ -46406,6 +47304,7 @@ components: - amount - $ref: '#/components/schemas/BaseStakeIntentWithCalldata' CoredaoClaimRewardsRequestEntityProperties: + title: Coredao claim rewards request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' - type: object @@ -46419,14 +47318,26 @@ components: claimedHashReward: type: string description: Optional claimed HASH reward. + CoredaoClaimRewardsTransactionProperties: + title: CoreDAO Claim Rewards Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + claimedCoreReward: + type: string + claimedBtcReward: + type: string + claimedHashReward: + type: string CoredaoDelegationProperties: + title: CoreDAO Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - CoredaoStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object CoredaoStakingParms: + title: Coredao staking parameters type: object properties: expireAt: @@ -46452,17 +47363,18 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/CoredaoStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/CoredaoStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units (i.e. Wei for CoreDAO) type: string CoredaoStakingRequestEntityProperties: + title: Coredao staking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' - type: object @@ -46475,20 +47387,13 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - CoredaoStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string CoredaoUnStakingRequestPOSTBody: title: COREDAO unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithGasPrice' type: object CoredaoUnstakingRequestEntityProperties: + title: Coredao unstaking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' - type: object @@ -46502,10 +47407,6 @@ components: description: Request to claim staking rewards for Coreum. allOf: - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' - CoreumStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object CoreumStakingRequest: title: COREUM allOf: @@ -46517,13 +47418,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/CoreumStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/CoreumStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -46532,10 +47433,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - CoreumStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object CoreumSwitchValidatorsRequestPOSTBody: title: Coreum Switch Validators Request type: object @@ -46568,6 +47465,7 @@ components: - contract - msgHex CosmosLikeClaimRewardsRequestEntityProperties: + title: Cosmos-like claim rewards request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -46575,7 +47473,22 @@ components: type: string required: - validatorAddress + CosmosLikeClaimRewardsTransactionProperties: + title: Cosmos-like Claim Rewards Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + delegationId: + type: string + validatorAddress: + type: string + claimedRewards: + type: object + additionalProperties: + $ref: '#/components/schemas/IntegerString' CosmosLikeDelegationProperties: + title: COSMOS-like Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -46600,7 +47513,7 @@ components: type: boolean nullable: true CosmosLikeStakingDelegation: - title: ATOM like + title: Cosmos-like Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' type: object @@ -46621,11 +47534,12 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/CosmosLikeStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string CosmosLikeStakingRequestEntityProperties: + title: Cosmos-like staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -46637,13 +47551,40 @@ components: items: $ref: '#/components/schemas/DelegationRequest' nullable: true - CosmosLikeStakingTransaction: + CosmosLikeStakingTransactionProperties: + title: Cosmos-like Staking Transaction Properties allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorAddress: + type: string + delegationRequest: + type: array + items: + $ref: '#/components/schemas/DelegationRequest' + claimedRewards: + type: object + additionalProperties: + $ref: '#/components/schemas/IntegerString' CosmosLikeSwitchStakingRequestEntityProperties: + title: Cosmos-like switch validator staking request entity properties allOf: - $ref: '#/components/schemas/SwitchValidatorRequestEntityProperties' + CosmosLikeSwitchTransactionProperties: + title: Cosmos-like Switch Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorAddress: + type: string + destValidatorAddress: + type: string + claimedRewards: + type: object + additionalProperties: + $ref: '#/components/schemas/IntegerString' CosmosLikeUnStakingRequestPOSTBody: title: ATOM-like unstake allOf: @@ -46659,6 +47600,18 @@ components: example: '10000000000' required: - amount + CosmosLikeUnstakingTransactionProperties: + title: Cosmos-like Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorAddress: + type: string + claimedRewards: + type: object + additionalProperties: + $ref: '#/components/schemas/IntegerString' CosmosPaymentIntent: title: Cosmos Payment Intent allOf: @@ -47335,10 +48288,6 @@ components: description: Request to claim staking rewards for Cronos. allOf: - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' - CronosStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object CronosStakingRequest: title: CRONOS allOf: @@ -47350,13 +48299,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/CronosStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/CronosStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -47365,10 +48314,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - CronosStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object CronosSwitchValidatorsRequestPOSTBody: title: Cronos Switch Validators Request type: object @@ -47381,16 +48326,26 @@ components: - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object CsprDelegationProperties: + title: CSPR Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - type: object properties: validatorAddress: type: string - CsprStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' + CsprStakingOptions: type: object + description: CSPR staking options + properties: + amount: + type: string + description: Amount to stake (base units) + validator: + type: string + description: Validator identifier for CSPR + required: + - amount + - validator CsprStakingRequest: title: CSPR allOf: @@ -47402,17 +48357,18 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/CsprStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/CsprStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string CsprStakingRequestEntityProperties: + title: CSPR staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -47424,15 +48380,23 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - CsprStakingTransaction: + CsprStakingTransactionProperties: + title: CSPR Staking Transaction Properties allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object + - $ref: '#/components/schemas/ByovStakingTransactionProperties' CsprUnStakingRequestPOSTBody: title: CSPR unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object + CsprUnstakingTransactionProperties: + title: CSPR Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + csprUnboundEraId: + type: string Currencies: type: array items: @@ -47657,7 +48621,6 @@ components: format: date-time nullable: true DelegationPropertiesSchemas: - description: Union of all coin-specific delegation property schemas. oneOf: - $ref: '#/components/schemas/AdaDelegationProperties' - $ref: '#/components/schemas/AtomDelegationProperties' @@ -47738,45 +48701,22 @@ components: maxItems: 500 items: oneOf: + - $ref: '#/components/schemas/BaseDelegation' - $ref: '#/components/schemas/AdaStakingDelegation' - - $ref: '#/components/schemas/AsiStakingDelegation' - $ref: '#/components/schemas/AtomStakingDelegation' - - $ref: '#/components/schemas/AvaxcStakingDelegation' - $ref: '#/components/schemas/AvaxPStakingDelegation' - - $ref: '#/components/schemas/BabyStakingDelegation' - $ref: '#/components/schemas/BeraStakingDelegation' - - $ref: '#/components/schemas/BldStakingDelegation' - - $ref: '#/components/schemas/BscStakingDelegation' - $ref: '#/components/schemas/BtcStakingDelegation' - - $ref: '#/components/schemas/CoredaoStakingDelegation' - - $ref: '#/components/schemas/CoreumStakingDelegation' - - $ref: '#/components/schemas/CronosStakingDelegation' - - $ref: '#/components/schemas/CsprStakingDelegation' - $ref: '#/components/schemas/CosmosLikeStakingDelegation' - $ref: '#/components/schemas/DotStakingDelegation' - - $ref: '#/components/schemas/EigenStakingDelegation' - $ref: '#/components/schemas/EthStakingDelegation' - - $ref: '#/components/schemas/HashStakingDelegation' - - $ref: '#/components/schemas/InjectiveStakingDelegation' - $ref: '#/components/schemas/MaticStakingDelegation' - $ref: '#/components/schemas/NearStakingDelegation' - - $ref: '#/components/schemas/OsmoStakingDelegation' - - $ref: '#/components/schemas/PolStakingDelegation' - - $ref: '#/components/schemas/PolyxStakingDelegation' - - $ref: '#/components/schemas/RethRocketStakingDelegation' - - $ref: '#/components/schemas/SeiStakingDelegation' - $ref: '#/components/schemas/SolStakingDelegation' - $ref: '#/components/schemas/StxStakingDelegation' - $ref: '#/components/schemas/SuiStakingDelegation' - - $ref: '#/components/schemas/SuiWalStakingDelegation' - - $ref: '#/components/schemas/TaoStakingDelegation' - - $ref: '#/components/schemas/TiaStakingDelegation' - $ref: '#/components/schemas/TonStakingDelegation' - - $ref: '#/components/schemas/TrxStakingDelegation' - - $ref: '#/components/schemas/WethStakingDelegation' - $ref: '#/components/schemas/WctStakingDelegation' - - $ref: '#/components/schemas/WflrStakingDelegation' - - $ref: '#/components/schemas/ZetaStakingDelegation' page: type: integer description: The page number for paging purposes. @@ -48556,6 +49496,7 @@ components: - $ref: '#/components/schemas/AccountBaseCreateAccountIntent' - $ref: '#/components/schemas/DotAccountBaseBuildOptions' DotDelegationProperties: + title: DOT Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -48605,7 +49546,7 @@ components: amountString: $ref: '#/components/schemas/optionalString' DotStakingDelegation: - title: DOT + title: DOT Staking Delegation allOf: - $ref: '#/components/schemas/BaseDelegation' type: object @@ -48644,11 +49585,12 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/DotStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string DotStakingRequestEntityProperties: + title: DOT staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -48661,10 +49603,15 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - DotStakingTransaction: + DotStakingTransactionProperties: allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + addToStake: + type: boolean + addProxy: + type: boolean DotUnStakingRequestPOSTBody: title: DOT unstake allOf: @@ -48690,6 +49637,16 @@ components: - stakingProxy - $ref: '#/components/schemas/UnstakeIntent' - $ref: '#/components/schemas/DotAccountBaseBuildOptions' + DotUnstakingTransactionProperties: + title: DOT Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + claimEra: + $ref: '#/components/schemas/IntegerString' + stopStaking: + type: boolean DotWallet: title: Dot Wallet type: object @@ -48811,9 +49768,27 @@ components: required: - challenge EigenLikeClaimRewardsRequestEntityProperties: + title: Eigen-like claim rewards request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + EigenLikeClaimRewardsTransactionProperties: + title: Eigen-like Claim Rewards Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + calldata: + type: string + to: + type: string + unclaimedRewardsPair: + type: object + additionalProperties: + type: string EigenLikeDelegationProperties: + title: Eigen-like Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -48821,6 +49796,7 @@ components: validatorAddress: type: string EigenLikeStakingRequestEntityProperties: + title: Eigen-like staking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' properties: @@ -48828,10 +49804,46 @@ components: type: string required: - validatorAddress - EigenStakingDelegation: + EigenLikeStakingTransactionProperties: + title: Eigen-like Staking Transaction Properties allOf: - - $ref: '#/components/schemas/BaseDelegation' + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + validatorAddress: + type: string + EigenLikeStakingWalletEntityProperties: + title: EigenLike Staking Wallet Properties type: object + properties: + type: + type: string + enum: + - EIGEN_LIKE + rewardPairs: + type: array + items: + $ref: '#/components/schemas/RewardPairs' + nullable: true + walletMultisigType: + type: string + enum: + - ONCHAIN + required: + - type + - walletMultisigType + EigenLikeUnstakingTransactionProperties: + title: Eigen-like Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + withdrawalStruct: + $ref: '#/components/schemas/Withdrawal' EigenStakingRequest: title: Eigen allOf: @@ -48846,13 +49858,13 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/EigenStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/EigenStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units (i.e. Wei for Eigen) type: string @@ -48861,14 +49873,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - EigenStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string EigenUnStakingRequestPOSTBody: title: EIGEN unstake allOf: @@ -49701,6 +50705,14 @@ components: - feeOptions - $ref: '#/components/schemas/AccelerationIntent' - $ref: '#/components/schemas/EthBuildOptionsWithoutFeeOptions' + EthAuthorizeValidatorTransactionProperties: + title: ETH Authorize Validator Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorAddress: + type: string EthBuildOptions: title: EthBuildOptions allOf: @@ -49752,12 +50764,41 @@ components: $ref: '#/components/schemas/optionalNumber' - $ref: '#/components/schemas/AccountBaseBuildOptions' EthCheckpointRequestEntityProperties: + title: Ethereum checkpoint request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + EthCheckpointTransactionProperties: + title: ETH Checkpoint Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + to: + type: string + calldata: + type: string EthClaimRewardsRequestEntityProperties: + title: Ethereum claim rewards request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + EthClaimRewardsTransactionProperties: + title: ETH Claim Rewards Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + withdrawalStruct: + $ref: '#/components/schemas/Withdrawal' + calldata: + type: string + to: + type: string + unclaimedRewardsPair: + type: object + additionalProperties: + $ref: '#/components/schemas/IntegerString' EthCommonStakingRequestEntityProperties: + title: Common Ethereum staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -49767,6 +50808,14 @@ components: - $ref: '#/components/schemas/IntegerString' description: Optional gas price override for Ethereum staking requests. nullable: true + EthCompleteWithdrawalsTransactionProperties: + title: ETH Complete Withdrawals Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + operator: + type: string EthConsolidateIntent: title: ETH Consolidate Intent allOf: @@ -49847,6 +50896,7 @@ components: - intentType - $ref: '#/components/schemas/BaseStakeIntent' EthP2POrgStakingRequestEntityProperties: + title: Ethereum P2P staking request entity properties allOf: - $ref: '#/components/schemas/EthStakingRequestEntityProperties' - type: object @@ -49870,8 +50920,16 @@ components: - selfSend - $ref: '#/components/schemas/PaymentIntent' - $ref: '#/components/schemas/EthBuildOptions' + EthQueueWithdrawalsTransactionProperties: + title: ETH Queue Withdrawals Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + operator: + type: string EthStakingDelegation: - title: ETH + title: ETH Staking Delegation allOf: - $ref: '#/components/schemas/BaseDelegation' type: object @@ -49934,6 +50992,7 @@ components: description: Amount to stake in base units (i.e. Wei for ETH). For Ethereum the amount needs to be a multiple of 32 ETH (32000000000000000000 Wei). For Testnet the 32 ETH multiple restriction does not apply. type: string EthStakingRequestEntityProperties: + title: Ethereum staking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' - type: object @@ -50010,12 +51069,26 @@ components: description: Optional delegation id to be used for topup, only active delegations are allowed, that do not have a pending stake or pending unstake. type: string EthStakingTransaction: + title: ETH Staking Transaction allOf: - $ref: '#/components/schemas/StakingTransaction' - type: object - properties: - buildParams: - $ref: '#/components/schemas/TransactionBuildParams' + - type: object + properties: + gasPrice: + type: string + description: The gas price in base units for the transaction. + properties: + $ref: '#/components/schemas/StakingTransactionPropertiesOneOf' + EthStakingTransactionProperties: + title: ETH Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + delegationRequest: + type: array + items: + $ref: '#/components/schemas/DelegationRequest' EthStakingTransactionSendRequest: type: object properties: @@ -50039,6 +51112,29 @@ components: txHex: type: string description: Raw transaction hex. + EthStakingWalletEntityProperties: + title: ETH Staking Wallet Properties + type: object + properties: + type: + type: string + enum: + - ETH + eigenPodAddress: + type: string + nullable: true + rewardPairs: + type: array + items: + $ref: '#/components/schemas/RewardPairs' + nullable: true + walletMultisigType: + type: string + enum: + - ONCHAIN + required: + - type + - walletMultisigType EthTransferTokenIntent: title: ETH Transfer Token Intent allOf: @@ -50068,6 +51164,32 @@ components: - uuid-2 required: - delegationIds + EthUnstakingTransactionProperties: + title: ETH Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorId: + type: string + lidoRequestId: + $ref: '#/components/schemas/IntegerString' + isFullUnstake: + type: boolean + EthVerifyWithdrawalsTransactionProperties: + title: ETH Verify Withdrawals Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + to: + type: string + calldata: + type: string + validatorIndices: + type: array + items: + $ref: '#/components/schemas/IntegerString' Ethereum2Address: title: Ethereum2 Address type: object @@ -53181,10 +54303,6 @@ components: type: string description: A description for the condition parameter Value which can be shown to an end user. example: The transfer amount must be greater than the given limit for the condition to trigger - HashStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object HashStakingRequest: title: HASH allOf: @@ -53196,13 +54314,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/HashStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/HashStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -53211,10 +54329,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - HashStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object HashUnStakingRequestPOSTBody: title: HASH unstake allOf: @@ -53357,6 +54471,7 @@ components: description: A description for the condition parameter Value which can be shown to an end user. example: A hot wallet ICPStakingRequestEntityProperties: + title: ICP staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -53364,6 +54479,16 @@ components: neuronAddress: type: string description: Optional neuron address. + ICPStakingTransactionProperties: + title: ICP Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + neuronAddress: + type: string IcpPaymentIntent: title: ICP Payment Intent allOf: @@ -53851,10 +54976,6 @@ components: description: Request to claim staking rewards for Injective. allOf: - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' - InjectiveStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object InjectiveStakingRequest: title: INJECTIVE allOf: @@ -53866,13 +54987,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/InjectiveStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/InjectiveStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -53881,10 +55002,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - InjectiveStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object InjectiveSwitchValidatorsRequestPOSTBody: title: Injective Switch Validators Request type: object @@ -56138,6 +57255,7 @@ components: - updatedAt - settlementStatus MaticLikeDelegationProperties: + title: MATIC-like Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -56145,6 +57263,7 @@ components: stakingDestination: type: string MaticLikeStakingRequestEntityProperties: + title: Matic-like staking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' - type: object @@ -56152,8 +57271,18 @@ components: stakingDestination: type: string nullable: true + MaticLikeStakingTransactionProperties: + title: Matic-like Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + nonce: + type: integer + withdrawEpoch: + $ref: '#/components/schemas/IntegerString' MaticStakingDelegation: - title: MATIC + title: MATIC Staking Delegation allOf: - $ref: '#/components/schemas/BaseDelegation' type: object @@ -56177,7 +57306,7 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/MaticStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units (i.e. Wei for MATIC) type: string @@ -56186,14 +57315,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - MaticStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string MaticUnStakingRequestPOSTBody: title: MATIC unstake allOf: @@ -56460,6 +57581,7 @@ components: - full - last NearDelegationProperties: + title: NEAR Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -56501,7 +57623,7 @@ components: required: - recipients NearStakingDelegation: - title: NEAR + title: NEAR Staking Delegation allOf: - $ref: '#/components/schemas/BaseDelegation' type: object @@ -56522,11 +57644,12 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/NearStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string NearStakingRequestEntityProperties: + title: NEAR staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -56539,10 +57662,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - NearStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object NearUnStakingRequestPOSTBody: title: NEAR unstake allOf: @@ -57933,10 +59052,6 @@ components: description: Request to claim staking rewards for Osmosis (OSMO). allOf: - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' - OsmoStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object OsmoStakingRequest: title: OSMO allOf: @@ -57948,13 +59063,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/OsmoStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/OsmoStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -57963,10 +59078,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - OsmoStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object OsmoSwitchValidatorsRequestPOSTBody: title: Osmosis (OSMO) Switch Validators Request type: object @@ -60393,10 +61504,6 @@ components: description: 'If present, only enterprise kyc state changes from the list will trigger notifications. If not present, all kyc state changes will trigger notifications. ' required: - url - PolStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object PolStakingRequest: title: POL allOf: @@ -60411,13 +61518,13 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/PolStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/PolStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units (i.e. Wei for POL) type: string @@ -60426,14 +61533,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - PolStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string PolUnStakingRequestPOSTBody: title: POL unstake allOf: @@ -60961,6 +62060,7 @@ components: - $ref: '#/components/schemas/AccountBaseCreateAccountIntent' - $ref: '#/components/schemas/SubstrateAccountBaseBuildOptions' PolyxDelegationProperties: + title: POLYX Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -60978,10 +62078,6 @@ components: required: - intentType - $ref: '#/components/schemas/PolyxBaseIntent' - PolyxStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object PolyxStakingRequest: title: POLYX allOf: @@ -60993,17 +62089,18 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/PolyxStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/PolyxStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string PolyxStakingRequestEntityProperties: + title: Polyx staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -61018,10 +62115,16 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - PolyxStakingTransaction: + PolyxStakingTransactionProperties: + title: PolyX Staking Transaction Properties allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + addToStake: + type: boolean PolyxUnStakingRequestPOSTBody: title: POLYX unstake allOf: @@ -61041,6 +62144,18 @@ components: required: - intentType - $ref: '#/components/schemas/PolyxBaseIntent' + PolyxUnstakingTransactionProperties: + title: PolyX Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + claimEra: + type: string + stopStaking: + type: boolean PolyxWithdrawIntent: title: POLYX Withdraw Intent allOf: @@ -61353,6 +62468,18 @@ components: - id - status - selectedIdClass + Recipient: + type: object + properties: + amount: + type: string + description: The amount to stake in base units. + address: + type: string + description: The recipient address. + data: + type: string + description: Optional staking data (ABI format). RecipientAmount: oneOf: - type: string @@ -61993,10 +63120,6 @@ components: description: Commission percentage charged by the operator. type: string format: decimal - RethRocketStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object RethRocketStakingRequest: title: RETH-ROCKET allOf: @@ -62011,13 +63134,13 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/RethRocketStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/RethRocketStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units (i.e. Wei for RETH-ROCKET) type: string @@ -62026,14 +63149,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - RethRocketStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string RethRocketUnStakingRequestPOSTBody: title: RETH-ROCKET unstake allOf: @@ -62250,10 +63365,6 @@ components: description: Request to claim staking rewards for Sei. allOf: - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' - SeiStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object SeiStakingRequest: title: SEI allOf: @@ -62265,13 +63376,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/SeiStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/SeiStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -62280,10 +63391,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - SeiStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object SeiSwitchValidatorsRequestPOSTBody: title: Sei Switch Validators Request type: object @@ -63393,6 +64500,7 @@ components: - $ref: '#/components/schemas/BaseIntent' - $ref: '#/components/schemas/SolBuildOptions' SolDelegationProperties: + title: SOL Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - type: object @@ -63427,6 +64535,14 @@ components: properties: {} - $ref: '#/components/schemas/GoUnstakeIntent' - $ref: '#/components/schemas/SolBuildOptions' + SolJitoStakingTransactionProperties: + title: Solana Jito Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + stakePoolEpochData: + $ref: '#/components/schemas/StakePoolEpochData' SolPaymentIntent: title: SolPaymentIntent allOf: @@ -63473,7 +64589,7 @@ components: - $ref: '#/components/schemas/StakeIntent1' - $ref: '#/components/schemas/SolBuildOptions' SolStakingDelegation: - title: SOL + title: SOL Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' type: object @@ -63508,11 +64624,12 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/SolStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string SolStakingRequestEntityProperties: + title: Solana staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -63540,15 +64657,21 @@ components: - MARINADE - MARINADE_SELECT default: SOL_STAKE - SolStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object SolUnStakingRequestPOSTBody: title: SOL unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object + SolUnStakingTransactionProperties: + title: SOL Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + unstakingAddress: + type: string + stakePoolEpochData: + $ref: '#/components/schemas/StakePoolEpochData' SolUnstakeIntent: title: SOL Unstake Intent allOf: @@ -63675,6 +64798,7 @@ components: allOf: - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' SomiDelegationProperties: + title: SOMI Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -63711,6 +64835,7 @@ components: required: - validatorAddress SomiStakingRequestEntityProperties: + title: SOMI staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -63743,6 +64868,20 @@ components: example: '2000000000000000000' required: - amount + SomiUnstakingTransactionProperties: + title: SOMI Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + validatorAddress: + type: string + claimedRewards: + type: object + additionalProperties: + type: string SpendingLimits: type: object additionalProperties: @@ -63836,6 +64975,17 @@ components: - stake required: - intentType + StakePoolEpochData: + type: object + properties: + poolAmountInTokens: + $ref: '#/components/schemas/IntegerString' + epoch: + $ref: '#/components/schemas/IntegerString' + totalLamports: + $ref: '#/components/schemas/IntegerString' + poolTokenSupply: + $ref: '#/components/schemas/IntegerString' StakeSwitchValidatorIntent: title: StakeSwitchValidatorIntent allOf: @@ -64120,6 +65270,57 @@ components: description: The list of per-coin fees for this license. items: $ref: '#/components/schemas/StakingLicenseFee' + StakingOptions: + description: Union of concrete staking option types. One of the concrete option schemas below. + oneOf: + - $ref: '#/components/schemas/AvaxPStakingOptions' + - $ref: '#/components/schemas/BtcStakingOptions' + - $ref: '#/components/schemas/CsprStakingOptions' + - $ref: '#/components/schemas/StxStakingOptions' + StakingParams: + type: object + properties: + requestId: + type: string + format: uuid + amount: + type: string + description: The amount to stake in base units. + coin: + type: string + validator: + type: string + provider: + type: string + blsPublicKey: + type: string + blsSignature: + type: string + actionType: + type: string + description: The action type (e.g. delegate, unstake). + stakingOptions: + $ref: '#/components/schemas/StakingOptions' + coreDao: + $ref: '#/components/schemas/CoreDaoStakingParams' + babylon: + $ref: '#/components/schemas/BabylonStakingParams' + ownerAddress: + type: string + description: TRX specific owner address + frozenBalance: + type: string + description: TRX specific frozen balance + unfreezeBalance: + type: string + description: TRX specific unfreeze balance + resource: + type: string + description: TRX specific resource type + votes: + type: array + items: + $ref: '#/components/schemas/Vote' StakingPartneredValidator: type: object properties: @@ -64865,6 +66066,9 @@ components: error: description: The reason the transaction failed. type: string + rawError: + description: Raw internal error message if available. + type: string amount: allOf: - $ref: '#/components/schemas/IntegerString' @@ -64884,6 +66088,8 @@ components: coin: description: The coin associated with this staking transaction. type: string + buildParams: + $ref: '#/components/schemas/TransactionBuildParams' required: - stakingRequestId - transactionType @@ -64892,6 +66098,143 @@ components: - statusModifiedDate - delegationId - amount + StakingTransactionProperties: + type: object + properties: + amount: + $ref: '#/components/schemas/IntegerString' + type: + $ref: '#/components/schemas/StakingTransactionPropertiesType' + required: + - amount + - type + StakingTransactionPropertiesOneOf: + oneOf: + - $ref: '#/components/schemas/UnknownStakingTransactionProperties' + - $ref: '#/components/schemas/BaseStakingTransactionProperties' + - $ref: '#/components/schemas/MaticLikeStakingTransactionProperties' + - $ref: '#/components/schemas/EthStakingTransactionProperties' + - $ref: '#/components/schemas/SolJitoStakingTransactionProperties' + - $ref: '#/components/schemas/EthAuthorizeValidatorTransactionProperties' + - $ref: '#/components/schemas/EthClaimRewardsTransactionProperties' + - $ref: '#/components/schemas/EthVerifyWithdrawalsTransactionProperties' + - $ref: '#/components/schemas/EthQueueWithdrawalsTransactionProperties' + - $ref: '#/components/schemas/EthCompleteWithdrawalsTransactionProperties' + - $ref: '#/components/schemas/EthCheckpointTransactionProperties' + - $ref: '#/components/schemas/EthUnstakingTransactionProperties' + - $ref: '#/components/schemas/DotUnstakingTransactionProperties' + - $ref: '#/components/schemas/DotStakingTransactionProperties' + - $ref: '#/components/schemas/ByovStakingTransactionProperties' + - $ref: '#/components/schemas/CsprStakingTransactionProperties' + - $ref: '#/components/schemas/SuiStakingTransactionProperties' + - $ref: '#/components/schemas/TonStakingTransactionProperties' + - $ref: '#/components/schemas/TonUnstakingTransactionProperties' + - $ref: '#/components/schemas/SuiUnstakingTransactionProperties' + - $ref: '#/components/schemas/CsprUnstakingTransactionProperties' + - $ref: '#/components/schemas/SuiSwitchTransactionProperties' + - $ref: '#/components/schemas/AdaStakingTransactionProperties' + - $ref: '#/components/schemas/AdaClaimRewardsTransactionProperties' + - $ref: '#/components/schemas/TrxClaimRewardsTransactionProperties' + - $ref: '#/components/schemas/AdaUnstakingTransactionProperties' + - $ref: '#/components/schemas/AtomStakingTransactionProperties' + - $ref: '#/components/schemas/AtomUnstakingTransactionProperties' + - $ref: '#/components/schemas/AtomClaimRewardsTransactionProperties' + - $ref: '#/components/schemas/CosmosLikeStakingTransactionProperties' + - $ref: '#/components/schemas/CosmosLikeUnstakingTransactionProperties' + - $ref: '#/components/schemas/BscStakingTransactionProperties' + - $ref: '#/components/schemas/CosmosLikeClaimRewardsTransactionProperties' + - $ref: '#/components/schemas/CosmosLikeSwitchTransactionProperties' + - $ref: '#/components/schemas/BaseSwitchTransactionProperties' + - $ref: '#/components/schemas/BscWithdrawUndelegatedTransactionProperties' + - $ref: '#/components/schemas/BscUnstakingTransactionProperties' + - $ref: '#/components/schemas/SolUnStakingTransactionProperties' + - $ref: '#/components/schemas/StxStakingTransactionProperties' + - $ref: '#/components/schemas/StxUnstakingTransactionProperties' + - $ref: '#/components/schemas/EigenLikeStakingTransactionProperties' + - $ref: '#/components/schemas/EigenLikeClaimRewardsTransactionProperties' + - $ref: '#/components/schemas/EigenLikeUnstakingTransactionProperties' + - $ref: '#/components/schemas/CoredaoClaimRewardsTransactionProperties' + - $ref: '#/components/schemas/BtcStakingTransactionProperties' + - $ref: '#/components/schemas/BtcBabylonStakingProperties' + - $ref: '#/components/schemas/BtcCoredaoStakingProperties' + - $ref: '#/components/schemas/BtcUnstakingTransactionProperties' + - $ref: '#/components/schemas/BtcClaimRewardsTransactionProperties' + - $ref: '#/components/schemas/WctStakingTransactionProperties' + - $ref: '#/components/schemas/WctClaimRewardsTransactionProperties' + - $ref: '#/components/schemas/BeraStakingTransactionProperties' + - $ref: '#/components/schemas/BeraUnstakingTransactionProperties' + - $ref: '#/components/schemas/TaoStakingTransactionProperties' + - $ref: '#/components/schemas/TaoSwitchValidatorTransactionProperties' + - $ref: '#/components/schemas/PolyxStakingTransactionProperties' + - $ref: '#/components/schemas/PolyxUnstakingTransactionProperties' + - $ref: '#/components/schemas/ICPStakingTransactionProperties' + - $ref: '#/components/schemas/SomiUnstakingTransactionProperties' + - $ref: '#/components/schemas/AvaxcStakingTransactionProperties' + - $ref: '#/components/schemas/AvaxcUnstakingTransactionProperties' + - $ref: '#/components/schemas/VetStakingTransactionProperties' + StakingTransactionPropertiesType: + type: string + enum: + - BASE + - MATIC + - DOT_STAKE + - DOT_UNSTAKE + - CSPR + - CSPR_UNSTAKE + - SUI + - SUI_UNSTAKE + - SUI_SWITCH + - ETH_AUTHORIZE_VALIDATOR + - ETH_STAKE_PECTRA + - ETH_QUEUE_WITHDRAWALS + - ETH_COMPLETE_WITHDRAWALS + - ETH_VERIFY_WITHDRAWALS + - ETH_CHECKPOINTS + - ETH_UNSTAKE + - ETH_CLAIM_REWARDS + - SOL_JITO_STAKE + - SOL_UNSTAKE + - ADA + - ADA_CLAIM_REWARDS + - TRX_CLAIM_REWARDS + - ADA_UNSTAKE + - ATOM + - ATOM_UNSTAKE + - ATOM_CLAIM_REWARDS + - COSMOS + - COSMOS_UNSTAKE + - COSMOS_CLAIM_REWARDS + - COSMOS_SWITCH + - BASE_SWITCH + - BSC + - BSC_UNSTAKE + - BSC_CLAIM_REWARDS + - BSC_WITHDRAW_UNDELEGATED + - TON + - TON_UNSTAKE + - STX + - STX_UNSTAKE + - EIGEN_LIKE + - EIGEN_LIKE_CLAIM_REWARDS + - EIGEN_LIKE_UNSTAKE + - BTC + - BTC_UNSTAKE + - BTC_CLAIM_REWARDS + - WCT + - WCT_CLAIM_REWARDS + - BERA_STAKE + - BERA_UNSTAKE + - TAO_STAKE + - TAO_SWITCH + - POLYX_STAKE + - POLYX_UNSTAKE + - ICP_STAKE + - COREDAO_CLAIM_REWARDS + - AVAXC_STAKE + - VET + - AVAXC_UNSTAKE + - SOMI_UNSTAKE + - UNKNOWN StakingTransactionSendRequest: type: object properties: @@ -65127,9 +66470,7 @@ components: format: date-time nullable: true properties: - description: Additional properties of the staking wallet. - type: object - nullable: true + $ref: '#/components/schemas/StakingWalletEntityProperties' required: - enterpriseId - walletId @@ -65144,6 +66485,14 @@ components: - reserved - pendingReserved - apy + StakingWalletEntityProperties: + oneOf: + - $ref: '#/components/schemas/BaseStakingWalletEntityProperties' + - $ref: '#/components/schemas/EthStakingWalletEntityProperties' + - $ref: '#/components/schemas/EigenLikeStakingWalletEntityProperties' + - $ref: '#/components/schemas/WctStakingWalletEntityProperties' + - $ref: '#/components/schemas/BeraStakingWalletEntityProperties' + - $ref: '#/components/schemas/AvaxcStakingWalletEntityProperties' StakingWalletsResponse: type: object properties: @@ -65251,6 +66600,7 @@ components: - creationFailure - lastMemoId StxDelegationProperties: + title: STX Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -65276,8 +66626,18 @@ components: signerSignature: type: string nullable: true + StxFunctionArg: + type: object + description: Generic STX function argument representation (best-effort) + properties: + type: + type: string + description: Argument type (e.g. 'uint', 'principal', 'buffer', etc.) + value: + type: string + description: Argument value serialized as string StxStakingDelegation: - title: STX + title: STX Staking Delegation allOf: - $ref: '#/components/schemas/BaseDelegation' type: object @@ -65290,6 +66650,25 @@ components: btcRewardAddress: description: The BTC address where rewards will be sent. type: string + StxStakingOptions: + type: object + description: STX staking options + properties: + functionName: + type: string + description: Name of the contract function to call + functionArgs: + type: array + items: + $ref: '#/components/schemas/StxFunctionArg' + description: Arguments to pass to the function + contractName: + type: string + default: pox-4 + description: Contract name used for stacking (defaults to pox-4) + required: + - functionName + - functionArgs StxStakingRequest: title: STX allOf: @@ -65320,6 +66699,7 @@ components: description: The staking duration in blocks. type: string StxStakingRequestEntityProperties: + title: STX staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -65396,11 +66776,51 @@ components: description: The name of the staking contract. type: string default: pox-4 + StxStakingTransactionProperties: + title: STX Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + stxStakingType: + type: string + description: Type of STX staking request. + enum: + - STACK + - SELF_STACK + - UNSTACK + validatorAddress: + type: string + btcRewardAddress: + type: string + signerPub: + type: string + signerSignature: + type: string + maxAmount: + $ref: '#/components/schemas/IntegerString' + authId: + $ref: '#/components/schemas/IntegerString' + delegationCycle: + $ref: '#/components/schemas/IntegerString' StxUnStakingRequestPOSTBody: title: STX unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBody' type: object + StxUnstakingTransactionProperties: + title: STX Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + stxStakingType: + type: string + description: Type of STX staking request. + enum: + - STACK + - SELF_STACK + - UNSTACK SubstrateAccountBaseBuildOptions: title: SubstrateAccountBaseBuildOptions allOf: @@ -65491,6 +66911,7 @@ components: - $ref: '#/components/schemas/BaseIntent' - $ref: '#/components/schemas/SuiBuildOptions' SuiDelegationProperties: + title: SUI Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - type: object @@ -65520,6 +66941,7 @@ components: - $ref: '#/components/schemas/GoUnstakeIntent' - $ref: '#/components/schemas/SuiBuildOptions' SuiLikeStakingRequestEntityProperties: + title: Sui-like staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -65539,7 +66961,7 @@ components: - $ref: '#/components/schemas/PaymentIntent' - $ref: '#/components/schemas/SuiBuildOptions' SuiStakingDelegation: - title: SUI + title: SUI Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' type: object @@ -65603,7 +67025,7 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/SuiStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -65612,11 +67034,18 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - SuiStakingTransaction: + SuiStakingTransactionProperties: + title: SUI Staking Transaction Properties allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object + - $ref: '#/components/schemas/ByovStakingTransactionProperties' + - type: object + properties: + delegationRequest: + type: array + items: + $ref: '#/components/schemas/DelegationRequest' SuiSwitchStakingRequestEntityProperties: + title: Sui switch validator staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' properties: @@ -65629,6 +67058,14 @@ components: stakedSuiObjectId: type: string nullable: true + SuiSwitchTransactionProperties: + title: SUI Switch Transaction Properties + allOf: + - $ref: '#/components/schemas/ByovStakingTransactionProperties' + - type: object + properties: + stakedSuiObjectId: + type: string SuiUnStakingRequestPOSTBody: title: SUI unstake allOf: @@ -65654,10 +67091,14 @@ components: required: - stakedSuiObjectId - $ref: '#/components/schemas/WithdrawIntent' - SuiWalStakingDelegation: + SuiUnstakingTransactionProperties: + title: SUI Unstaking Transaction Properties allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + stakedSuiObjectId: + type: string SuiWalStakingRequest: title: SUIWAL allOf: @@ -65669,13 +67110,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/SuiWalStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/SuiWalStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -65684,10 +67125,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - SuiWalStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object SuiWalUnStakingRequestPOSTBody: title: SUI:WAL unstake allOf: @@ -65725,6 +67162,7 @@ components: type: object description: Permission attributes specific to switching validators. SwitchValidatorRequestEntityProperties: + title: Switch validator staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -65813,6 +67251,7 @@ components: - standard - wide TaoDelegationProperties: + title: TAO Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - type: object @@ -65848,10 +67287,6 @@ components: - netuid - $ref: '#/components/schemas/BaseStakeIntent' - $ref: '#/components/schemas/SubstrateAccountBaseBuildOptions' - TaoStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object TaoStakingRequest: title: TAO allOf: @@ -65863,17 +67298,18 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/TaoStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/TaoStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string TaoStakingRequestEntityProperties: + title: TAO staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -65896,11 +67332,18 @@ components: minimum: 0 maximum: 128 nullable: true - TaoStakingTransaction: + TaoStakingTransactionProperties: + title: TAO Staking Transaction Properties allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + validator: + type: string TaoSwitchValidatorRequestEntityProperties: + title: TAO switch validator staking request entity properties allOf: - $ref: '#/components/schemas/SwitchValidatorRequestEntityProperties' - type: object @@ -65908,6 +67351,22 @@ components: destinationNetuid: type: string description: TAO-specific destination network UID. + TaoSwitchValidatorTransactionProperties: + title: TAO Switch Validator Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + validatorAddress: + type: string + destValidatorAddress: + type: string + originNetuid: + type: string + destinationNetuid: + type: string TaoUnStakingRequestPOSTBody: title: TAO unstake allOf: @@ -66003,10 +67462,6 @@ components: description: Request to claim staking rewards for Celestia (TIA). allOf: - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' - TiaStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object TiaStakingRequest: title: TIA allOf: @@ -66018,13 +67473,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/TiaStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/TiaStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -66033,10 +67488,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - TiaStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object TiaSwitchValidatorsRequestPOSTBody: title: Celestia (TIA) Switch Validators Request type: object @@ -66245,6 +67696,7 @@ components: - useSingleNominator - $ref: '#/components/schemas/BaseIntent' TonDelegationProperties: + title: TON Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - type: object @@ -66268,7 +67720,7 @@ components: $ref: '#/components/schemas/optionalString' - $ref: '#/components/schemas/PaymentIntent' TonStakingDelegation: - title: TON + title: TON Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' type: object @@ -66311,6 +67763,7 @@ components: - MULTI_NOMINATOR_STAKE - SINGLE_NOMINATOR_STAKE TonStakingRequestEntityProperties: + title: TON staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -66339,6 +67792,18 @@ components: - MULTI_NOMINATOR_STAKE - SINGLE_NOMINATOR_STAKE default: MULTI_NOMINATOR_STAKE + TonStakingTransactionProperties: + title: TON Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/ByovStakingTransactionProperties' + - type: object + properties: + tonStakingType: + type: string + description: TON staking mode. + enum: + - MULTI_NOMINATOR_STAKE + - SINGLE_NOMINATOR_STAKE TonUnStakingRequestPOSTBody: title: TON unstake allOf: @@ -66365,6 +67830,23 @@ components: - useSingleNominator - singleNominatorAmount - $ref: '#/components/schemas/BaseIntent' + TonUnstakingTransactionProperties: + title: TON Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + validatorAddress: + type: string + tonStakingType: + type: string + description: TON staking mode. + enum: + - MULTI_NOMINATOR_STAKE + - SINGLE_NOMINATOR_STAKE + singleNomWithdrawTime: + type: string + format: date-time TonWallet: title: Ton Wallet type: object @@ -66729,40 +68211,44 @@ components: TransactionBuildParams: type: object properties: + sequenceId: + type: string + format: uuid + description: Unique sequence identifier recipients: + type: array description: Recipient build params data - type: object - properties: - amount: - description: The amount to stake in base units. - type: string - address: - description: The address. - type: string - data: - description: The staking data (ABI format). - type: string + items: + $ref: '#/components/schemas/Recipient' stakingParams: - description: Staking params - type: object - properties: - requestId: - type: string - amount: - description: The amount to stake in base units. - type: string - validator: - description: The validator address. - type: string - actionType: - description: The action type (e.g. delegate). - type: string + $ref: '#/components/schemas/StakingParams' gasPrice: - description: The Gas price in base units. type: string + description: The gas price in base units. gasLimit: - description: The Gas limit in base units. type: string + description: The gas limit in base units. + stakingOptions: + $ref: '#/components/schemas/StakingOptions' + type: + type: string + description: The transaction type (internal use). + senderWalletId: + type: string + description: The wallet ID of the sender. + feeRate: + type: integer + description: Fee rate (used in UTXO chains). + unspents: + type: array + items: + type: string + description: List of unspent transaction outputs (UTXOs). + silentSignature: + type: boolean + description: Indicates if silent signature is enabled. + unstakingParams: + $ref: '#/components/schemas/UnstakingParams' TransactionBuildRequest: title: Withdrawal allOf: @@ -68856,9 +70342,15 @@ components: - $ref: '#/components/schemas/IntegerString' description: String representation of the amount to limit in base units (stroops) TrxClaimRewardsRequestEntityProperties: + title: TRX claim rewards request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' + TrxClaimRewardsTransactionProperties: + title: TRX Claim Rewards Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' TrxDelegationProperties: + title: TRX Delegation Properties allOf: - $ref: '#/components/schemas/ByovDelegationProperties' - type: object @@ -68870,10 +70362,6 @@ components: enum: - ENERGY - BANDWIDTH - TrxStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object TrxStakingRequest: title: TRX allOf: @@ -68885,7 +70373,7 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/TrxStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 @@ -68909,6 +70397,7 @@ components: description: Optional custom unit (e.g., "TP" for TronPower). When provided, this unit is the derived unit of the amounts in the attributes. type: string TrxStakingRequestEntityProperties: + title: TRX staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -68950,6 +70439,7 @@ components: required: - subType TrxStakingTransaction: + title: TRX Staking Transaction allOf: - $ref: '#/components/schemas/StakingTransaction' type: object @@ -69126,16 +70616,24 @@ components: items: $ref: '#/components/schemas/UnstakingSubTypeSpendableAttributes' UnknownDelegationProperties: + title: Unknown Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object additionalProperties: true UnknownStakingRequestEntityProperties: + title: Unknown staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object additionalProperties: true description: Used when the objectType is unknown. Accepts arbitrary fields. + UnknownStakingTransactionProperties: + title: Unknown Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + additionalProperties: true Unlock: title: Unlock type: object @@ -69352,6 +70850,24 @@ components: items: $ref: '#/components/schemas/UnstakingSubTypeDisclaimerAttributes' nullable: true + UnstakingParams: + type: object + properties: + babylon: + type: object + properties: + withdrawType: + type: string + undelegation: + type: object + properties: + txHex: + type: string + covenantSignatures: + type: array + items: + type: object + description: Covenant unbonding signature object from Babylon UnstakingPermissionAttributes: allOf: - $ref: '#/components/schemas/BasePermissionAttributes' @@ -72814,6 +74330,7 @@ components: - webhookId - isValid VetDelegationProperties: + title: VET Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -72865,6 +74382,22 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object + VetStakingTransactionProperties: + title: VET Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + nftTokenId: + type: string + gasLimit: + type: string + gasPrice: + type: string + nonce: + type: string VetUnStakingRequestPOSTBody: title: VET unstake allOf: @@ -72906,6 +74439,13 @@ components: example: true description: All users on the enterprise can view all enterprise wallets, even if they are not viewers on the wallet itself type: boolean + Vote: + type: object + properties: + voteAddress: + type: string + voteCount: + type: string VoteDelegationIntent: title: Vote Delegation Intent allOf: @@ -74834,9 +76374,21 @@ components: - sharedStakingObjectId - $ref: '#/components/schemas/SuiUnstakingIntent' WctClaimRewardsRequestEntityProperties: + title: WCT claim rewards request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + WctClaimRewardsTransactionProperties: + title: WCT Claim Rewards Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + onChainWalletAddress: + type: string WctDelegationProperties: + title: WCT Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -74849,7 +76401,7 @@ components: type: string format: bigInteger WctStakingDelegation: - title: WCT + title: WCT Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' type: object @@ -74912,6 +76464,7 @@ components: enum: - WCT_STAKE WctStakingRequestEntityProperties: + title: WCT staking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' properties: @@ -74940,12 +76493,44 @@ components: enum: - WCT_STAKE default: WCT_STAKE + WctStakingTransactionProperties: + title: WCT Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + isNewStake: + type: boolean + unlockTime: + type: string + WctStakingWalletEntityProperties: + title: WCT Staking Wallet Properties + type: object + properties: + type: + type: string + enum: + - WCT + currentStakingDuration: + type: string + format: bigInteger + nullable: true + walletMultisigType: + type: string + enum: + - TSS + required: + - type + - walletMultisigType WctUnStakingRequestPOSTBody: title: WCT unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object WctUnstakingRequestEntityProperties: + title: WCT unstaking request entity properties allOf: - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' WebSocketSubscription: @@ -75282,10 +76867,6 @@ components: - lowFeeAddressBalance example: transfer description: Event type to listen to. - WethStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object WethStakingRequest: title: WETH allOf: @@ -75300,13 +76881,13 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/WethStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/WethStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units (i.e. Wei for WETH) type: string @@ -75315,20 +76896,13 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - WethStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string WethUnStakingRequestPOSTBody: title: WETH unstake allOf: - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithGasPrice' type: object WflrClaimRewardsRequestEntityProperties: + title: WFLR claim rewards request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' WflrClaimRewardsRequestPOSTBody: @@ -75354,6 +76928,7 @@ components: type: string description: Optional gas price override. WflrDelegationProperties: + title: WFLR Delegation Properties allOf: - $ref: '#/components/schemas/DelegationProperties' - type: object @@ -75366,11 +76941,6 @@ components: activeRewards: type: string format: bigInteger - WflrStakingDelegation: - title: WFLR - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object WflrStakingRequest: title: WFLR allOf: @@ -75382,7 +76952,7 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/WflrStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 @@ -75398,6 +76968,7 @@ components: enum: - WFLR_STAKE WflrStakingRequestEntityProperties: + title: WFLR staking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' - type: object @@ -75449,6 +77020,7 @@ components: type: string description: User overridden gas price to apply for the generated transactions for this request. While unstaking WFLR tokens, gas fees are paid in native FLR tokens. WflrUnstakingRequestEntityProperties: + title: WFLR unstaking request entity properties allOf: - $ref: '#/components/schemas/StakingRequestEntityProperties' WhitelistedAddressValue: @@ -75838,6 +77410,23 @@ components: - claim required: - intentType + Withdrawal: + type: object + properties: + staker: + type: string + delegatedTo: + type: string + withdrawer: + type: string + nonce: + type: string + startBlock: + type: string + strategies: + type: string + shares: + type: string XRPAddress: title: XRP Address type: object @@ -75963,10 +77552,6 @@ components: source: type: string example: GBSGOXQNPULNPBX7XTHXP2GDBOZMHPIZOOA7CQXYTLHYKF5J2JDCF7LT - ZetaStakingDelegation: - allOf: - - $ref: '#/components/schemas/BaseDelegation' - type: object ZetaStakingRequest: title: ZETA allOf: @@ -75978,13 +77563,13 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/ZetaStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/ZetaStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string @@ -75993,10 +77578,6 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - ZetaStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object ZetaUnStakingRequestPOSTBody: title: ZETA unstake allOf: From 598156d3abf204394e2789926e5d3e3345dbc3a2 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Fri, 10 Oct 2025 22:21:08 +0000 Subject: [PATCH 7/8] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) diff --git a/api.yaml b/api.yaml index e0e20d8..5247f28 100644 --- a/api.yaml +++ b/api.yaml @@ -32569,6 +32569,111 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError' + /api/v2/wallet/{walletId}/address/{address}/crosschainbalances: + get: + summary: Get cross-chain address balances + description: |- + Gets balance information for a specific address across all enabled EVM keyring chains + + For EVM keyring wallets, this endpoint returns the balance of a specific receive address + across all derived child wallets on different chains (e.g., ETH, Polygon, BSC). + The same address exists on multiple chains due to shared key material. + operationId: v2.wallet.address.crosschainbalances + tags: + - Address + parameters: + - name: walletId + in: path + required: true + schema: + $ref: '#/components/schemas/WalletIdString' + - name: address + description: The address to check across chains + in: path + required: true + schema: + allOf: + - $ref: '#/components/schemas/AddressString' + example: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb' + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + properties: + addresses: + type: array + items: + type: object + description: List of addresses across all chains in the EVM keyring with their balances + properties: + id: + type: string + description: Platform public ID for the address + example: 59cd72485007a239fb00282ed480da1f + pattern: ^[0-9a-f]{32}$ + coin: + allOf: + - $ref: '#/components/schemas/CoinString' + description: The coin/chain for this address + example: eth + wallet: + type: string + description: Wallet ID containing this address + example: 59cd72485007a239fb00282ed480da1f + pattern: ^[0-9a-f]{32}$ + address: + allOf: + - $ref: '#/components/schemas/AddressString' + description: The address string (same across chains in an EVM keyring) + example: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb' + chain: + allOf: + - $ref: '#/components/schemas/AddressChain' + description: Chain index (0 for receive addresses) + index: + type: number + description: Address index within the chain + label: + allOf: + - $ref: '#/components/schemas/AddressLabelString' + description: User-defined label for this address + maxLength: 250 + token: + type: string + description: Token identifier if this is a token address + example: usdc + balance: + allOf: + - $ref: '#/components/schemas/TrimmedBalance' + description: Balance information for this address + required: + - id + - coin + - wallet + - address + - chain + - index + count: + type: number + description: Total count of addresses returned + required: + - addresses + - count + '400': + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' + '404': + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' /api/v2/wallet/{walletId}/derivedwallets: get: summary: List derived wallets for an EVM keyring From a235604764e91bbc8b383c7e191eda6327ba295b Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Fri, 10 Oct 2025 22:21:56 +0000 Subject: [PATCH 8/8] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/api.yaml b/api.yaml index 5247f28..701783c 100644 --- a/api.yaml +++ b/api.yaml @@ -77789,7 +77789,6 @@ x-tagGroups: - Client Settlements & Transfers - Enterprise - Enterprise Webhooks - - Entity Validation - Express - Federation - Fiat @@ -77800,7 +77799,6 @@ x-tagGroups: - Lightning - Margin - Market Data - - Material - Onboarding - Order Book - Orders