PostOrderResponse
Documentation for eth_defi.cow.order.PostOrderResponse Python class.
- class PostOrderResponse
Bases:
objectReply for opening an order at CowSwap API
Attributes summary
order_uidorder_dataMethods summary
__init__(order_uid, order_data)Get CowSwap explorer link for the order.
Get the order UID from the response data
- __init__(order_uid, order_data)
- Parameters
order_uid (str) –
order_data (eth_defi.cow.order.GPv2OrderData) –
- Return type
None
- get_explorer_link()
Get CowSwap explorer link for the order.
- Return type
- get_order_uid()
Get the order UID from the response data
- Return type