Skip to main content
@eco-incorp/sauce/svm is the Solana side: staging a program through the kitchen, resolving accounts against the compiler’s account manifest, building and sending transactions, and verifying settle programs. Solana execution goes through the Kitchen client here; the SDK’s SVM route helpers emit a legacy instruction that the released engine does not accept.
This page covers sdk/dist/svm/prepends.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.

buildHeapFramePrepend

Function · sdk/dist/svm/prepends.d.ts RequestHeapFrame(262144) - REQUIRED on every execute/simulate transaction: interpreter memory lives in the transaction’s 256 KiB BPF heap frame, and a transaction without the request aborts deterministically before any opcode. Add-once beside SetComputeUnitLimit - duplicate ComputeBudget instruction types fail the whole transaction (the client’s execute flows attach it automatically; use this when assembling transactions by hand). Buffer staging transactions do not need it.

buildComputeBudgetPrepend

Function · sdk/dist/svm/prepends.d.ts

buildAtaPrepend

Function · sdk/dist/svm/prepends.d.ts Idempotent ATA creation - safe to prepend whether or not the ATA already exists.

buildWrapSolPrepends

Function · sdk/dist/svm/prepends.d.ts Idempotent wSOL ATA + SOL transfer + SyncNative - wraps lamports into the owner’s wSOL account.

NATIVE_MINT

Variable · sdk/dist/svm/prepends.d.ts Wrapped SOL mint (not exported by
  • @solana-program /token).

ComputeBudgetPrependInput

Interface · sdk/dist/svm/prepends.d.ts

AtaPrependInput

Interface · sdk/dist/svm/prepends.d.ts

WrapSolPrependsInput

Interface · sdk/dist/svm/prepends.d.ts