@xoxno/sdk-js
    Preparing search index...

    Interface StellarPrepareOptions

    Options for preparing unsigned XDR. The wallet must sign on this network.

    interface StellarPrepareOptions {
        instructionLeeway?: number;
        invokedContractId?: string;
        network?: StellarNetwork;
    }
    Index

    Properties

    instructionLeeway?: number

    Extra CPU instructions requested from simulation (default 20,000,000). Covers the measured ~11.84M instruction increase across a ledger boundary for a ten-position accrual flow, with headroom. Must be an integer from 0 to 4294967295. Increase for measured execution variance; this margin does not guarantee coverage of later state changes or maximum-position flows. The resulting resources must fit network limits.

    invokedContractId?: string

    Contract used to qualify errors before mapping controller/pool error codes.

    network?: StellarNetwork

    Selected Stellar network. Omission preserves the legacy unsigned-XDR API.