Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 2.73 KB

DelegationDto.md

File metadata and controls

30 lines (22 loc) · 2.73 KB

DelegationDto

Properties

Name Type Description Notes
id String The unique identifier of the staking position
vaultAccountId String The source vault account to stake from
validatorName String The destination validator address name
providerName String The destination validator provider name
chainDescriptor String The protocol identifier (e.g. "ETH"/ "SOL") to use
amount String Amount of tokens to stake, measured in the staked asset unit.
rewardsAmount String The amount staked in the position, measured in the staked asset unit.
dateCreated OffsetDateTime When was the request made (ISO Date).
dateUpdated OffsetDateTime When has the position last changed (ISO Date). [optional]
status String The current status.
relatedTransactions List<RelatedTransactionDto> An array of transaction objects related to this position. Each object includes a 'txId' representing the transaction ID and a 'completed' boolean indicating if the transaction was completed.
validatorAddress String The destination address of the staking transaction.
providerId String The unique identifier of the staking provider
availableActions List<String> An array of available actions that can be performed. for example, actions like &quot;unstake&quot; or &quot;withdraw&quot;.
inProgress Boolean Indicates whether there is an ongoing action for this position (true if ongoing, false if not).
inProgressTxId String The transaction ID of the ongoing request [optional]
blockchainPositionInfo SolanaBlockchainDataDto Additional fields per blockchain - can be empty or missing if not initialized or no additional info exists. The type depends on the chainDescriptor value. For Solana (SOL), stake account address. For Ethereum (ETH), an empty object is returned as no specific data is available.
relatedRequests List<RelatedRequestDto> An array of partial unstake requests for this position, relevant only for the Lido provider. Each object includes the status of the unstake request, a boolean indicating whether the action is in progress, the amount of tokens to unstake, and the transaction ID of the request. With Lido, a position may have multiple partial unstake requests in different states. This field is optional and not applicable for other providers. [optional]