execute_presigned_cowswap_order

Documentation for eth_defi.erc_4626.vault_protocol.lagoon.cowswap.execute_presigned_cowswap_order function.

execute_presigned_cowswap_order(chain_id, order, trade_timeout=datetime.timedelta(seconds=600), api_timeout=datetime.timedelta(seconds=60))

Execute a presigned CowSwap order.

  • Post the order to CowSwap API

  • Wait for the order to complete

Returns

CowSwapResult with order UID and final status

Parameters
Return type

eth_defi.cow.status.CowSwapResult