Skip to main content
@eco-incorp/sauce/svm is the Solana side: the client (createSauceSvmClient), clusters, PDAs, account resolution against the compiler’s account manifest, Kitchen and engine instructions, transactions and sending, token accounts, and compute planning for @sauce/router’s Solana venues. @eco-incorp/sauce/svm/engine exports the engine’s wire format and instruction builders, @eco-incorp/sauce/svm/verify verifies settle programs and engine CPI data, and @eco-incorp/sauce/svm/engine-artifacts (Node only) returns file paths to the packaged engine and Kitchen binaries.
Generated from the type declarations of @eco-incorp/sauce.

simulateExecute

Function · @eco-incorp/sauce/svm Simulates a signed execute transaction. A Custom(0) error from the execute instruction is a sauce REVERT: the revert payload rides in returnData and surfaces as revert.payload. All other engine failures map to the same InvalidInstructionData instruction error and are NOT distinguishable from each other except by reading logs. Failures of other instructions (prepends) surface as plain err - never as revert.

sendExecute

Function · @eco-incorp/sauce/svm Sends a signed execute transaction, confirms it, and reads back return data from the transaction meta.

recommendedComputeUnitLimit

Function · @eco-incorp/sauce/svm Simulated units padded 20% (rounded up), capped at the engine’s 1.4M CU budget.

SimulateExecuteResult

Interface · @eco-incorp/sauce/svm

SimulatedAccount

Interface · @eco-incorp/sauce/svm An account as a simulation leaves it.

SimulateExecuteOptions

Interface · @eco-incorp/sauce/svm

SendExecuteInput

Interface · @eco-incorp/sauce/svm

SendExecuteResult

Interface · @eco-incorp/sauce/svm