Struct fireblocks_sdk::types::staking::StakingPosition
source · pub struct StakingPosition {Show 13 fields
pub id: String,
pub provider_id: String,
pub vault_account_id: u64,
pub validator_name: String,
pub provider_name: String,
pub chain_descriptor: String,
pub amount: BigDecimal,
pub rewards_amount: BigDecimal,
pub date_created: DateTime<Utc>,
pub in_progress: bool,
pub in_progress_tx_id: Option<String>,
pub validator_address: String,
pub available_actions: Vec<String>,
}
Fields§
§id: String
The unique identifier of the staking position
provider_id: String
The unique identifier of the staking provider
vault_account_id: u64
The source vault account to stake from.
validator_name: String
The destination validator address name.
provider_name: String
The destination validator provider name.
chain_descriptor: String
The blockchain descriptor to use.
amount: BigDecimal
Amount of tokens to stake.
rewards_amount: BigDecimal
The amount staked in the position, measured in the blockchain descriptor unit.
date_created: DateTime<Utc>
When was the request made (ISO Date).
in_progress: bool
The current status. An array of transaction objects related to this position. Each object includes a ‘txId’ representing the transaction ID and a ‘isSuccessful’ boolean indicating if the transaction was successful. Indicates whether there is an ongoing action for this position (true if ongoing, false if not).
in_progress_tx_id: Option<String>
The transaction ID of the ongoing request
validator_address: String
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. The destination address of the staking transaction.
available_actions: Vec<String>
An array of available actions that can be performed. for example, actions like “unstake” or “withdraw”.