Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.8 KB

File metadata and controls

40 lines (31 loc) · 2.8 KB

CreateStakeActivityExtra

Properties

Name Type Description Notes
pool_type StakingPoolType
finality_provider_public_key str The public key of the finality provider.
finality_provider_public_keys List[str] The public keys of the finality providers, with each key corresponding to a BSN chain. [optional]
stake_block_time int The number of blocks that need to be processed before the locked tokens are unlocked and become accessible.
auto_broadcast bool Whether to automatically broadcast the transaction. The default value is `true`. - `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]
babylon_address StakingSource [optional]
original_staking_id str The original staking ID to expand. Only set this when you want to expand existing staking. [optional]
provider_name str The name of the provider.
timelock int The Unix timestamp (in seconds) when the staking position will be unlocked and available for withdrawal.
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.
reward_address str The EVM address to receive staking rewards.

Example

from cobo_waas2.models.create_stake_activity_extra import CreateStakeActivityExtra

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

# convert the object into a dict
create_stake_activity_extra_dict = create_stake_activity_extra_instance.to_dict()
# create an instance of CreateStakeActivityExtra from a dict
create_stake_activity_extra_from_dict = CreateStakeActivityExtra.from_dict(create_stake_activity_extra_dict)

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