Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 2.81 KB

File metadata and controls

46 lines (37 loc) · 2.81 KB

Delegation

Properties

Name Type Description Notes
id str The unique identifier of the staking position
vault_account_id str The source vault account to stake from
validator_name str The destination validator address name
provider_name str The destination validator provider name
chain_descriptor str The protocol identifier (e.g. "ETH"/ "SOL") to use
amount str Total value of the staking position. For Solana, Lido and Ethereum (compounding validator): includes the original stake plus accumulated rewards. For MATIC, Cosmos and Ethereum (legacy validator): refers to the amount currently staked.
rewards_amount str The amount staked in the position, measured in the staked asset unit.
date_created datetime When was the request made (ISO Date).
date_updated datetime When has the position last changed (ISO Date).
status str The current status.
related_transactions List[RelatedTransaction] 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.
validator_address str The destination address of the staking transaction.
provider_id StakingProvider
available_actions List[str] An array of available actions that can be performed. for example, actions like "unstake" or "withdraw".
in_progress bool Indicates whether there is an ongoing action for this position related to this request
in_progress_tx_id str The transaction ID of the initial stake position request only. Only present when there is an active initial stake transaction. [optional]
blockchain_position_info DelegationBlockchainPositionInfo
related_requests List[RelatedRequest] [optional]

Example

from fireblocks.models.delegation import Delegation

# TODO update the JSON string below
json = "{}"
# create an instance of Delegation from a JSON string
delegation_instance = Delegation.from_json(json)
# print the JSON string representation of the object
print(Delegation.to_json())

# convert the object into a dict
delegation_dict = delegation_instance.to_dict()
# create an instance of Delegation from a dict
delegation_from_dict = Delegation.from_dict(delegation_dict)

[Back to Model list] [Back to API list] [Back to README]