Skip to main content
Archived documentation for @eco-incorp/sauce@0.99.16. Install this release with npm install --save-exact @eco-incorp/sauce@0.99.16. Links to guides outside this tab open current documentation.
@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.

prepareExecuteTransaction

Function ยท @eco-incorp/sauce/svm buildExecuteTransactionโ€™s transaction, compiled now and signed only when asked.

buildExecuteTransaction

Function ยท @eco-incorp/sauce/svm Builds and fully signs a v0 transaction, optionally compressed through address lookup tables.

measureExecuteTransaction

Function ยท @eco-incorp/sauce/svm The transaction buildExecuteTransaction builds from the same fee payer, instructions and tables, compiled with no signature and a placeholder blockhash: what it measures (getTransactionSize) and the accounts it lists (lookupTableAddresses), known without a blockhash and without asking any signer for anything.

TRANSACTION_SIZE_LIMIT

Variable ยท @eco-incorp/sauce/svm The largest legacy or v0 transaction on the wire, in bytes - every transaction the SDK builds is one. Kit keeps its own copy of the number private since its v1 transactions, which allow more.

SignedExecuteTransaction

Type ยท @eco-incorp/sauce/svm

BuildExecuteTransactionInput

Interface ยท @eco-incorp/sauce/svm

PreparedExecuteTransaction

Interface ยท @eco-incorp/sauce/svm The transaction buildExecuteTransaction builds, compiled with every signature slot empty, and how to sign it: for a caller that simulates or checks it before anything is signed. Signing compiles the same message, so the signed transactionโ€™s bytes are these.

MeasureExecuteTransactionInput

Interface ยท @eco-incorp/sauce/svm