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

    Interface StellarExecuteStrategyBuilderOptions

    interface StellarExecuteStrategyBuilderOptions {
        caller: string;
        fee?: string;
        network: StellarNetwork;
        referralId?: string | number;
        routerAddress: string;
        sourceAccount?: string;
        sourceSequence: string;
        timeoutSeconds?: number;
        totalIn: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    caller: string

    Authorizing asset owner (G... account or C... smart account).

    fee?: string

    Base fee in stroops (default BASE_FEE = "100").

    Must match the API deployment, RPC and signing wallet.

    referralId?: string | number

    Referral identifier used only when the swap input is a decoded StrategyPayload object and does not already include referralId. Quote routeXdr already contains the referral chosen by the quote server.

    routerAddress: string

    Aggregator router contract (C...) selected by the host application.

    sourceAccount?: string

    G... transaction source; defaults to caller. Required for a C... caller.

    sourceSequence: string

    Current sequence number of sourceAccount ?? caller, as a decimal string. Fetch this from Soroban RPC (server.getAccount(sourceAccount ?? caller)) before building. Keeping it as an input (rather than fetching inside the builder) makes builders sync-friendly, RPC-free, and deterministic for snapshot tests.

    timeoutSeconds?: number

    Tx timeout in seconds (default 300).

    totalIn: string

    Total input amount passed to execute_strategy (i128 decimal string). For a quote-derived swap, pass quote.amountIn.