HORIZON HASKELLDocslts/ghc-9.14.x99ffbb82026-10-19Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 99ffbb8 · 2026-10-19

Modulesolana-haskell-sdk-1.3.0.0GHC2021

Network.Solana.NativePrograms.ComputeBudget

Client for the Compute Budget program: instructions setting a transaction's compute-unit limit, compute-unit price (priority fee), heap size and loaded-accounts data size limit. Instruction data is byte-verified against the Rust SDK.

Synopsis

Compute Budget program address. This program contains instructions to set transaction-wide compute limits, heap size and a compute unit price ("priority fee") for transaction prioritization.

Compute Budget instructions, serialized in the Rust SDK's borsh layout: a single-byte discriminant followed by the little-endian field. The deprecated variant 0 is intentionally not modeled.

Constructors

Instances5Eq, Show, Generic, Binary, Rep