Build swap calldata for the network's canonical router from a quote.
The caller must hold quote.amountIn of the input token and have approved the router for it (see ensureApproval).
quote.amountIn
StockTokenEligibilityError when the output token is a canonical Stock Token and the client did not acknowledge eligibility.
Build swap calldata for the network's canonical router from a quote.
The caller must hold
quote.amountInof the input token and have approved the router for it (see ensureApproval).