packEthFlowData
packEthFlowData(
d):string
Defined in: protocol-swap2-cow/src/ethflow.ts:161
The order data as one hex string — it rides in the swap’s status id, so a refund can be built later with nothing but that id: buyToken (20) ‖ receiver (20) ‖ sellAmount (32) ‖ buyAmount (32) ‖ appData (32) ‖ validTo (4) ‖ quoteId (8).
Parameters
Section titled “Parameters”Returns
Section titled “Returns”string