Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 2.86 KB

File metadata and controls

50 lines (41 loc) · 2.86 KB

SwapActivityDetail

Properties

Name Type Description Notes
activity_id str The unique identifier of the swap activity. [optional]
swap_type SwapType [optional]
status SwapActivityStatus [optional]
request_id str The request ID of the swap transaction. [optional]
wallet_id str The ID of the wallet used to pay. [optional]
pay_token_id str The ID of the token to pay. [optional]
receive_token_id str The ID of the token to receive. [optional]
pay_amount str The amount of the token to pay. [optional]
receive_amount str The amount of the token to receive. [optional]
fee_token_id str The ID of the token used for paying the service fee. [optional]
fee_amount str The amount of the service fee. [optional]
initiator str The initiator of the swap activity. [optional]
initiator_type TransactionInitiatorType [optional]
description str The description of the swap activity. [optional]
created_timestamp int The time when the swap activity was created, in Unix timestamp format, measured in milliseconds. [optional]
updated_timestamp int The time when the swap activity was last updated, in Unix timestamp format, measured in milliseconds. [optional]
network_fee TransactionRequestFee [optional]
destination_address str The address of an MPC Wallet or Custodial Wallet (Web3 Wallet) that receives the swapped or bridged assets. [optional]
timeline List[SwapActivityTimeline] [optional]
approvers List[SwapActivityApprovers] [optional]
signers List[SwapActivitySigners] [optional]
receiving_transaction SwapReceivingTransaction [optional]

Example

from cobo_waas2.models.swap_activity_detail import SwapActivityDetail

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

# convert the object into a dict
swap_activity_detail_dict = swap_activity_detail_instance.to_dict()
# create an instance of SwapActivityDetail from a dict
swap_activity_detail_from_dict = SwapActivityDetail.from_dict(swap_activity_detail_dict)

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