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: StringThe unique identifier of the staking position
provider_id: StringThe unique identifier of the staking provider
vault_account_id: u64The source vault account to stake from.
validator_name: StringThe destination validator address name.
provider_name: StringThe destination validator provider name.
chain_descriptor: StringThe blockchain descriptor to use.
amount: BigDecimalAmount of tokens to stake.
rewards_amount: BigDecimalThe amount staked in the position, measured in the blockchain descriptor unit.
date_created: DateTime<Utc>When was the request made (ISO Date).
in_progress: boolThe 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: StringAdditional 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”.