Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 2.46 KB

File metadata and controls

38 lines (29 loc) · 2.46 KB

ActivityExtra

Properties

Name Type Description Notes
pool_type StakingPoolType
finality_provider_public_key str The public key of the finality provider. [optional]
stake_block_time int The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. [optional]
auto_broadcast bool Whether to automatically broadcast the transaction. - `true`: Automatically broadcast the transaction. - `false`: The transaction will not be submitted to the blockchain automatically. You can call Broadcast signed transactions to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data `raw_tx` by calling Get transaction information and broadcast it yourself. [optional]
provider_name str The name of the provider. [optional]
validator_pubkeys List[str] A list of public keys associated with the Ethereum validators for this unstaking operation. [optional]
timelock int The Unix timestamp (in seconds) when the staking position will be unlocked and available for withdrawal. [optional]
change_address str The change address on the Bitcoin chain. If not provided, the source wallet's address will be used as the change address. [optional]
validator_address str The validator's EVM address. [optional]
reward_address str The EVM address to receive staking rewards. [optional]

Example

from cobo_waas2.models.activity_extra import ActivityExtra

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

# convert the object into a dict
activity_extra_dict = activity_extra_instance.to_dict()
# create an instance of ActivityExtra from a dict
activity_extra_from_dict = ActivityExtra.from_dict(activity_extra_dict)

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