Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.37 KB

File metadata and controls

44 lines (35 loc) · 2.37 KB

TransactionExtra

Properties

Name Type Description Notes
extra_type TransactionExtraType
babylon_address_info AddressInfo [optional]
btc_address_info AddressInfo [optional]
stake_amount str The original staking amount. [optional]
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]
param_version int The version of Babylon global parameters. [optional]
withdraw_from_type ActivityType [optional]
slash_from_type ActivityType [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 used to receive staking rewards. [optional]
dapp_name str The dapp name that initiated this transaction. [optional]
dapp_domain str The dapp domain that initiated this transaction [optional]
session_id str The session id that initiated this transaction [optional]

Example

from cobo_waas2.models.transaction_extra import TransactionExtra

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

# convert the object into a dict
transaction_extra_dict = transaction_extra_instance.to_dict()
# create an instance of TransactionExtra from a dict
transaction_extra_from_dict = TransactionExtra.from_dict(transaction_extra_dict)

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