w3-io/W3 CoW Swap Action

MEV-protected swaps via CoW Protocol batch auctions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandOperation to perform (quote, submit-order, get-order, get-trades, cancel-order, limit-order)yes
chainTarget chain (ethereum, gnosis, arbitrum, base, sepolia)yes
sell-tokenToken to sell (address or "ETH"/"native" for the native token)no
buy-tokenToken to buy (address or "ETH"/"native" for the native token)no
amountAmount to sell in base units (before fees)no
fromSender wallet addressno
receiverReceiver wallet address (defaults to from)no
quoteJSON quote response from the quote command (for submit-order)no
order-idOrder UID (for get-order, get-trades, and cancel-order commands). cancel-order requires signer access (bridge-allow and W3_SECRET_ETHEREUM).no
buy-amountMinimum acceptable buy amount in base units (for limit-order)no
valid-forSeconds until order expiry (for limit-order, default 3600)no3600
namedescription
resultJSON result of the operation