@northstake/northstakeapi 1.0.38 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +66 -21
- package/.openapi-generator/VERSION +1 -1
- package/api/accountApi.ts +1 -1
- package/api/accountApiKeysApi.ts +1 -1
- package/api/apis.ts +11 -11
- package/api/{validatorMarketplaceSellersApi.ts → lidoReadApi.ts} +105 -91
- package/api/{smartContractsApi.ts → lidoRewardsApi.ts} +106 -88
- package/api/lidoStakingVaultsApi.ts +536 -0
- package/api/lidoWriteApi.ts +2473 -0
- package/api/linkedWalletsApi.ts +93 -1
- package/api/{validatorMarketplaceBuyersApi.ts → organizationApi.ts} +140 -62
- package/api/validatorsApi.ts +27 -110
- package/api.ts +81 -36
- package/dist/api/accountApi.d.ts +1 -1
- package/dist/api/accountApi.js +1 -1
- package/dist/api/accountApiKeysApi.d.ts +1 -1
- package/dist/api/accountApiKeysApi.js +1 -1
- package/dist/api/apis.d.ts +11 -11
- package/dist/api/apis.js +11 -11
- package/dist/api/lidoReadApi.d.ts +138 -0
- package/dist/api/{validatorMarketplaceSellersApi.js → lidoReadApi.js} +82 -82
- package/dist/api/lidoRewardsApi.d.ts +135 -0
- package/dist/api/{smartContractsApi.js → lidoRewardsApi.js} +83 -71
- package/dist/api/lidoStakingVaultsApi.d.ts +108 -0
- package/dist/api/{validatorMarketplaceFacilitatorApi.js → lidoStakingVaultsApi.js} +174 -40
- package/dist/api/lidoWriteApi.d.ts +404 -0
- package/dist/api/lidoWriteApi.js +1931 -0
- package/dist/api/linkedWalletsApi.d.ts +16 -1
- package/dist/api/linkedWalletsApi.js +73 -1
- package/dist/api/organizationApi.d.ts +107 -0
- package/dist/api/{validatorMarketplaceBuyersApi.js → organizationApi.js} +115 -57
- package/dist/api/validatorsApi.d.ts +11 -26
- package/dist/api/validatorsApi.js +25 -87
- package/dist/api.d.ts +71 -26
- package/dist/api.js +76 -31
- package/dist/model/acceptedQuote.d.ts +1 -1
- package/dist/model/acceptedQuote.js +1 -1
- package/dist/model/accountEntity.d.ts +11 -3
- package/dist/model/accountEntity.js +6 -6
- package/dist/model/addLinkedWalletRequest.d.ts +1 -1
- package/dist/model/addLinkedWalletRequest.js +1 -1
- package/dist/model/apiKey.d.ts +4 -4
- package/dist/model/apiKey.js +7 -7
- package/dist/model/approveStETH.d.ts +32 -0
- package/dist/model/approveStETH.js +33 -0
- package/dist/model/approveWstETH.d.ts +36 -0
- package/dist/model/approveWstETH.js +38 -0
- package/dist/model/asset.d.ts +1 -1
- package/dist/model/asset.js +1 -1
- package/dist/model/burnShares.d.ts +32 -0
- package/dist/model/burnShares.js +33 -0
- package/dist/model/burnStETH.d.ts +32 -0
- package/dist/model/burnStETH.js +33 -0
- package/dist/model/burnWstETH.d.ts +32 -0
- package/dist/model/burnWstETH.js +33 -0
- package/dist/model/collectERC20FromVault.d.ts +40 -0
- package/dist/model/collectERC20FromVault.js +43 -0
- package/dist/model/consolidateValidators.d.ts +36 -0
- package/dist/model/consolidateValidators.js +38 -0
- package/dist/model/consolidateValidatorsErrorResponse.d.ts +32 -0
- package/dist/model/consolidateValidatorsErrorResponse.js +33 -0
- package/dist/model/consolidateValidatorsResponse.d.ts +29 -0
- package/dist/model/consolidateValidatorsResponse.js +28 -0
- package/dist/model/createLidoStakingContractsRequest.d.ts +35 -0
- package/dist/model/createLidoStakingContractsRequest.js +36 -0
- package/dist/model/createVaultRequest.d.ts +39 -0
- package/dist/model/createVaultRequest.js +41 -0
- package/dist/model/dailyRewardSummaryStats.d.ts +55 -0
- package/dist/model/dailyRewardSummaryStats.js +61 -0
- package/dist/model/errorResponse.d.ts +1 -1
- package/dist/model/errorResponse.js +1 -1
- package/dist/model/errorWithTransactionResponse.d.ts +30 -0
- package/dist/model/errorWithTransactionResponse.js +36 -0
- package/dist/model/escrowPayment.d.ts +1 -1
- package/dist/model/escrowPayment.js +1 -1
- package/dist/model/escrowReleased.d.ts +1 -1
- package/dist/model/escrowReleased.js +1 -1
- package/dist/model/ethereumValidatorKey.d.ts +1 -1
- package/dist/model/ethereumValidatorKey.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystore.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystore.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCrypto.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCrypto.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoChecksum.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoChecksum.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipherParams.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipherParams.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdf.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdf.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdfParams.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdfParams.js +1 -1
- package/dist/model/exitEstimateBase.d.ts +1 -1
- package/dist/model/exitEstimateBase.js +1 -1
- package/dist/model/exitEstimateSeller.d.ts +1 -1
- package/dist/model/exitEstimateSeller.js +1 -1
- package/dist/model/exitProposal.d.ts +1 -1
- package/dist/model/exitProposal.js +1 -1
- package/dist/model/fundVault.d.ts +32 -0
- package/dist/model/fundVault.js +33 -0
- package/dist/model/generateApiKeyRequest.d.ts +1 -1
- package/dist/model/generateApiKeyRequest.js +1 -1
- package/dist/model/getLazyOracleReportCallData200Response.d.ts +28 -0
- package/dist/model/getLazyOracleReportCallData200Response.js +38 -0
- package/dist/model/getLazyOracleReportCallData200ResponseDestructuredCalldata.d.ts +31 -0
- package/dist/model/getLazyOracleReportCallData200ResponseDestructuredCalldata.js +58 -0
- package/dist/model/getLazyOracleReportData200Response.d.ts +27 -0
- package/dist/model/getLazyOracleReportData200Response.js +33 -0
- package/dist/model/getLazyOracleReportData200ResponseReportData.d.ts +27 -0
- package/dist/model/getLazyOracleReportData200ResponseReportData.js +38 -0
- package/dist/model/{getSmartContractTransactions200Response.d.ts → getLidoTransactions200Response.d.ts} +2 -2
- package/dist/model/{getSmartContractTransactions200Response.js → getLidoTransactions200Response.js} +7 -7
- package/dist/model/getQuarantineInfo200Response.d.ts +29 -0
- package/dist/model/getQuarantineInfo200Response.js +48 -0
- package/dist/model/{getMarketplaceMetadata200Response.d.ts → getStETHPerWstETHRate200Response.d.ts} +4 -12
- package/dist/model/getStETHPerWstETHRate200Response.js +28 -0
- package/dist/model/getWithdrawalsResponse.d.ts +1 -1
- package/dist/model/getWithdrawalsResponse.js +1 -1
- package/dist/model/grantRole.d.ts +36 -0
- package/dist/model/grantRole.js +38 -0
- package/dist/model/internalTransaction.d.ts +1 -1
- package/dist/model/internalTransaction.js +1 -1
- package/dist/model/inviteMemberRequest.d.ts +41 -0
- package/dist/model/inviteMemberRequest.js +36 -0
- package/dist/model/lidoContracts.d.ts +39 -0
- package/dist/model/lidoContracts.js +46 -0
- package/dist/model/{minedBlock.d.ts → lidoContractsDashboard.d.ts} +3 -10
- package/dist/model/lidoContractsDashboard.js +28 -0
- package/dist/model/{smartContract.d.ts → lidoContractsStakingVault.d.ts} +5 -13
- package/dist/model/lidoContractsStakingVault.js +28 -0
- package/dist/model/lidoStakingContracts.d.ts +33 -0
- package/dist/model/lidoStakingContracts.js +36 -0
- package/dist/model/lidoStakingContractsWithData.d.ts +39 -0
- package/dist/model/lidoStakingContractsWithData.js +46 -0
- package/dist/model/lidoStakingContractsWithDataVaultData.d.ts +112 -0
- package/dist/model/lidoStakingContractsWithDataVaultData.js +133 -0
- package/dist/model/mintShares.d.ts +36 -0
- package/dist/model/mintShares.js +38 -0
- package/dist/model/mintStETH.d.ts +36 -0
- package/dist/model/mintStETH.js +38 -0
- package/dist/model/mintWstETH.d.ts +36 -0
- package/dist/model/mintWstETH.js +38 -0
- package/dist/model/models.d.ts +61 -16
- package/dist/model/models.js +185 -48
- package/dist/model/organizationMember.d.ts +53 -0
- package/dist/model/organizationMember.js +51 -0
- package/dist/model/organizationNameResponse.d.ts +31 -0
- package/dist/model/organizationNameResponse.js +31 -0
- package/dist/model/partialTransaction.d.ts +31 -0
- package/dist/model/partialTransaction.js +46 -0
- package/dist/model/presignedExitKey.d.ts +1 -1
- package/dist/model/presignedExitKey.js +1 -1
- package/dist/model/presignedExitKeyMessage.d.ts +1 -1
- package/dist/model/presignedExitKeyMessage.js +1 -1
- package/dist/model/quote.d.ts +1 -1
- package/dist/model/quote.js +1 -1
- package/dist/model/rFQBidFacilitator.d.ts +1 -1
- package/dist/model/rFQBidFacilitator.js +1 -1
- package/dist/model/rFQBids.d.ts +1 -1
- package/dist/model/rFQBids.js +1 -1
- package/dist/model/rFQDocumentBase.d.ts +1 -1
- package/dist/model/rFQDocumentBase.js +1 -1
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.d.ts +1 -1
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.js +1 -1
- package/dist/model/rFQDocumentBuyer.d.ts +1 -1
- package/dist/model/rFQDocumentBuyer.js +1 -1
- package/dist/model/rFQDocumentBuyerAllOfValidators.d.ts +1 -1
- package/dist/model/rFQDocumentBuyerAllOfValidators.js +1 -1
- package/dist/model/rFQDocumentBuyerStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentBuyerStatusFilter.js +1 -1
- package/dist/model/rFQDocumentFacilitator.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitator.js +1 -1
- package/dist/model/rFQDocumentFacilitatorStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitatorStatusFilter.js +1 -1
- package/dist/model/rFQDocumentFacilitatorValidatorsInner.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitatorValidatorsInner.js +1 -1
- package/dist/model/rFQDocumentSeller.d.ts +1 -1
- package/dist/model/rFQDocumentSeller.js +1 -1
- package/dist/model/rFQDocumentSellerAllOfValidators.d.ts +1 -1
- package/dist/model/rFQDocumentSellerAllOfValidators.js +1 -1
- package/dist/model/rFQDocumentSellerStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentSellerStatusFilter.js +1 -1
- package/dist/model/rFQDocumentStatus.d.ts +1 -1
- package/dist/model/rFQDocumentStatus.js +1 -1
- package/dist/model/rFQDocumentUpdate.d.ts +1 -1
- package/dist/model/rFQDocumentUpdate.js +1 -1
- package/dist/model/rFQUpdatePayload.d.ts +1 -1
- package/dist/model/rFQUpdatePayload.js +1 -1
- package/dist/model/rFQWebhookEventType.d.ts +1 -1
- package/dist/model/rFQWebhookEventType.js +1 -1
- package/dist/model/rebalanceVaultWithEther.d.ts +32 -0
- package/dist/model/rebalanceVaultWithEther.js +33 -0
- package/dist/model/rebalanceVaultWithShares.d.ts +32 -0
- package/dist/model/rebalanceVaultWithShares.js +33 -0
- package/dist/model/recoverERC20.d.ts +40 -0
- package/dist/model/recoverERC20.js +43 -0
- package/dist/model/{webhookPayloadData.d.ts → renameVaultRequest.d.ts} +5 -13
- package/dist/model/renameVaultRequest.js +31 -0
- package/dist/model/revokeRole.d.ts +36 -0
- package/dist/model/revokeRole.js +38 -0
- package/dist/model/settlementSteps.d.ts +1 -1
- package/dist/model/settlementSteps.js +1 -1
- package/dist/model/stakeEthRequest.d.ts +31 -0
- package/dist/model/stakeEthRequest.js +31 -0
- package/dist/model/stakeEthResponse.d.ts +32 -0
- package/dist/model/stakeEthResponse.js +43 -0
- package/dist/model/stakeEthResponseDestructuredCallDataInner.d.ts +40 -0
- package/dist/model/stakeEthResponseDestructuredCallDataInner.js +43 -0
- package/dist/model/stakingRequest.d.ts +34 -0
- package/dist/model/stakingRequest.js +38 -0
- package/dist/model/stakingRequestStatus.d.ts +15 -0
- package/dist/model/stakingRequestStatus.js +13 -0
- package/dist/model/transaction.d.ts +14 -2
- package/dist/model/transaction.js +16 -1
- package/dist/model/triggerValidatorWithdrawals.d.ts +40 -0
- package/dist/model/triggerValidatorWithdrawals.js +43 -0
- package/dist/model/unwrapWstETH.d.ts +32 -0
- package/dist/model/unwrapWstETH.js +33 -0
- package/dist/model/{getSmartContractMinedBlocks200Response.d.ts → updateLinkedWalletNameRequest.d.ts} +4 -14
- package/dist/model/updateLinkedWalletNameRequest.js +28 -0
- package/dist/model/updateMemberRoleRequest.d.ts +37 -0
- package/dist/model/updateMemberRoleRequest.js +31 -0
- package/dist/model/updateOrganizationNameRequest.d.ts +31 -0
- package/dist/model/updateOrganizationNameRequest.js +31 -0
- package/dist/model/validateConsolidationRequestsResponse.d.ts +33 -0
- package/dist/model/validateConsolidationRequestsResponse.js +33 -0
- package/dist/model/validateConsolidationRequestsResponseConsolidationDetailsInner.d.ts +48 -0
- package/dist/model/validateConsolidationRequestsResponseConsolidationDetailsInner.js +53 -0
- package/dist/model/validatorDailyReward.d.ts +63 -0
- package/dist/model/validatorDailyReward.js +71 -0
- package/dist/model/validatorInfo.d.ts +14 -11
- package/dist/model/validatorInfo.js +16 -21
- package/dist/model/validatorKeyHolder.d.ts +1 -1
- package/dist/model/validatorKeyHolder.js +1 -1
- package/dist/model/validatorProvider.d.ts +15 -0
- package/dist/model/validatorProvider.js +13 -0
- package/dist/model/validatorRewardRaw.d.ts +73 -0
- package/dist/model/validatorRewardRaw.js +76 -0
- package/dist/model/validatorRewardsDaily.d.ts +50 -0
- package/dist/model/validatorRewardsDaily.js +48 -0
- package/dist/model/{getSmartContractMEVRewards200Response.d.ts → validatorRewardsDailyResponse.d.ts} +4 -13
- package/dist/model/validatorRewardsDailyResponse.js +43 -0
- package/dist/model/validatorRewardsRaw.d.ts +44 -0
- package/dist/model/validatorRewardsRaw.js +46 -0
- package/dist/model/validatorType.d.ts +1 -1
- package/dist/model/validatorType.js +1 -1
- package/dist/model/validatorWithdrawal.d.ts +7 -7
- package/dist/model/validatorWithdrawal.js +13 -13
- package/dist/model/vaultCreationStartResponse.d.ts +26 -0
- package/dist/model/vaultCreationStartResponse.js +28 -0
- package/dist/model/wallet.d.ts +1 -1
- package/dist/model/wallet.js +1 -1
- package/dist/model/webHookLookupAnswer.d.ts +1 -1
- package/dist/model/webHookLookupAnswer.js +1 -1
- package/dist/model/webhookPayload.d.ts +3 -3
- package/dist/model/webhookPayload.js +2 -2
- package/dist/model/webhookPayloadRFQAvailable.d.ts +1 -1
- package/dist/model/webhookPayloadRFQAvailable.js +1 -1
- package/dist/model/webhookPayloadRFQBidAccepted.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidAccepted.js +1 -1
- package/dist/model/webhookPayloadRFQBidAcceptedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidAcceptedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQBidReceived.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidReceived.js +1 -1
- package/dist/model/webhookPayloadRFQBidReceivedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidReceivedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowEvent.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowEvent.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowEventDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowEventDetails.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleased.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleased.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceived.d.ts +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceived.js +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceivedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceivedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorExited.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorExited.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorExitedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorExitedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChangeDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChangeDetails.js +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimable.d.ts +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimable.js +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimableDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimableDetails.js +1 -1
- package/dist/model/webhookRegistration.d.ts +1 -1
- package/dist/model/webhookRegistration.js +1 -1
- package/dist/model/webhookRegistrationDetails.d.ts +1 -1
- package/dist/model/webhookRegistrationDetails.js +1 -1
- package/dist/model/withdrawFromVault.d.ts +36 -0
- package/dist/model/withdrawFromVault.js +38 -0
- package/dist/model/withdrawalClaimable.d.ts +1 -1
- package/dist/model/withdrawalClaimable.js +1 -1
- package/dist/model/withdrawalRecipientSettlement.d.ts +1 -1
- package/dist/model/withdrawalRecipientSettlement.js +1 -1
- package/dist/model/wrapStETH.d.ts +32 -0
- package/dist/model/wrapStETH.js +33 -0
- package/model/acceptedQuote.ts +1 -1
- package/model/accountEntity.ts +24 -8
- package/model/addLinkedWalletRequest.ts +1 -1
- package/model/apiKey.ts +10 -10
- package/model/approveStETH.ts +43 -0
- package/model/approveWstETH.ts +52 -0
- package/model/asset.ts +1 -1
- package/model/burnShares.ts +43 -0
- package/model/burnStETH.ts +43 -0
- package/model/burnWstETH.ts +43 -0
- package/model/collectERC20FromVault.ts +61 -0
- package/model/consolidateValidators.ts +52 -0
- package/model/consolidateValidatorsErrorResponse.ts +43 -0
- package/model/consolidateValidatorsResponse.ts +35 -0
- package/model/createLidoStakingContractsRequest.ts +46 -0
- package/model/createVaultRequest.ts +55 -0
- package/model/dailyRewardSummaryStats.ts +91 -0
- package/model/errorResponse.ts +1 -1
- package/model/errorWithTransactionResponse.ts +41 -0
- package/model/escrowPayment.ts +1 -1
- package/model/escrowReleased.ts +1 -1
- package/model/ethereumValidatorKey.ts +1 -1
- package/model/ethereumValidatorKeyKeystore.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCrypto.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoChecksum.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoCipher.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoCipherParams.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoKdf.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoKdfParams.ts +1 -1
- package/model/exitEstimateBase.ts +1 -1
- package/model/exitEstimateSeller.ts +1 -1
- package/model/exitProposal.ts +1 -1
- package/model/fundVault.ts +43 -0
- package/model/generateApiKeyRequest.ts +1 -1
- package/model/getLazyOracleReportCallData200Response.ts +44 -0
- package/model/getLazyOracleReportCallData200ResponseDestructuredCalldata.ts +67 -0
- package/model/getLazyOracleReportData200Response.ts +38 -0
- package/model/getLazyOracleReportData200ResponseReportData.ts +43 -0
- package/model/{getSmartContractTransactions200Response.ts → getLidoTransactions200Response.ts} +3 -3
- package/model/getQuarantineInfo200Response.ts +55 -0
- package/model/getStETHPerWstETHRate200Response.ts +34 -0
- package/model/getWithdrawalsResponse.ts +1 -1
- package/model/grantRole.ts +52 -0
- package/model/internalTransaction.ts +1 -1
- package/model/inviteMemberRequest.ts +54 -0
- package/model/lidoContracts.ts +60 -0
- package/model/{smartContractDetailedWhitelistedDepositorsInner.ts → lidoContractsDashboard.ts} +6 -15
- package/model/lidoContractsStakingVault.ts +34 -0
- package/model/lidoStakingContracts.ts +44 -0
- package/model/lidoStakingContractsWithData.ts +60 -0
- package/model/lidoStakingContractsWithDataVaultData.ts +223 -0
- package/model/mintShares.ts +52 -0
- package/model/mintStETH.ts +52 -0
- package/model/mintWstETH.ts +52 -0
- package/model/models.ts +281 -52
- package/model/organizationMember.ts +81 -0
- package/model/organizationNameResponse.ts +37 -0
- package/model/partialTransaction.ts +52 -0
- package/model/presignedExitKey.ts +1 -1
- package/model/presignedExitKeyMessage.ts +1 -1
- package/model/quote.ts +1 -1
- package/model/rFQBidFacilitator.ts +1 -1
- package/model/rFQBids.ts +1 -1
- package/model/rFQDocumentBase.ts +1 -1
- package/model/rFQDocumentBaseUniqueEscrowVault.ts +1 -1
- package/model/rFQDocumentBuyer.ts +1 -1
- package/model/rFQDocumentBuyerAllOfValidators.ts +1 -1
- package/model/rFQDocumentBuyerStatusFilter.ts +1 -1
- package/model/rFQDocumentFacilitator.ts +1 -1
- package/model/rFQDocumentFacilitatorStatusFilter.ts +1 -1
- package/model/rFQDocumentFacilitatorValidatorsInner.ts +1 -1
- package/model/rFQDocumentSeller.ts +1 -1
- package/model/rFQDocumentSellerAllOfValidators.ts +1 -1
- package/model/rFQDocumentSellerStatusFilter.ts +1 -1
- package/model/rFQDocumentStatus.ts +1 -1
- package/model/rFQDocumentUpdate.ts +1 -1
- package/model/rFQUpdatePayload.ts +1 -1
- package/model/rFQWebhookEventType.ts +1 -1
- package/model/rebalanceVaultWithEther.ts +43 -0
- package/model/rebalanceVaultWithShares.ts +43 -0
- package/model/recoverERC20.ts +61 -0
- package/model/renameVaultRequest.ts +37 -0
- package/model/revokeRole.ts +52 -0
- package/model/settlementSteps.ts +1 -1
- package/model/stakeEthRequest.ts +37 -0
- package/model/stakeEthResponse.ts +53 -0
- package/model/stakeEthResponseDestructuredCallDataInner.ts +61 -0
- package/model/stakingRequest.ts +50 -0
- package/model/stakingRequestStatus.ts +24 -0
- package/model/transaction.ts +29 -2
- package/model/triggerValidatorWithdrawals.ts +61 -0
- package/model/unwrapWstETH.ts +43 -0
- package/model/updateLinkedWalletNameRequest.ts +34 -0
- package/model/updateMemberRoleRequest.ts +45 -0
- package/model/updateOrganizationNameRequest.ts +37 -0
- package/model/validateConsolidationRequestsResponse.ts +44 -0
- package/model/validateConsolidationRequestsResponseConsolidationDetailsInner.ts +79 -0
- package/model/validatorDailyReward.ts +109 -0
- package/model/validatorInfo.ts +29 -31
- package/model/validatorKeyHolder.ts +1 -1
- package/model/validatorProvider.ts +22 -0
- package/model/validatorRewardRaw.ts +127 -0
- package/model/validatorRewardsDaily.ts +79 -0
- package/model/{getSmartContractMinedBlocks200Response.ts → validatorRewardsDailyResponse.ts} +8 -17
- package/model/{getSmartContractMEVRewards200Response.ts → validatorRewardsRaw.ts} +15 -9
- package/model/validatorType.ts +1 -1
- package/model/validatorWithdrawal.ts +19 -19
- package/model/vaultCreationStartResponse.ts +32 -0
- package/model/wallet.ts +1 -1
- package/model/webHookLookupAnswer.ts +1 -1
- package/model/webhookPayload.ts +4 -4
- package/model/webhookPayloadRFQAvailable.ts +1 -1
- package/model/webhookPayloadRFQBidAccepted.ts +1 -1
- package/model/webhookPayloadRFQBidAcceptedDetails.ts +1 -1
- package/model/webhookPayloadRFQBidReceived.ts +1 -1
- package/model/webhookPayloadRFQBidReceivedDetails.ts +1 -1
- package/model/webhookPayloadRFQEscrowEvent.ts +1 -1
- package/model/webhookPayloadRFQEscrowEventDetails.ts +1 -1
- package/model/webhookPayloadRFQEscrowReleased.ts +1 -1
- package/model/webhookPayloadRFQEscrowReleasedDetails.ts +1 -1
- package/model/webhookPayloadRFQTransferProposalReceived.ts +1 -1
- package/model/webhookPayloadRFQTransferProposalReceivedDetails.ts +1 -1
- package/model/webhookPayloadRFQValidatorExited.ts +1 -1
- package/model/webhookPayloadRFQValidatorExitedDetails.ts +1 -1
- package/model/webhookPayloadRFQValidatorWithdrawalChange.ts +1 -1
- package/model/webhookPayloadRFQValidatorWithdrawalChangeDetails.ts +1 -1
- package/model/webhookPayloadRFQWithdrawalClaimable.ts +1 -1
- package/model/webhookPayloadRFQWithdrawalClaimableDetails.ts +1 -1
- package/model/webhookRegistration.ts +1 -1
- package/model/webhookRegistrationDetails.ts +1 -1
- package/model/withdrawFromVault.ts +52 -0
- package/model/withdrawalClaimable.ts +1 -1
- package/model/withdrawalRecipientSettlement.ts +1 -1
- package/model/wrapStETH.ts +43 -0
- package/package.json +3 -3
- package/api/validatorMarketplaceFacilitatorApi.ts +0 -360
- package/api/validatorMarketplaceWebhooksApi.ts +0 -351
- package/dist/api/smartContractsApi.d.ts +0 -125
- package/dist/api/validatorMarketplaceBuyersApi.d.ts +0 -95
- package/dist/api/validatorMarketplaceFacilitatorApi.d.ts +0 -80
- package/dist/api/validatorMarketplaceSellersApi.d.ts +0 -122
- package/dist/api/validatorMarketplaceWebhooksApi.d.ts +0 -77
- package/dist/api/validatorMarketplaceWebhooksApi.js +0 -272
- package/dist/model/createRFQRequest.d.ts +0 -26
- package/dist/model/createRFQRequest.js +0 -33
- package/dist/model/getMarketplaceMetadata200Response.js +0 -38
- package/dist/model/getSmartContractMEVRewards200Response.js +0 -43
- package/dist/model/getSmartContractMinedBlocks200Response.js +0 -43
- package/dist/model/listAllRFQsForFacilitator200Response.d.ts +0 -38
- package/dist/model/listAllRFQsForFacilitator200Response.js +0 -43
- package/dist/model/mEVReward.d.ts +0 -45
- package/dist/model/mEVReward.js +0 -83
- package/dist/model/minedBlock.js +0 -48
- package/dist/model/provideEscrowHashForRFQDocumentRequest.d.ts +0 -25
- package/dist/model/provideEscrowHashForRFQDocumentRequest.js +0 -28
- package/dist/model/registerWithdrawalRecipientSettlementRequest.d.ts +0 -25
- package/dist/model/registerWithdrawalRecipientSettlementRequest.js +0 -28
- package/dist/model/smartContract.js +0 -56
- package/dist/model/smartContractDetailed.d.ts +0 -47
- package/dist/model/smartContractDetailed.js +0 -71
- package/dist/model/smartContractDetailedStats.d.ts +0 -72
- package/dist/model/smartContractDetailedStats.js +0 -83
- package/dist/model/smartContractDetailedWhitelistedDepositorsInner.d.ts +0 -27
- package/dist/model/smartContractDetailedWhitelistedDepositorsInner.js +0 -38
- package/dist/model/submittedQuote.d.ts +0 -26
- package/dist/model/submittedQuote.js +0 -33
- package/dist/model/webhookPayloadData.js +0 -41
- package/model/createRFQRequest.ts +0 -37
- package/model/getMarketplaceMetadata200Response.ts +0 -52
- package/model/listAllRFQsForFacilitator200Response.ts +0 -59
- package/model/mEVReward.ts +0 -106
- package/model/minedBlock.ts +0 -61
- package/model/provideEscrowHashForRFQDocumentRequest.ts +0 -31
- package/model/registerWithdrawalRecipientSettlementRequest.ts +0 -31
- package/model/smartContract.ts +0 -67
- package/model/smartContractDetailed.ts +0 -93
- package/model/smartContractDetailedStats.ts +0 -133
- package/model/submittedQuote.ts +0 -37
- package/model/webhookPayloadData.ts +0 -56
package/api/validatorsApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -17,10 +17,8 @@ import http from 'http';
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
18
|
import { ErrorResponse } from '../model/errorResponse';
|
|
19
19
|
import { GetWithdrawalsResponse } from '../model/getWithdrawalsResponse';
|
|
20
|
-
import {
|
|
20
|
+
import { PartialTransaction } from '../model/partialTransaction';
|
|
21
21
|
import { ValidatorInfo } from '../model/validatorInfo';
|
|
22
|
-
import { ValidatorKeyHolder } from '../model/validatorKeyHolder';
|
|
23
|
-
import { ValidatorType } from '../model/validatorType';
|
|
24
22
|
|
|
25
23
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
26
24
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../model/models';
|
|
@@ -110,96 +108,6 @@ export class ValidatorsApi {
|
|
|
110
108
|
this.interceptors.push(interceptor);
|
|
111
109
|
}
|
|
112
110
|
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
* @summary Get presigned exit key for a validator
|
|
116
|
-
* @param validatorIndex Validator index to get the presigned exit key for
|
|
117
|
-
* @param epoch Epoch to get the presigned exit key for, defaults to 1
|
|
118
|
-
*/
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
public async getPresignedExitKey (validatorIndex: number, epoch?: number, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: PresignedExitKey, status: number }> {
|
|
125
|
-
|
|
126
|
-
const localVarPath = this.basePath + '/validators/{validator_index}/presignedExitKey'
|
|
127
|
-
.replace('{' + 'validator_index' + '}', encodeURIComponent(String(validatorIndex)));
|
|
128
|
-
|
|
129
|
-
let localVarQueryParameters: any = {};
|
|
130
|
-
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
131
|
-
const produces = ['application/json'];
|
|
132
|
-
if (produces.indexOf('application/json') >= 0) {
|
|
133
|
-
localVarHeaderParams.Accept = 'application/json';
|
|
134
|
-
} else {
|
|
135
|
-
localVarHeaderParams.Accept = produces.join(',');
|
|
136
|
-
}
|
|
137
|
-
let localVarFormParams: any = {};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
// Verify required parameter 'validatorIndex' is not null or undefined
|
|
141
|
-
if (validatorIndex === null || validatorIndex === undefined) {
|
|
142
|
-
throw new Error('Required parameter "validatorIndex" was null or undefined when calling getPresignedExitKey.');
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
if (epoch !== undefined) {
|
|
148
|
-
localVarQueryParameters['epoch'] = ObjectSerializer.serialize(epoch, "number");
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
155
|
-
|
|
156
|
-
let localVarUseFormData = false;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
let localVarRequestOptions: localVarRequest.Options = {
|
|
161
|
-
method: 'GET',
|
|
162
|
-
qs: localVarQueryParameters,
|
|
163
|
-
headers: localVarHeaderParams,
|
|
164
|
-
uri: localVarPath,
|
|
165
|
-
useQuerystring: this._useQuerystring,
|
|
166
|
-
json: true,
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
let authenticationPromise = Promise.resolve();
|
|
170
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
171
|
-
|
|
172
|
-
let interceptorPromise = authenticationPromise;
|
|
173
|
-
for (const interceptor of this.interceptors) {
|
|
174
|
-
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
return interceptorPromise.then(() => {
|
|
178
|
-
if (Object.keys(localVarFormParams).length) {
|
|
179
|
-
if (localVarUseFormData) {
|
|
180
|
-
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
181
|
-
} else {
|
|
182
|
-
localVarRequestOptions.form = localVarFormParams;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
return new Promise<{ body: PresignedExitKey, status: number }>((resolve, reject) => {
|
|
186
|
-
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
187
|
-
if (error) {
|
|
188
|
-
console.error('API call error:', error);
|
|
189
|
-
reject(error);
|
|
190
|
-
} else {
|
|
191
|
-
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
192
|
-
body = ObjectSerializer.deserialize(body, "PresignedExitKey");
|
|
193
|
-
resolve({ body: body, status: response.statusCode });
|
|
194
|
-
} else {
|
|
195
|
-
console.error('API response error:', response.statusCode);
|
|
196
|
-
resolve({ body: body, status: response.statusCode });
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
});
|
|
201
|
-
} )
|
|
202
|
-
}
|
|
203
111
|
/**
|
|
204
112
|
* Retrieves a paginated list of validator withdrawals. The endpoint supports filtering by start and end date, page number, and limit. Additionally, it allows filtering by validator indices.
|
|
205
113
|
* @summary Get a list of validator withdrawals
|
|
@@ -306,16 +214,15 @@ export class ValidatorsApi {
|
|
|
306
214
|
}
|
|
307
215
|
/**
|
|
308
216
|
*
|
|
309
|
-
* @summary Get a list of validators
|
|
310
|
-
* @param
|
|
311
|
-
* @param contractType Filter by contract type
|
|
217
|
+
* @summary Get a list of validators
|
|
218
|
+
* @param stakingVaultId The id of the staking vault to get the validators for (optional)
|
|
312
219
|
*/
|
|
313
220
|
|
|
314
221
|
|
|
315
222
|
|
|
316
223
|
|
|
317
224
|
|
|
318
|
-
public async getValidators (
|
|
225
|
+
public async getValidators (stakingVaultId?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: Array<ValidatorInfo>, status: number }> {
|
|
319
226
|
|
|
320
227
|
const localVarPath = this.basePath + '/validators';
|
|
321
228
|
|
|
@@ -333,11 +240,8 @@ export class ValidatorsApi {
|
|
|
333
240
|
|
|
334
241
|
|
|
335
242
|
|
|
336
|
-
if (
|
|
337
|
-
localVarQueryParameters['
|
|
338
|
-
}
|
|
339
|
-
if (contractType !== undefined) {
|
|
340
|
-
localVarQueryParameters['contract_type'] = ObjectSerializer.serialize(contractType, "ValidatorType");
|
|
243
|
+
if (stakingVaultId !== undefined) {
|
|
244
|
+
localVarQueryParameters['stakingVaultId'] = ObjectSerializer.serialize(stakingVaultId, "string");
|
|
341
245
|
}
|
|
342
246
|
|
|
343
247
|
|
|
@@ -394,18 +298,20 @@ export class ValidatorsApi {
|
|
|
394
298
|
}
|
|
395
299
|
/**
|
|
396
300
|
*
|
|
397
|
-
* @summary
|
|
398
|
-
* @param validatorIndex Validator index to
|
|
301
|
+
* @summary Top up a validator
|
|
302
|
+
* @param validatorIndex Validator index to top up
|
|
303
|
+
* @param amount Amount of ETH to top up the validator with
|
|
304
|
+
* @param simulateAddress Optional Ethereum address to simulate the transaction from. If provided, the transaction will be simulated and any revert errors will be returned.
|
|
399
305
|
*/
|
|
400
306
|
|
|
401
307
|
|
|
402
308
|
|
|
403
309
|
|
|
404
310
|
|
|
405
|
-
public async
|
|
311
|
+
public async topUpValidator (validatorIndex: number, amount: string, simulateAddress?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: PartialTransaction, status: number }> {
|
|
406
312
|
|
|
407
|
-
const localVarPath = this.basePath + '/validators/{
|
|
408
|
-
.replace('{' + '
|
|
313
|
+
const localVarPath = this.basePath + '/validators/{validatorIndex}/topUp'
|
|
314
|
+
.replace('{' + 'validatorIndex' + '}', encodeURIComponent(String(validatorIndex)));
|
|
409
315
|
|
|
410
316
|
let localVarQueryParameters: any = {};
|
|
411
317
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -420,11 +326,21 @@ export class ValidatorsApi {
|
|
|
420
326
|
|
|
421
327
|
// Verify required parameter 'validatorIndex' is not null or undefined
|
|
422
328
|
if (validatorIndex === null || validatorIndex === undefined) {
|
|
423
|
-
throw new Error('Required parameter "validatorIndex" was null or undefined when calling
|
|
329
|
+
throw new Error('Required parameter "validatorIndex" was null or undefined when calling topUpValidator.');
|
|
330
|
+
}
|
|
331
|
+
// Verify required parameter 'amount' is not null or undefined
|
|
332
|
+
if (amount === null || amount === undefined) {
|
|
333
|
+
throw new Error('Required parameter "amount" was null or undefined when calling topUpValidator.');
|
|
424
334
|
}
|
|
425
335
|
|
|
426
336
|
|
|
427
337
|
|
|
338
|
+
if (amount !== undefined) {
|
|
339
|
+
localVarQueryParameters['amount'] = ObjectSerializer.serialize(amount, "string");
|
|
340
|
+
}
|
|
341
|
+
if (simulateAddress !== undefined) {
|
|
342
|
+
localVarQueryParameters['simulateAddress'] = ObjectSerializer.serialize(simulateAddress, "string");
|
|
343
|
+
}
|
|
428
344
|
|
|
429
345
|
|
|
430
346
|
|
|
@@ -460,13 +376,14 @@ export class ValidatorsApi {
|
|
|
460
376
|
localVarRequestOptions.form = localVarFormParams;
|
|
461
377
|
}
|
|
462
378
|
}
|
|
463
|
-
return new Promise<{ body:
|
|
379
|
+
return new Promise<{ body: PartialTransaction, status: number }>((resolve, reject) => {
|
|
464
380
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
465
381
|
if (error) {
|
|
466
382
|
console.error('API call error:', error);
|
|
467
383
|
reject(error);
|
|
468
384
|
} else {
|
|
469
385
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
386
|
+
body = ObjectSerializer.deserialize(body, "PartialTransaction");
|
|
470
387
|
resolve({ body: body, status: response.statusCode });
|
|
471
388
|
} else {
|
|
472
389
|
console.error('API response error:', response.statusCode);
|
package/api.ts
CHANGED
|
@@ -2,20 +2,32 @@
|
|
|
2
2
|
import { JWTAuth } from './model/models';
|
|
3
3
|
import { AccountApi } from './api/accountApi';
|
|
4
4
|
import { AccountApiKeysApi } from './api/accountApiKeysApi';
|
|
5
|
+
import { LidoReadApi } from './api/lidoReadApi';
|
|
6
|
+
import { LidoRewardsApi } from './api/lidoRewardsApi';
|
|
7
|
+
import { LidoStakingVaultsApi } from './api/lidoStakingVaultsApi';
|
|
8
|
+
import { LidoWriteApi } from './api/lidoWriteApi';
|
|
5
9
|
import { LinkedWalletsApi } from './api/linkedWalletsApi';
|
|
6
|
-
import {
|
|
7
|
-
import { ValidatorMarketplaceBuyersApi } from './api/validatorMarketplaceBuyersApi';
|
|
8
|
-
import { ValidatorMarketplaceFacilitatorApi } from './api/validatorMarketplaceFacilitatorApi';
|
|
9
|
-
import { ValidatorMarketplaceSellersApi } from './api/validatorMarketplaceSellersApi';
|
|
10
|
-
import { ValidatorMarketplaceWebhooksApi } from './api/validatorMarketplaceWebhooksApi';
|
|
10
|
+
import { OrganizationApi } from './api/organizationApi';
|
|
11
11
|
import { ValidatorsApi } from './api/validatorsApi';
|
|
12
12
|
export * from './model/./acceptedQuote';
|
|
13
13
|
export * from './model/./accountEntity';
|
|
14
14
|
export * from './model/./addLinkedWalletRequest';
|
|
15
15
|
export * from './model/./apiKey';
|
|
16
|
+
export * from './model/./approveStETH';
|
|
17
|
+
export * from './model/./approveWstETH';
|
|
16
18
|
export * from './model/./asset';
|
|
17
|
-
export * from './model/./
|
|
19
|
+
export * from './model/./burnShares';
|
|
20
|
+
export * from './model/./burnStETH';
|
|
21
|
+
export * from './model/./burnWstETH';
|
|
22
|
+
export * from './model/./collectERC20FromVault';
|
|
23
|
+
export * from './model/./consolidateValidators';
|
|
24
|
+
export * from './model/./consolidateValidatorsErrorResponse';
|
|
25
|
+
export * from './model/./consolidateValidatorsResponse';
|
|
26
|
+
export * from './model/./createLidoStakingContractsRequest';
|
|
27
|
+
export * from './model/./createVaultRequest';
|
|
28
|
+
export * from './model/./dailyRewardSummaryStats';
|
|
18
29
|
export * from './model/./errorResponse';
|
|
30
|
+
export * from './model/./errorWithTransactionResponse';
|
|
19
31
|
export * from './model/./escrowPayment';
|
|
20
32
|
export * from './model/./escrowReleased';
|
|
21
33
|
export * from './model/./ethereumValidatorKey';
|
|
@@ -29,19 +41,33 @@ export * from './model/./ethereumValidatorKeyKeystoreCryptoKdfParams';
|
|
|
29
41
|
export * from './model/./exitEstimateBase';
|
|
30
42
|
export * from './model/./exitEstimateSeller';
|
|
31
43
|
export * from './model/./exitProposal';
|
|
44
|
+
export * from './model/./fundVault';
|
|
32
45
|
export * from './model/./generateApiKeyRequest';
|
|
33
|
-
export * from './model/./
|
|
34
|
-
export * from './model/./
|
|
35
|
-
export * from './model/./
|
|
36
|
-
export * from './model/./
|
|
46
|
+
export * from './model/./getLazyOracleReportCallData200Response';
|
|
47
|
+
export * from './model/./getLazyOracleReportCallData200ResponseDestructuredCalldata';
|
|
48
|
+
export * from './model/./getLazyOracleReportData200Response';
|
|
49
|
+
export * from './model/./getLazyOracleReportData200ResponseReportData';
|
|
50
|
+
export * from './model/./getLidoTransactions200Response';
|
|
51
|
+
export * from './model/./getQuarantineInfo200Response';
|
|
52
|
+
export * from './model/./getStETHPerWstETHRate200Response';
|
|
37
53
|
export * from './model/./getWithdrawalsResponse';
|
|
54
|
+
export * from './model/./grantRole';
|
|
38
55
|
export * from './model/./internalTransaction';
|
|
39
|
-
export * from './model/./
|
|
40
|
-
export * from './model/./
|
|
41
|
-
export * from './model/./
|
|
56
|
+
export * from './model/./inviteMemberRequest';
|
|
57
|
+
export * from './model/./lidoContracts';
|
|
58
|
+
export * from './model/./lidoContractsDashboard';
|
|
59
|
+
export * from './model/./lidoContractsStakingVault';
|
|
60
|
+
export * from './model/./lidoStakingContracts';
|
|
61
|
+
export * from './model/./lidoStakingContractsWithData';
|
|
62
|
+
export * from './model/./lidoStakingContractsWithDataVaultData';
|
|
63
|
+
export * from './model/./mintShares';
|
|
64
|
+
export * from './model/./mintStETH';
|
|
65
|
+
export * from './model/./mintWstETH';
|
|
66
|
+
export * from './model/./organizationMember';
|
|
67
|
+
export * from './model/./organizationNameResponse';
|
|
68
|
+
export * from './model/./partialTransaction';
|
|
42
69
|
export * from './model/./presignedExitKey';
|
|
43
70
|
export * from './model/./presignedExitKeyMessage';
|
|
44
|
-
export * from './model/./provideEscrowHashForRFQDocumentRequest';
|
|
45
71
|
export * from './model/./quote';
|
|
46
72
|
export * from './model/./rFQBidFacilitator';
|
|
47
73
|
export * from './model/./rFQBids';
|
|
@@ -60,22 +86,39 @@ export * from './model/./rFQDocumentStatus';
|
|
|
60
86
|
export * from './model/./rFQDocumentUpdate';
|
|
61
87
|
export * from './model/./rFQUpdatePayload';
|
|
62
88
|
export * from './model/./rFQWebhookEventType';
|
|
63
|
-
export * from './model/./
|
|
89
|
+
export * from './model/./rebalanceVaultWithEther';
|
|
90
|
+
export * from './model/./rebalanceVaultWithShares';
|
|
91
|
+
export * from './model/./recoverERC20';
|
|
92
|
+
export * from './model/./renameVaultRequest';
|
|
93
|
+
export * from './model/./revokeRole';
|
|
64
94
|
export * from './model/./settlementSteps';
|
|
65
|
-
export * from './model/./
|
|
66
|
-
export * from './model/./
|
|
67
|
-
export * from './model/./
|
|
68
|
-
export * from './model/./
|
|
69
|
-
export * from './model/./
|
|
95
|
+
export * from './model/./stakeEthRequest';
|
|
96
|
+
export * from './model/./stakeEthResponse';
|
|
97
|
+
export * from './model/./stakeEthResponseDestructuredCallDataInner';
|
|
98
|
+
export * from './model/./stakingRequest';
|
|
99
|
+
export * from './model/./stakingRequestStatus';
|
|
70
100
|
export * from './model/./transaction';
|
|
101
|
+
export * from './model/./triggerValidatorWithdrawals';
|
|
102
|
+
export * from './model/./unwrapWstETH';
|
|
103
|
+
export * from './model/./updateLinkedWalletNameRequest';
|
|
104
|
+
export * from './model/./updateMemberRoleRequest';
|
|
105
|
+
export * from './model/./updateOrganizationNameRequest';
|
|
106
|
+
export * from './model/./validateConsolidationRequestsResponse';
|
|
107
|
+
export * from './model/./validateConsolidationRequestsResponseConsolidationDetailsInner';
|
|
108
|
+
export * from './model/./validatorDailyReward';
|
|
71
109
|
export * from './model/./validatorInfo';
|
|
72
110
|
export * from './model/./validatorKeyHolder';
|
|
111
|
+
export * from './model/./validatorProvider';
|
|
112
|
+
export * from './model/./validatorRewardRaw';
|
|
113
|
+
export * from './model/./validatorRewardsDaily';
|
|
114
|
+
export * from './model/./validatorRewardsDailyResponse';
|
|
115
|
+
export * from './model/./validatorRewardsRaw';
|
|
73
116
|
export * from './model/./validatorType';
|
|
74
117
|
export * from './model/./validatorWithdrawal';
|
|
118
|
+
export * from './model/./vaultCreationStartResponse';
|
|
75
119
|
export * from './model/./wallet';
|
|
76
120
|
export * from './model/./webHookLookupAnswer';
|
|
77
121
|
export * from './model/./webhookPayload';
|
|
78
|
-
export * from './model/./webhookPayloadData';
|
|
79
122
|
export * from './model/./webhookPayloadRFQAvailable';
|
|
80
123
|
export * from './model/./webhookPayloadRFQBidAccepted';
|
|
81
124
|
export * from './model/./webhookPayloadRFQBidAcceptedDetails';
|
|
@@ -95,8 +138,10 @@ export * from './model/./webhookPayloadRFQWithdrawalClaimable';
|
|
|
95
138
|
export * from './model/./webhookPayloadRFQWithdrawalClaimableDetails';
|
|
96
139
|
export * from './model/./webhookRegistration';
|
|
97
140
|
export * from './model/./webhookRegistrationDetails';
|
|
141
|
+
export * from './model/./withdrawFromVault';
|
|
98
142
|
export * from './model/./withdrawalClaimable';
|
|
99
143
|
export * from './model/./withdrawalRecipientSettlement';
|
|
144
|
+
export * from './model/./wrapStETH';
|
|
100
145
|
|
|
101
146
|
export class NorthstakeApi {
|
|
102
147
|
constructor(apiKey: string, privateKey: string, basePath: string = "https://api.northstake.dk/v1") {
|
|
@@ -106,29 +151,29 @@ export class NorthstakeApi {
|
|
|
106
151
|
this.account.setDefaultAuthentication(jwtAuth);
|
|
107
152
|
this.accountApiKeys = new AccountApiKeysApi(basePath);
|
|
108
153
|
this.accountApiKeys.setDefaultAuthentication(jwtAuth);
|
|
154
|
+
this.lidoRead = new LidoReadApi(basePath);
|
|
155
|
+
this.lidoRead.setDefaultAuthentication(jwtAuth);
|
|
156
|
+
this.lidoRewards = new LidoRewardsApi(basePath);
|
|
157
|
+
this.lidoRewards.setDefaultAuthentication(jwtAuth);
|
|
158
|
+
this.lidoStakingVaults = new LidoStakingVaultsApi(basePath);
|
|
159
|
+
this.lidoStakingVaults.setDefaultAuthentication(jwtAuth);
|
|
160
|
+
this.lidoWrite = new LidoWriteApi(basePath);
|
|
161
|
+
this.lidoWrite.setDefaultAuthentication(jwtAuth);
|
|
109
162
|
this.linkedWallets = new LinkedWalletsApi(basePath);
|
|
110
163
|
this.linkedWallets.setDefaultAuthentication(jwtAuth);
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
113
|
-
this.validatorMarketplaceBuyers = new ValidatorMarketplaceBuyersApi(basePath);
|
|
114
|
-
this.validatorMarketplaceBuyers.setDefaultAuthentication(jwtAuth);
|
|
115
|
-
this.validatorMarketplaceFacilitator = new ValidatorMarketplaceFacilitatorApi(basePath);
|
|
116
|
-
this.validatorMarketplaceFacilitator.setDefaultAuthentication(jwtAuth);
|
|
117
|
-
this.validatorMarketplaceSellers = new ValidatorMarketplaceSellersApi(basePath);
|
|
118
|
-
this.validatorMarketplaceSellers.setDefaultAuthentication(jwtAuth);
|
|
119
|
-
this.validatorMarketplaceWebhooks = new ValidatorMarketplaceWebhooksApi(basePath);
|
|
120
|
-
this.validatorMarketplaceWebhooks.setDefaultAuthentication(jwtAuth);
|
|
164
|
+
this.organization = new OrganizationApi(basePath);
|
|
165
|
+
this.organization.setDefaultAuthentication(jwtAuth);
|
|
121
166
|
this.validators = new ValidatorsApi(basePath);
|
|
122
167
|
this.validators.setDefaultAuthentication(jwtAuth);
|
|
123
168
|
}
|
|
124
169
|
public account: AccountApi;
|
|
125
170
|
public accountApiKeys: AccountApiKeysApi;
|
|
171
|
+
public lidoRead: LidoReadApi;
|
|
172
|
+
public lidoRewards: LidoRewardsApi;
|
|
173
|
+
public lidoStakingVaults: LidoStakingVaultsApi;
|
|
174
|
+
public lidoWrite: LidoWriteApi;
|
|
126
175
|
public linkedWallets: LinkedWalletsApi;
|
|
127
|
-
public
|
|
128
|
-
public validatorMarketplaceBuyers: ValidatorMarketplaceBuyersApi;
|
|
129
|
-
public validatorMarketplaceFacilitator: ValidatorMarketplaceFacilitatorApi;
|
|
130
|
-
public validatorMarketplaceSellers: ValidatorMarketplaceSellersApi;
|
|
131
|
-
public validatorMarketplaceWebhooks: ValidatorMarketplaceWebhooksApi;
|
|
176
|
+
public organization: OrganizationApi;
|
|
132
177
|
public validators: ValidatorsApi;
|
|
133
178
|
}
|
|
134
179
|
|
package/dist/api/accountApi.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
package/dist/api/accountApi.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Northstake
|
|
4
|
-
* Northstake api
|
|
4
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
5
5
|
*
|
|
6
6
|
* The version of the OpenAPI document: 1.0
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Northstake
|
|
4
|
-
* Northstake api
|
|
4
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
5
5
|
*
|
|
6
6
|
* The version of the OpenAPI document: 1.0
|
|
7
7
|
*
|
package/dist/api/apis.d.ts
CHANGED
|
@@ -2,18 +2,18 @@ export * from './accountApi';
|
|
|
2
2
|
import { AccountApi } from './accountApi';
|
|
3
3
|
export * from './accountApiKeysApi';
|
|
4
4
|
import { AccountApiKeysApi } from './accountApiKeysApi';
|
|
5
|
+
export * from './lidoReadApi';
|
|
6
|
+
import { LidoReadApi } from './lidoReadApi';
|
|
7
|
+
export * from './lidoRewardsApi';
|
|
8
|
+
import { LidoRewardsApi } from './lidoRewardsApi';
|
|
9
|
+
export * from './lidoStakingVaultsApi';
|
|
10
|
+
import { LidoStakingVaultsApi } from './lidoStakingVaultsApi';
|
|
11
|
+
export * from './lidoWriteApi';
|
|
12
|
+
import { LidoWriteApi } from './lidoWriteApi';
|
|
5
13
|
export * from './linkedWalletsApi';
|
|
6
14
|
import { LinkedWalletsApi } from './linkedWalletsApi';
|
|
7
|
-
export * from './
|
|
8
|
-
import {
|
|
9
|
-
export * from './validatorMarketplaceBuyersApi';
|
|
10
|
-
import { ValidatorMarketplaceBuyersApi } from './validatorMarketplaceBuyersApi';
|
|
11
|
-
export * from './validatorMarketplaceFacilitatorApi';
|
|
12
|
-
import { ValidatorMarketplaceFacilitatorApi } from './validatorMarketplaceFacilitatorApi';
|
|
13
|
-
export * from './validatorMarketplaceSellersApi';
|
|
14
|
-
import { ValidatorMarketplaceSellersApi } from './validatorMarketplaceSellersApi';
|
|
15
|
-
export * from './validatorMarketplaceWebhooksApi';
|
|
16
|
-
import { ValidatorMarketplaceWebhooksApi } from './validatorMarketplaceWebhooksApi';
|
|
15
|
+
export * from './organizationApi';
|
|
16
|
+
import { OrganizationApi } from './organizationApi';
|
|
17
17
|
export * from './validatorsApi';
|
|
18
18
|
import { ValidatorsApi } from './validatorsApi';
|
|
19
19
|
import * as http from 'http';
|
|
@@ -24,4 +24,4 @@ export declare class HttpError extends Error {
|
|
|
24
24
|
constructor(response: http.IncomingMessage, body: any, statusCode?: number | undefined);
|
|
25
25
|
}
|
|
26
26
|
export { RequestFile } from '../model/models';
|
|
27
|
-
export declare const APIS: (typeof AccountApiKeysApi | typeof
|
|
27
|
+
export declare const APIS: (typeof AccountApiKeysApi | typeof LidoReadApi | typeof LidoRewardsApi | typeof LidoStakingVaultsApi | typeof LidoWriteApi | typeof LinkedWalletsApi | typeof OrganizationApi | typeof ValidatorsApi | typeof AccountApi)[];
|
package/dist/api/apis.js
CHANGED
|
@@ -19,18 +19,18 @@ __exportStar(require("./accountApi"), exports);
|
|
|
19
19
|
const accountApi_1 = require("./accountApi");
|
|
20
20
|
__exportStar(require("./accountApiKeysApi"), exports);
|
|
21
21
|
const accountApiKeysApi_1 = require("./accountApiKeysApi");
|
|
22
|
+
__exportStar(require("./lidoReadApi"), exports);
|
|
23
|
+
const lidoReadApi_1 = require("./lidoReadApi");
|
|
24
|
+
__exportStar(require("./lidoRewardsApi"), exports);
|
|
25
|
+
const lidoRewardsApi_1 = require("./lidoRewardsApi");
|
|
26
|
+
__exportStar(require("./lidoStakingVaultsApi"), exports);
|
|
27
|
+
const lidoStakingVaultsApi_1 = require("./lidoStakingVaultsApi");
|
|
28
|
+
__exportStar(require("./lidoWriteApi"), exports);
|
|
29
|
+
const lidoWriteApi_1 = require("./lidoWriteApi");
|
|
22
30
|
__exportStar(require("./linkedWalletsApi"), exports);
|
|
23
31
|
const linkedWalletsApi_1 = require("./linkedWalletsApi");
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
const
|
|
26
|
-
__exportStar(require("./validatorMarketplaceBuyersApi"), exports);
|
|
27
|
-
const validatorMarketplaceBuyersApi_1 = require("./validatorMarketplaceBuyersApi");
|
|
28
|
-
__exportStar(require("./validatorMarketplaceFacilitatorApi"), exports);
|
|
29
|
-
const validatorMarketplaceFacilitatorApi_1 = require("./validatorMarketplaceFacilitatorApi");
|
|
30
|
-
__exportStar(require("./validatorMarketplaceSellersApi"), exports);
|
|
31
|
-
const validatorMarketplaceSellersApi_1 = require("./validatorMarketplaceSellersApi");
|
|
32
|
-
__exportStar(require("./validatorMarketplaceWebhooksApi"), exports);
|
|
33
|
-
const validatorMarketplaceWebhooksApi_1 = require("./validatorMarketplaceWebhooksApi");
|
|
32
|
+
__exportStar(require("./organizationApi"), exports);
|
|
33
|
+
const organizationApi_1 = require("./organizationApi");
|
|
34
34
|
__exportStar(require("./validatorsApi"), exports);
|
|
35
35
|
const validatorsApi_1 = require("./validatorsApi");
|
|
36
36
|
class HttpError extends Error {
|
|
@@ -43,4 +43,4 @@ class HttpError extends Error {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.HttpError = HttpError;
|
|
46
|
-
exports.APIS = [accountApi_1.AccountApi, accountApiKeysApi_1.AccountApiKeysApi,
|
|
46
|
+
exports.APIS = [accountApi_1.AccountApi, accountApiKeysApi_1.AccountApiKeysApi, lidoReadApi_1.LidoReadApi, lidoRewardsApi_1.LidoRewardsApi, lidoStakingVaultsApi_1.LidoStakingVaultsApi, lidoWriteApi_1.LidoWriteApi, linkedWalletsApi_1.LinkedWalletsApi, organizationApi_1.OrganizationApi, validatorsApi_1.ValidatorsApi];
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { GetLazyOracleReportData200Response } from '../model/getLazyOracleReportData200Response';
|
|
13
|
+
import { GetLidoTransactions200Response } from '../model/getLidoTransactions200Response';
|
|
14
|
+
import { GetQuarantineInfo200Response } from '../model/getQuarantineInfo200Response';
|
|
15
|
+
import { GetStETHPerWstETHRate200Response } from '../model/getStETHPerWstETHRate200Response';
|
|
16
|
+
import { Authentication, Interceptor } from '../model/models';
|
|
17
|
+
import { HttpBearerAuth, ApiKeyAuth } from '../model/models';
|
|
18
|
+
export declare enum LidoReadApiApiKeys {
|
|
19
|
+
ApiKeyAuth = 0
|
|
20
|
+
}
|
|
21
|
+
export interface LidoReadApiParams {
|
|
22
|
+
contractsId?: string;
|
|
23
|
+
startDate?: Date;
|
|
24
|
+
endDate?: Date;
|
|
25
|
+
page?: number;
|
|
26
|
+
limit?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface LidoReadApiParams {
|
|
29
|
+
contractsId?: string;
|
|
30
|
+
startDate?: Date;
|
|
31
|
+
endDate?: Date;
|
|
32
|
+
}
|
|
33
|
+
export declare class LidoReadApi {
|
|
34
|
+
protected _basePath: string;
|
|
35
|
+
protected _defaultHeaders: any;
|
|
36
|
+
protected _useQuerystring: boolean;
|
|
37
|
+
protected authentications: {
|
|
38
|
+
default: Authentication;
|
|
39
|
+
bearerTokenAuth: HttpBearerAuth;
|
|
40
|
+
ApiKeyAuth: ApiKeyAuth;
|
|
41
|
+
};
|
|
42
|
+
protected interceptors: Interceptor[];
|
|
43
|
+
constructor(basePath?: string);
|
|
44
|
+
set useQuerystring(value: boolean);
|
|
45
|
+
set basePath(basePath: string);
|
|
46
|
+
set defaultHeaders(defaultHeaders: any);
|
|
47
|
+
get defaultHeaders(): any;
|
|
48
|
+
get basePath(): string;
|
|
49
|
+
setDefaultAuthentication(auth: Authentication): void;
|
|
50
|
+
setApiKey(key: LidoReadApiApiKeys, value: string): void;
|
|
51
|
+
set accessToken(accessToken: string | (() => string));
|
|
52
|
+
addInterceptor(interceptor: Interceptor): void;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @summary Get all dashboard role members for a specific Lido staking contract set
|
|
56
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
57
|
+
*/
|
|
58
|
+
getAllDashboardRoleMembers(contractsId: string, options?: {
|
|
59
|
+
headers: {
|
|
60
|
+
[name: string]: string;
|
|
61
|
+
};
|
|
62
|
+
}): Promise<{
|
|
63
|
+
body: {
|
|
64
|
+
[key: string]: Array<string>;
|
|
65
|
+
};
|
|
66
|
+
status: number;
|
|
67
|
+
}>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary Get the vault report data from the lazy oracle for a specific Lido staking contract set
|
|
71
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
72
|
+
*/
|
|
73
|
+
getLazyOracleReportData(contractsId: string, options?: {
|
|
74
|
+
headers: {
|
|
75
|
+
[name: string]: string;
|
|
76
|
+
};
|
|
77
|
+
}): Promise<{
|
|
78
|
+
body: GetLazyOracleReportData200Response;
|
|
79
|
+
status: number;
|
|
80
|
+
}>;
|
|
81
|
+
/**
|
|
82
|
+
* Retrieves transactions for all staking vaults. Optionally filter by a specific contractsId.
|
|
83
|
+
* @summary Get transactions related to Lido staking contract sets
|
|
84
|
+
* @param contractsId Optional filter by the unique identifier of a specific Lido staking contracts set. If not provided, returns transactions for all staking vaults.
|
|
85
|
+
* @param startDate Start date for filtering transactions
|
|
86
|
+
* @param endDate End date for filtering transactions
|
|
87
|
+
* @param page Page number for pagination
|
|
88
|
+
* @param limit Number of transactions per page
|
|
89
|
+
*/
|
|
90
|
+
getLidoTransactions(params?: LidoReadApiParams, options?: {
|
|
91
|
+
headers: {
|
|
92
|
+
[name: string]: string;
|
|
93
|
+
};
|
|
94
|
+
}): Promise<{
|
|
95
|
+
body: GetLidoTransactions200Response;
|
|
96
|
+
status: number;
|
|
97
|
+
}>;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @summary Get the vault report data from the lazy oracle for a specific Lido staking contract set
|
|
101
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
102
|
+
*/
|
|
103
|
+
getQuarantineInfo(contractsId: string, options?: {
|
|
104
|
+
headers: {
|
|
105
|
+
[name: string]: string;
|
|
106
|
+
};
|
|
107
|
+
}): Promise<{
|
|
108
|
+
body: GetQuarantineInfo200Response;
|
|
109
|
+
status: number;
|
|
110
|
+
}>;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Get the current stETH per wstETH exchange rate
|
|
114
|
+
*/
|
|
115
|
+
getStETHPerWstETHRate(options?: {
|
|
116
|
+
headers: {
|
|
117
|
+
[name: string]: string;
|
|
118
|
+
};
|
|
119
|
+
}): Promise<{
|
|
120
|
+
body: GetStETHPerWstETHRate200Response;
|
|
121
|
+
status: number;
|
|
122
|
+
}>;
|
|
123
|
+
/**
|
|
124
|
+
* Creates an internal order document for CSV export of transactions. The backend janitor will process this order and send the CSV via email.
|
|
125
|
+
* @summary Request CSV export for transactions
|
|
126
|
+
* @param contractsId Optional filter by the unique identifier of a specific Lido staking contracts set. If not provided, exports transactions for all staking vaults.
|
|
127
|
+
* @param startDate Start date for filtering transactions
|
|
128
|
+
* @param endDate End date for filtering transactions
|
|
129
|
+
*/
|
|
130
|
+
requestTransactionsCsvExport(params?: LidoReadApiParams, options?: {
|
|
131
|
+
headers: {
|
|
132
|
+
[name: string]: string;
|
|
133
|
+
};
|
|
134
|
+
}): Promise<{
|
|
135
|
+
body: any;
|
|
136
|
+
status: number;
|
|
137
|
+
}>;
|
|
138
|
+
}
|