Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.67 KB

File metadata and controls

35 lines (26 loc) · 1.67 KB

CreateStakeActivityRequest

Properties

Name Type Description Notes
request_id str The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. [optional]
source StakingSource [optional]
pool_id StakingPoolId
amount str The amount to stake.
fee TransactionRequestFee
extra CreateStakeActivityExtra [optional]
app_initiator str The initiator of the staking activity. If you do not specify this property, the WaaS service will automatically designate the API key as the initiator. [optional]

Example

from cobo_waas2.models.create_stake_activity_request import CreateStakeActivityRequest

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

# convert the object into a dict
create_stake_activity_request_dict = create_stake_activity_request_instance.to_dict()
# create an instance of CreateStakeActivityRequest from a dict
create_stake_activity_request_from_dict = CreateStakeActivityRequest.from_dict(create_stake_activity_request_dict)

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