PostOrderResponse

Documentation for eth_defi.cow.order.PostOrderResponse Python class.

class PostOrderResponse

Bases: object

Reply for opening an order at CowSwap API

Attributes summary

order_uid

order_data

Methods summary

__init__(order_uid, order_data)

get_explorer_link()

Get CowSwap explorer link for the order.

get_order_uid()

Get the order UID from the response data

__init__(order_uid, order_data)
Parameters
Return type

None

get_explorer_link()

Get CowSwap explorer link for the order.

Return type

str

get_order_uid()

Get the order UID from the response data

Return type

str