You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initiator of the swap activity. It is optional and defaults to your API key if not specified.
[optional]
request_id
str
The request ID of the swap activity.
[optional]
receiver_address
str
The destination address of the swap activity. This property is required only when the swap type is `Bridge` and the wallet is not a Custodial Wallet (Asset Wallet).
fromcobo_waas2.models.create_swap_activity_requestimportCreateSwapActivityRequest# TODO update the JSON string belowjson="{}"# create an instance of CreateSwapActivityRequest from a JSON stringcreate_swap_activity_request_instance=CreateSwapActivityRequest.from_json(json)
# print the JSON string representation of the objectprint(CreateSwapActivityRequest.to_json())
# convert the object into a dictcreate_swap_activity_request_dict=create_swap_activity_request_instance.to_dict()
# create an instance of CreateSwapActivityRequest from a dictcreate_swap_activity_request_from_dict=CreateSwapActivityRequest.from_dict(create_swap_activity_request_dict)