Helius SDK - v2.2.2
    Preparing search index...

    Interface GetComputeUnitsOpts

    Options for the compute-unit simulation step.

    interface GetComputeUnitsOpts {
        bufferPct?: number;
        min?: number;
    }
    Index

    Properties

    Properties

    bufferPct?: number

    Buffer percentage added on top of simulated CU. Defaults to 0.1 (10%).

    min?: number

    Minimum CU floor for very small transactions. Defaults to 1,000.