diff --git a/api.yaml b/api.yaml index c051288..701783c 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. @@ -4200,7 +4198,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/V1ListSettlementsOkPayload' + $ref: '#/components/schemas/V1ClientListSettlementsOkPayload' '400': description: Bad Request content: @@ -24457,13 +24455,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 @@ -24472,66 +24464,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: @@ -24576,7 +24519,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' @@ -24639,6 +24581,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' @@ -24827,6 +24771,8 @@ paths: $ref: '#/components/examples/TrxStakingRequestPOSTBodyExample' TrxUnStakingRequestPOSTBodyExample: $ref: '#/components/examples/TrxUnStakingRequestPOSTBodyExample' + VetUnStakingRequestPOSTBodyExample: + $ref: '#/components/examples/VetUnStakingRequestPOSTBodyExample' WctStakingRequestPOSTBodyExample: $ref: '#/components/examples/WctStakingRequestPOSTBodyExample' WctUnStakingRequestPOSTBodyExample: @@ -25008,66 +24954,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 @@ -25104,66 +25001,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: @@ -25233,66 +25081,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: @@ -25301,19 +25100,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 @@ -25326,6 +25114,8 @@ paths: $ref: '#/components/examples/AvaxPStakingRequestWithTransactionsExample' EthStakingRequestWithoutDelegationsExample: $ref: '#/components/examples/EthStakingRequestWithTransactionsExample' + EthPectraStakingRequestWithTransactionsExample: + $ref: '#/components/examples/EthPectraStakingRequestWithTransactionsExample' MaticStakingRequestWithoutDelegationsExample: $ref: '#/components/examples/MaticStakingRequestWithTransactionsExample' MaticUnStakingRequestWithoutDelegationsExample: @@ -25347,66 +25137,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 @@ -25416,12 +25157,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 @@ -25461,12 +25197,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' @@ -25481,66 +25212,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: @@ -25551,25 +25233,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 @@ -25577,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 @@ -25629,66 +25267,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 @@ -25698,18 +25287,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: @@ -25724,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 @@ -25755,66 +25327,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: @@ -25838,127 +25361,21 @@ 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': - 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: @@ -26041,66 +25458,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: @@ -26109,28 +25477,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. @@ -26145,66 +25494,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: @@ -26214,12 +25514,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 @@ -26228,72 +25523,20 @@ paths: schema: $ref: '#/components/schemas/StakingEnterprise' example: - enterpriseId: 1032e75c451052000436831deb797af1 - coin: eth - delegated: '6400000000000000000' - rewards: '1000000000000000' - apy: '8.2' + ethEnterprise: + $ref: '#/components/examples/EthStakingEnterpriseExample' '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: @@ -26303,12 +25546,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 @@ -26317,66 +25555,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: @@ -26454,6 +25643,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 @@ -26466,7 +25661,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 @@ -26484,66 +25692,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: @@ -26553,12 +25712,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. @@ -26590,66 +25744,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: @@ -26670,56 +25775,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: @@ -26743,6 +25809,9 @@ paths: - allOf: - title: DOT - $ref: '#/components/schemas/DotWalletStakingStateAttributes' + - allOf: + - title: VET + - $ref: '#/components/schemas/VetWalletStakingStateAttributes' - allOf: - title: General - $ref: '#/components/schemas/WalletStakingStateAttributes' @@ -26762,66 +25831,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: @@ -26861,15 +25881,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: @@ -26901,66 +25913,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: @@ -27021,56 +25984,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: @@ -27079,12 +26003,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 @@ -27096,56 +26015,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: @@ -27154,12 +26032,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 @@ -27186,55 +26059,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: @@ -27243,12 +26076,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 @@ -27265,66 +26093,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: @@ -27333,12 +26110,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 @@ -27351,6 +26123,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 @@ -31192,6 +29974,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 @@ -32210,7 +31000,6 @@ paths: - accessToken - accountCreated - contractSigned - - fundsDeposited - kycResult - policyBalanceChange - transaction_finality_on_l1 @@ -33780,6 +32569,338 @@ 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 + 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 @@ -34114,6 +33235,10 @@ paths: type: string format: date-time title: ISO Date String + - name: prevId + in: query + schema: + type: string - name: walletId in: path required: true @@ -34125,55 +33250,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: @@ -35625,12 +34702,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 @@ -36293,22 +35364,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: @@ -37145,42 +36280,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: @@ -37234,26 +36400,292 @@ 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: 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: '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' + 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: 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: '59711492000000000' + lockedRewards: '0' + pendingUnstake: '0' + pendingStake: '0' + reserved: '0' + pendingReserved: '0' + apy: '4.38' + unstakeable: true + permissionAttributes: + staking: + enabled: true + allowClientToUseOwnValidator: false + unstaking: + enabled: true + restaking: 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: ACTIVE + status: PENDING rewards: '0' lockedRewards: '0' pendingUnstake: '3200000000000000000' @@ -37267,60 +36699,108 @@ components: delegationAddress: 0x3b6406c9710f588ca733360bfa8033d0ef9ecre4 withdrawalAddress: '0x5a6406c9710f588ca733360bfa8033d0ef9ecd7c' delegated: '3200000000000000000' - status: ACTIVE + status: PENDING rewards: '0' lockedRewards: '0' - pendingUnstake: '0' + pendingUnstake: '3200000000000000000' pendingStake: '0' apy: '8.3' coin: eth walletId: 2032e75g451052000636831abd797bd3 - permissionAttributes: - staking: - enabled: false - disabledReason: 'Wallet 2032e75g451052000636831abd797bd3 has insufficient funds. Available: 0 eth. Minimum spendable required: 32 eth' - allowClientToUseOwnValidator: false - unstaking: - enabled: true unstakingFee: '1000000000000000' unstakingMin: '0' - - id: dca8af33-e882-455b-a0d6-fb93c8a17ca3 - delegationAddress: '0x3508a952176b3c15387c97be809eaffb1982176a' - withdrawalAddress: '0x05a252537385b7218902f9225b44bb266347ccdc' - provider: Lido - delegated: '501344121663000672' - status: ACTIVE - rewards: '0' - lockedRewards: '0' - pendingUnstake: '0' - pendingStake: '0' - apy: '8.3' - coin: hteth - walletId: 2702688762b9a7b5b27d4ca3a0c3d3c1 - 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 + 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' + 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: @@ -38642,38 +38122,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: @@ -39189,19 +38697,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 @@ -39311,12 +38837,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: @@ -39438,43 +38976,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: @@ -39543,7 +39163,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 @@ -39679,6 +39324,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: @@ -39736,13 +39500,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: @@ -39837,19 +39605,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 @@ -40272,6 +40058,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: @@ -40954,6 +40747,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 @@ -40980,6 +40780,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 @@ -41038,6 +40853,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 @@ -41220,6 +41043,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: @@ -41240,6 +41083,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: @@ -41260,6 +41123,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: @@ -41290,6 +41163,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 @@ -41653,6 +41536,14 @@ components: required: - 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: @@ -41661,6 +41552,19 @@ components: unspents: $ref: '#/components/schemas/optionalStringArray' - $ref: '#/components/schemas/AccountBaseConsolidateIntent' + AdaDelegationProperties: + title: ADA Delegation Properties + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + required: + - rewardAddress + properties: + rewardAddress: + type: string + dRepId: + type: string + nullable: true AdaPaymentIntent: title: ADA Payment Intent allOf: @@ -41711,20 +41615,10 @@ components: required: - poolKeyHash AdaStakingDelegation: - title: ADA + title: ADA Staking Delegation 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: @@ -41755,23 +41649,34 @@ components: isVoteDelegationRequest: description: Whether this is a vote delegation request. type: boolean + AdaStakingRequestEntityProperties: + title: ADA staking request entity properties + 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 @@ -41781,29 +41686,19 @@ components: isVoteDelegationRequest: description: Whether this is a vote delegation request. type: boolean - required: - - amount - - type + AdaStakingTransactionProperties: + title: ADA Staking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + delegatedRepId: + type: string 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: @@ -41824,6 +41719,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: @@ -42891,10 +42790,6 @@ components: type: integer minimum: 1 example: 1 - AsiStakingDelegation: - allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object AsiStakingRequest: title: ASI allOf: @@ -42906,13 +42801,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 @@ -42921,22 +42816,11 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - AsiStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object 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 @@ -43141,25 +43025,58 @@ components: required: - rootAddress - memoId + AtomClaimRewardsRequestEntityProperties: + title: ATOM claim rewards request entity properties + 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' + 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 + 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: @@ -43198,8 +43115,9 @@ components: - amount - $ref: '#/components/schemas/StakeIntent' AtomStakingDelegation: + title: ATOM Staking Delegation allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object AtomStakingRequest: title: ATOM @@ -43218,54 +43136,55 @@ 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: + validator: + type: string + nullable: true + delegationRequests: + type: array + items: + $ref: '#/components/schemas/DelegationRequest' + nullable: true AtomStakingRequestPOSTBody: title: ATOM stake 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 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: @@ -43293,6 +43212,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 @@ -43372,6 +43303,27 @@ components: enum: - bg23 - '' + AvaxCDelegationProperties: + title: AVAXC Delegation Properties + 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: @@ -43383,13 +43335,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 @@ -43406,14 +43358,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 @@ -43422,21 +43366,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 @@ -43450,10 +43385,89 @@ components: required: - threshold - addresses + AvaxPDelegationProperties: + title: AVAXP Delegation Properties + 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: + title: AVAXP Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' + - 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' + 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: @@ -43471,39 +43485,51 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/AvaxPStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string durationSeconds: 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: + 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: - - $ref: '#/components/schemas/StakingTransaction' - type: object AvaxPWallet: title: AvaxP Wallet type: object @@ -43517,14 +43543,87 @@ components: required: - unlockAddresses - threshold - AvaxcStakingDelegation: + AvaxcStakingRequestEntityProperties: + title: AVAX C-chain staking request entity properties allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object - AvaxcStakingTransaction: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + stakingType: + type: string + enum: + - STAVAX_STAKE + - PSTAVAX_STAKE + 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 + properties: + stakingType: + type: string + 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: @@ -43580,10 +43679,6 @@ components: - intentType - createBtcDelegationBytes - $ref: '#/components/schemas/BaseStakeIntent' - BabyStakingDelegation: - allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object BabyStakingRequest: title: BABY allOf: @@ -43595,13 +43690,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 @@ -43610,22 +43705,11 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - BabyStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object 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: @@ -43641,6 +43725,41 @@ 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: + 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: @@ -44096,6 +44215,56 @@ components: - customers_cubix_api - customers_sftp - lead + BaseDelegation: + title: Base Delegation + 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. @@ -44694,6 +44863,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 @@ -44769,21 +44990,50 @@ components: required: - intentType - $ref: '#/components/schemas/BaseStakeIntent' + BeraDelegationProperties: + title: BERA Delegation Properties + 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 + title: BERA Staking Delegation 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: @@ -44817,26 +45067,35 @@ components: operator: description: The operator address. type: string + BeraStakingRequestEntityProperties: + title: Bera staking request entity properties + 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 @@ -44853,29 +45112,85 @@ components: depositSignature: description: The deposit signature. type: string - required: - - amount - - type - BeraUnStakingRequestPOSTBody: - title: BERA unstake + BeraStakingTransactionProperties: + title: BERA Staking Transaction Properties allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $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: - description: Staking Request type = 'UNSTAKE'. type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. + enum: + - BERA + principal: type: string - amount: - description: Amount to unstake in base units. + format: bigInteger + liquidStakingBalance: type: string - example: '1000000000000000000' + format: bigInteger + nativeStakingBalance: + type: string + format: bigInteger + walletMultisigType: + type: string + enum: + - TSS required: - type - - delegationId + - 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 + properties: + delegationId: + type: string + 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: @@ -44946,25 +45261,8 @@ 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. - BldStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' BldStakingRequest: title: BLD allOf: @@ -44976,13 +45274,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 @@ -44991,45 +45289,17 @@ 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 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 @@ -45097,10 +45367,19 @@ components: - validatorAddress - amount - $ref: '#/components/schemas/BaseStakeIntent' - BscStakingDelegation: + BscDelegationProperties: + title: BSC Delegation Properties allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $ref: '#/components/schemas/DelegationProperties' + - type: object + required: + - validatorAddress + properties: + validatorAddress: + type: string + activeRewards: + type: string + format: bigInteger BscStakingRequest: title: BSC allOf: @@ -45112,25 +45391,33 @@ 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: + validatorAddress: + type: string + nullable: true BscStakingRequestPOSTBody: title: BSC stake 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: @@ -45154,15 +45441,12 @@ 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 + BscUnstakingTransactionProperties: + title: BSC Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/ByovStakingTransactionProperties' BscWithdrawUndelegateIntent: title: BSC Withdraw Intent allOf: @@ -45176,11 +45460,177 @@ 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 + - rewardAddress + properties: + duration: + type: integer + rewardAddress: + type: string + 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 + properties: + delegationId: + type: string + 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: + 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: + title: BTC CoreDAO Delegation Properties + type: object + required: + - expireAt + - rewardAddress + properties: + expireAt: + type: string + format: date-time + rewardAddress: + type: string + 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 + 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 + title: BTC Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' + - 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 + 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: @@ -45202,23 +45652,29 @@ components: amount: description: Amount to stake in base units. type: string + BtcStakingRequestEntityProperties: + title: BTC staking request entity properties + 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: @@ -45243,25 +45699,50 @@ components: description: The address where rewards will be sent. type: string example: '0x1234567890abcdef1234567890abcdef12345678' - required: - - amount - - type + 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 - 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 + BtcUnstakingTransactionProperties: + title: BTC Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + amount: + type: string + validatorAddress: + type: string BuildParams: type: object properties: @@ -45850,6 +46331,23 @@ components: - bitgoAsAService - cryptoAsAServiceParent - cryptoAsAServiceChild + ByovDelegationProperties: + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + required: + - validatorAddress + 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 @@ -46153,6 +46651,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' @@ -46859,6 +47375,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: @@ -46877,10 +47408,52 @@ components: - validatorAddress - amount - $ref: '#/components/schemas/BaseStakeIntentWithCalldata' - CoredaoStakingDelegation: + CoredaoClaimRewardsRequestEntityProperties: + title: Coredao claim rewards request entity properties allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $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. + 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' + CoredaoStakingParms: + title: Coredao staking parameters 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: @@ -46895,65 +47468,50 @@ 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 + 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' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string 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: + title: Coredao unstaking request entity properties + 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. - CoreumStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' CoreumStakingRequest: title: COREUM allOf: @@ -46965,13 +47523,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 @@ -46980,45 +47538,17 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - CoreumStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object CoreumSwitchValidatorsRequestPOSTBody: 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: @@ -47039,8 +47569,56 @@ components: - intentType - contract - msgHex + CosmosLikeClaimRewardsRequestEntityProperties: + title: Cosmos-like claim rewards request entity properties + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' + properties: + validatorAddress: + 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 + 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 + title: Cosmos-like Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' type: object @@ -47061,26 +47639,57 @@ components: minItems: 1 maxItems: 500 items: - $ref: '#/components/schemas/CosmosLikeStakingTransaction' + $ref: '#/components/schemas/BaseStakingTransaction' amount: description: Amount to stake in base units. type: string - CosmosLikeStakingRequestPOSTBody: - title: ATOM-like stake + CosmosLikeStakingRequestEntityProperties: + title: Cosmos-like staking request entity properties 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 - CosmosLikeStakingTransaction: + nullable: true + delegationRequests: + type: array + items: + $ref: '#/components/schemas/DelegationRequest' + nullable: true + 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: @@ -47096,6 +47705,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: @@ -47770,25 +48391,8 @@ 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. - CronosStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' CronosStakingRequest: title: CRONOS allOf: @@ -47800,13 +48404,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 @@ -47815,49 +48419,38 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - CronosStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object CronosSwitchValidatorsRequestPOSTBody: 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 + CsprDelegationProperties: + title: CSPR Delegation Properties + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + properties: + validatorAddress: + type: string + CsprStakingOptions: type: object + description: CSPR staking options properties: amount: - description: Amount to unstake in base units. type: string - example: '10000000000' + description: Amount to stake (base units) + validator: + type: string + description: Validator identifier for CSPR required: - amount - CsprStakingDelegation: - allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - validator CsprStakingRequest: title: CSPR allOf: @@ -47869,37 +48462,46 @@ 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: + validator: + type: string + nullable: true CsprStakingRequestPOSTBody: title: CSPR stake 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/UnStakingRequestPOSTBody' + - $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount' type: object - properties: - amount: - description: Amount to unstake in base units. - type: string - example: '10000000000' - required: - - amount + CsprUnstakingTransactionProperties: + title: CSPR Unstaking Transaction Properties + allOf: + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + csprUnboundEraId: + type: string Currencies: type: array items: @@ -48108,6 +48710,93 @@ 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: + 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: @@ -48117,45 +48806,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. @@ -48314,35 +48980,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 @@ -48370,6 +49007,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 +49026,8 @@ components: - closedBy - userId - notes + - status + - adjustedTransfers DisputeClosureOutput: title: DisputeClosureOutput type: object @@ -48949,6 +49600,16 @@ components: - proxyType - $ref: '#/components/schemas/AccountBaseCreateAccountIntent' - $ref: '#/components/schemas/DotAccountBaseBuildOptions' + DotDelegationProperties: + title: DOT Delegation Properties + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + proxyAddress: + type: string + nominateProxyAddress: + type: boolean DotPaymentIntent: title: DOT Payment Intent allOf: @@ -48990,9 +49651,9 @@ components: amountString: $ref: '#/components/schemas/optionalString' DotStakingDelegation: - title: DOT + title: DOT Staking Delegation allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object DotStakingIntent: title: DOT Staking Intent @@ -49029,43 +49690,42 @@ 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 + 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: + 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: - - $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: @@ -49082,6 +49742,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 @@ -49202,10 +49872,83 @@ components: $ref: '#/components/schemas/ChallengePartyConfig' required: - challenge - EigenStakingDelegation: + EigenLikeClaimRewardsRequestEntityProperties: + title: Eigen-like claim rewards request entity properties allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $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 + properties: + validatorAddress: + type: string + EigenLikeStakingRequestEntityProperties: + title: Eigen-like staking request entity properties + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + properties: + validatorAddress: + type: string + required: + - validatorAddress + EigenLikeStakingTransactionProperties: + title: Eigen-like Staking Transaction Properties + allOf: + - $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: @@ -49220,42 +49963,26 @@ 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 EigenStakingRequestPOSTBody: title: EIGEN stake 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. - EigenStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string 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: @@ -50083,6 +50810,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: @@ -50133,6 +50868,59 @@ components: senderAddressIndex: $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 + properties: + gasPrice: + allOf: + - $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: @@ -50212,6 +51000,20 @@ components: required: - intentType - $ref: '#/components/schemas/BaseStakeIntent' + EthP2POrgStakingRequestEntityProperties: + title: Ethereum P2P staking request entity properties + 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: @@ -50223,10 +51025,18 @@ 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/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object properties: properties: @@ -50286,15 +51096,65 @@ 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: + title: Ethereum staking request entity properties + 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 @@ -50314,12 +51174,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: @@ -50343,6 +51217,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: @@ -50353,20 +51250,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: @@ -50384,6 +51269,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 @@ -50540,6 +51451,11 @@ components: description: The commitment share. required: - commitmentShare + ExpectedTransfers: + title: ExpectedTransfers + type: object + additionalProperties: + type: string ExpectedTransfersOutput: title: ExpectedTransfersOutput type: object @@ -53281,6 +54197,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 @@ -53433,10 +54408,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/StakingDelegation' - type: object HashStakingRequest: title: HASH allOf: @@ -53448,13 +54419,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 @@ -53463,22 +54434,11 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - HashStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object 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 @@ -53615,6 +54575,25 @@ components: type: string 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 + properties: + 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: @@ -54100,25 +55079,8 @@ 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. - InjectiveStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' InjectiveStakingRequest: title: INJECTIVE allOf: @@ -54130,13 +55092,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 @@ -54145,45 +55107,17 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - InjectiveStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object InjectiveSwitchValidatorsRequestPOSTBody: 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 @@ -56425,15 +57359,38 @@ components: - createdAt - updatedAt - settlementStatus + MaticLikeDelegationProperties: + title: MATIC-like Delegation Properties + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + stakingDestination: + type: string + MaticLikeStakingRequestEntityProperties: + title: Matic-like staking request entity properties + allOf: + - $ref: '#/components/schemas/EthCommonStakingRequestEntityProperties' + - type: object + properties: + 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/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object - properties: - unstakeable: - description: True if unable to unstake. - type: boolean MaticStakingRequest: title: MATIC allOf: @@ -56454,36 +57411,20 @@ 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 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' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string 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: @@ -56744,6 +57685,14 @@ components: - first - full - last + NearDelegationProperties: + title: NEAR Delegation Properties + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + stakingDestination: + type: string NearStakeIntent: title: Near Stake Intent allOf: @@ -56779,9 +57728,9 @@ components: required: - recipients NearStakingDelegation: - title: NEAR + title: NEAR Staking Delegation allOf: - - $ref: '#/components/schemas/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object NearStakingRequest: title: NEAR @@ -56800,41 +57749,29 @@ 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 + 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' - type: object 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: @@ -58218,25 +59155,8 @@ 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. - OsmoStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' OsmoStakingRequest: title: OSMO allOf: @@ -58248,13 +59168,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 @@ -58263,45 +59183,17 @@ 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 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' @@ -60717,10 +61609,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/StakingDelegation' - type: object PolStakingRequest: title: POL allOf: @@ -60735,42 +61623,26 @@ 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 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' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string 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 @@ -61292,6 +62164,11 @@ components: - amount - $ref: '#/components/schemas/AccountBaseCreateAccountIntent' - $ref: '#/components/schemas/SubstrateAccountBaseBuildOptions' + PolyxDelegationProperties: + title: POLYX Delegation Properties + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object PolyxStakeIntent: title: POLYX Stake Intent allOf: @@ -61306,10 +62183,6 @@ components: required: - intentType - $ref: '#/components/schemas/PolyxBaseIntent' - PolyxStakingDelegation: - allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object PolyxStakingRequest: title: POLYX allOf: @@ -61321,37 +62194,47 @@ 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 + properties: + validatorAddress: + type: string + description: Validator address. + required: + - validatorAddress PolyxStakingRequestPOSTBody: title: POLYX stake 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: - - $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: @@ -61366,6 +62249,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: @@ -61678,6 +62573,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 @@ -62318,10 +63225,6 @@ components: description: Commission percentage charged by the operator. type: string format: decimal - RethRocketStakingDelegation: - allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object RethRocketStakingRequest: title: RETH-ROCKET allOf: @@ -62336,42 +63239,26 @@ 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 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' - type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string 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: @@ -62581,25 +63468,8 @@ 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. - SeiStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' SeiStakingRequest: title: SEI allOf: @@ -62611,13 +63481,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 @@ -62626,45 +63496,17 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - SeiStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object SeiSwitchValidatorsRequestPOSTBody: 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: @@ -63647,21 +64489,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: @@ -63775,6 +64604,35 @@ components: - stakingAddress - $ref: '#/components/schemas/BaseIntent' - $ref: '#/components/schemas/SolBuildOptions' + SolDelegationProperties: + title: SOL Delegation Properties + 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: @@ -63782,6 +64640,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: @@ -63828,24 +64694,24 @@ components: - $ref: '#/components/schemas/StakeIntent1' - $ref: '#/components/schemas/SolBuildOptions' SolStakingDelegation: - title: SOL + title: SOL Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' 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: @@ -63863,45 +64729,54 @@ 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 + 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 - SolStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object + enum: + - SOL_STAKE + - MARINADE + - MARINADE_SELECT + default: SOL_STAKE SolUnStakingRequestPOSTBody: title: SOL 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 + 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: @@ -64025,21 +64900,19 @@ 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: + title: SOMI Delegation Properties + allOf: + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + validator: + type: string + amount: + type: string + format: bigInteger SomiStakingRequest: title: SOMI allOf: @@ -64066,72 +64939,54 @@ components: type: string required: - validatorAddress + SomiStakingRequestEntityProperties: + title: SOMI staking request entity properties + 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 + 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: @@ -64225,6 +65080,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: @@ -64264,7 +65130,7 @@ components: comingSoon: type: boolean disclaimer: - $ref: '#/components/schemas/DisclaimerAttributes' + $ref: '#/components/schemas/StakingDisclaimerAttributes' StakeableCoinsResult: title: Stakeable coins type: object @@ -64408,7 +65274,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 @@ -64509,6 +65375,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: @@ -64657,17 +65574,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 @@ -64677,17 +65600,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 @@ -64700,23 +65693,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' @@ -64792,6 +65881,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: @@ -64841,6 +65938,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 @@ -65058,6 +66171,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' @@ -65077,6 +66193,8 @@ components: coin: description: The coin associated with this staking transaction. type: string + buildParams: + $ref: '#/components/schemas/TransactionBuildParams' required: - stakingRequestId - transactionType @@ -65085,6 +66203,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: @@ -65247,6 +66502,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 @@ -65270,6 +66526,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 @@ -65287,7 +66544,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 @@ -65317,8 +66575,7 @@ components: format: date-time nullable: true properties: - description: Additional properties of the staking wallet. - type: object + $ref: '#/components/schemas/StakingWalletEntityProperties' required: - enterpriseId - walletId @@ -65333,6 +66590,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: @@ -65439,10 +66704,47 @@ components: - pendingChainInitialization - creationFailure - lastMemoId + StxDelegationProperties: + title: STX Delegation Properties + 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 + 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/StakingDelegation' + - $ref: '#/components/schemas/BaseDelegation' type: object properties: subType: @@ -65453,6 +66755,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: @@ -65482,25 +66803,57 @@ components: duration: description: The staking duration in blocks. type: string + StxStakingRequestEntityProperties: + title: STX staking request entity properties + 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. @@ -65528,25 +66881,51 @@ components: description: The name of the staking contract. type: string default: pox-4 - required: - - amount - - type + 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 - 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 + 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: @@ -65611,21 +66990,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: @@ -65649,6 +67015,21 @@ components: - rawTx - $ref: '#/components/schemas/BaseIntent' - $ref: '#/components/schemas/SuiBuildOptions' + SuiDelegationProperties: + title: SUI Delegation Properties + 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 @@ -65664,6 +67045,19 @@ components: properties: {} - $ref: '#/components/schemas/GoUnstakeIntent' - $ref: '#/components/schemas/SuiBuildOptions' + SuiLikeStakingRequestEntityProperties: + title: Sui-like staking request entity properties + 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: @@ -65672,21 +67066,21 @@ components: - $ref: '#/components/schemas/PaymentIntent' - $ref: '#/components/schemas/SuiBuildOptions' SuiStakingDelegation: - title: SUI + title: SUI Staking Delegation allOf: - $ref: '#/components/schemas/StakingDelegation' 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: @@ -65736,7 +67130,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 @@ -65745,22 +67139,43 @@ 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: + validator: + type: string + nullable: true + delegationId: + type: string + nullable: true + 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: - - $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: @@ -65781,10 +67196,14 @@ components: required: - stakedSuiObjectId - $ref: '#/components/schemas/WithdrawIntent' - SuiWalStakingDelegation: + SuiUnstakingTransactionProperties: + title: SUI Unstaking Transaction Properties allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $ref: '#/components/schemas/StakingTransactionProperties' + - type: object + properties: + stakedSuiObjectId: + type: string SuiWalStakingRequest: title: SUIWAL allOf: @@ -65796,13 +67215,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 @@ -65811,22 +67230,11 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - SuiWalStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object 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 @@ -65858,6 +67266,20 @@ components: - $ref: '#/components/schemas/BasePermissionAttributes' type: object description: Permission attributes specific to switching validators. + SwitchValidatorRequestEntityProperties: + title: Switch validator staking request entity properties + 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' @@ -65891,6 +67313,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: @@ -65911,6 +67355,18 @@ components: - narrow - standard - wide + TaoDelegationProperties: + title: TAO Delegation Properties + allOf: + - $ref: '#/components/schemas/ByovDelegationProperties' + - type: object + properties: + validatorAddress: + type: string + netUID: + type: string + format: bigInteger + nullable: true TaoStakeIntent: title: Tao Stake Intent allOf: @@ -65936,10 +67392,6 @@ components: - netuid - $ref: '#/components/schemas/BaseStakeIntent' - $ref: '#/components/schemas/SubstrateAccountBaseBuildOptions' - TaoStakingDelegation: - allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object TaoStakingRequest: title: TAO allOf: @@ -65951,45 +67403,80 @@ 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 + 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 - TaoStakingTransaction: + netUID: + description: The net UID for the staking request (0-128) + type: integer + minimum: 0 + maximum: 128 + nullable: true + 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 + properties: + 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: - $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: @@ -66078,25 +67565,8 @@ 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. - TiaStakingDelegation: allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $ref: '#/components/schemas/ClaimRewardsRequestPOSTBody' TiaStakingRequest: title: TIA allOf: @@ -66108,13 +67578,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 @@ -66123,45 +67593,17 @@ 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 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. @@ -66358,6 +67800,22 @@ components: - amount - useSingleNominator - $ref: '#/components/schemas/BaseIntent' + TonDelegationProperties: + title: TON Delegation Properties + 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: @@ -66367,16 +67825,21 @@ components: $ref: '#/components/schemas/optionalString' - $ref: '#/components/schemas/PaymentIntent' TonStakingDelegation: - title: TON + title: TON Staking Delegation allOf: - $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: @@ -66404,52 +67867,53 @@ components: enum: - MULTI_NOMINATOR_STAKE - SINGLE_NOMINATOR_STAKE + TonStakingRequestEntityProperties: + title: TON staking request entity properties + 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 + 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: - $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: @@ -66471,6 +67935,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 @@ -66835,40 +68316,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: @@ -68383,6 +69868,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 @@ -68954,10 +70446,27 @@ components: allOf: - $ref: '#/components/schemas/IntegerString' description: String representation of the amount to limit in base units (stroops) - TrxStakingDelegation: + TrxClaimRewardsRequestEntityProperties: + title: TRX claim rewards request entity properties allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object + - $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 + properties: + validatorAddress: + type: string + resource: + type: string + enum: + - ENERGY + - BANDWIDTH TrxStakingRequest: title: TRX allOf: @@ -68969,7 +70478,7 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/TrxStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 @@ -68986,6 +70495,31 @@ 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: + title: TRX staking request entity properties + 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: @@ -69010,21 +70544,22 @@ components: required: - subType TrxStakingTransaction: + title: TRX Staking Transaction 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 @@ -69126,14 +70661,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' @@ -69162,6 +70720,25 @@ components: description: Supported unstaking sub-types with their own spendable attributes. 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 @@ -69378,6 +70955,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' @@ -69389,15 +70984,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' @@ -69427,23 +71022,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 @@ -69466,15 +71061,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 @@ -70605,6 +72200,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 +73610,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 +73626,7 @@ components: - clientId - broker - active + - allocationPoliciesEnabled V1PartnersPostOkPayload: title: V1PartnersPostOkPayload type: object @@ -72817,6 +74434,38 @@ components: required: - webhookId - isValid + VetDelegationProperties: + title: VET Delegation Properties + 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: @@ -72833,6 +74482,41 @@ components: - amount - stakingContractAddress - $ref: '#/components/schemas/StakeIntent' + VetStakingRequestPOSTBody: + title: VET stake + 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: + - $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: @@ -72860,6 +74544,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: @@ -73116,6 +74807,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 @@ -73626,6 +75318,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 @@ -74003,6 +75708,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 @@ -74649,6 +76355,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 @@ -74689,7 +76408,6 @@ components: - circuitBreaker - lowFeeAddressBalance - transaction_finality_on_l1 - - fundsDeposited WalletsResponse: type: object properties: @@ -74760,17 +76478,70 @@ components: required: - 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 + properties: + unlockTime: + type: string + format: bigInteger + nullable: true + activeRewards: + type: string + format: bigInteger WctStakingDelegation: - title: WCT + title: WCT Staking Delegation 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: @@ -74797,55 +76568,76 @@ components: type: string enum: - WCT_STAKE + WctStakingRequestEntityProperties: + title: WCT staking request entity properties + 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 + WctStakingTransactionProperties: + title: WCT Staking Transaction Properties allOf: - - $ref: '#/components/schemas/UnStakingRequestPOSTBody' + - $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: - description: Staking Request type = 'UNSTAKE'. type: string - example: UNSTAKE - delegationId: - description: The delegation ID representing the delegation to unstake. + enum: + - WCT + currentStakingDuration: type: string - amount: - description: Amount to unstake in base units. + format: bigInteger + nullable: true + walletMultisigType: type: string - example: '1000000000000000000' + enum: + - TSS required: - type - - delegationId + - 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: oneOf: - $ref: '#/components/schemas/OrderBooksRequest' @@ -75152,7 +76944,6 @@ components: - accessToken - accountCreated - contractSigned - - fundsDeposited - kycResult - policyBalanceChange - transaction_finality_on_l1 @@ -75181,10 +76972,6 @@ components: - lowFeeAddressBalance example: transfer description: Event type to listen to. - WethStakingDelegation: - allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object WethStakingRequest: title: WETH allOf: @@ -75199,42 +76986,30 @@ 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 WethStakingRequestPOSTBody: title: WETH stake 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. - WethStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' + - $ref: '#/components/schemas/StakingRequestWithGasPOSTBody' type: object - properties: - gasPrice: - description: The gas limit in base units. - type: string 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: + title: WFLR claim rewards request entity properties + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' WflrClaimRewardsRequestPOSTBody: title: Wrapped FLR (WFLR) Claim Rewards Request type: object @@ -75257,17 +77032,20 @@ components: gasPrice: type: string description: Optional gas price override. - WflrStakingDelegation: - title: WFLR + WflrDelegationProperties: + title: WFLR Delegation Properties allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object - properties: - subType: - description: The staking type. - type: string - enum: - - WFLR_STAKE + - $ref: '#/components/schemas/DelegationProperties' + - type: object + properties: + validator: + type: string + basisPoints: + type: string + format: bigInteger + activeRewards: + type: string + format: bigInteger WflrStakingRequest: title: WFLR allOf: @@ -75279,7 +77057,7 @@ components: minItems: 1 maxItems: 1 items: - $ref: '#/components/schemas/WflrStakingDelegation' + $ref: '#/components/schemas/BaseDelegation' transactions: type: array minItems: 1 @@ -75294,6 +77072,21 @@ components: type: string enum: - WFLR_STAKE + WflrStakingRequestEntityProperties: + title: WFLR staking request entity properties + 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: @@ -75304,10 +77097,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 @@ -75322,20 +77111,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 @@ -75343,9 +77124,10 @@ 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: + title: WFLR unstaking request entity properties + allOf: + - $ref: '#/components/schemas/StakingRequestEntityProperties' WhitelistedAddressValue: title: Whitelisted type: object @@ -75733,6 +77515,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 @@ -75858,10 +77657,6 @@ components: source: type: string example: GBSGOXQNPULNPBX7XTHXP2GDBOZMHPIZOOA7CQXYTLHYKF5J2JDCF7LT - ZetaStakingDelegation: - allOf: - - $ref: '#/components/schemas/StakingDelegation' - type: object ZetaStakingRequest: title: ZETA allOf: @@ -75873,13 +77668,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 @@ -75888,22 +77683,11 @@ components: allOf: - $ref: '#/components/schemas/StakingRequestPOSTBody' type: object - ZetaStakingTransaction: - allOf: - - $ref: '#/components/schemas/StakingTransaction' - type: object 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 @@ -76005,7 +77789,6 @@ x-tagGroups: - Client Settlements & Transfers - Enterprise - Enterprise Webhooks - - Entity Validation - Express - Federation - Fiat @@ -76016,7 +77799,6 @@ x-tagGroups: - Lightning - Margin - Market Data - - Material - Onboarding - Order Book - Orders