@eco-incorp/sauce/actions lowers routing intents into Sauce programs and carries the AMM and bridge action primitives.
actions/dist/to-quote.d.ts.
Generated from the type declarations shipped in
@eco-incorp/sauce 0.99.4. Each entry shows the package authors’ JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see architecture and deployments.actionToQuote
Function · actions/dist/to-quote.d.ts
Compile a swap action into calldata for quoting the output amount via eth_call.
Every supported action resolves to a view or revert-simulation call that
does not require token balance or approvals.
Some protocols use a separate quoter/resolver contract. Pass the relevant
address in QuoteOpts when quoting those protocols.
QuoteCall
Interface · actions/dist/to-quote.d.ts
Result of compiling a swap action into a quote call.
QuoteOpts
Interface · actions/dist/to-quote.d.ts
External contract addresses needed for quoting protocols that use a
separate quoter / resolver / impact contract.
