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

    Interface StellarLendingBuilderOptions

    Shared options plus the lending controller contract selected by the host.

    interface StellarLendingBuilderOptions {
        caller: string;
        controllerAddress: string;
        fee?: string;
        network: StellarNetwork;
        sourceAccount?: string;
        sourceSequence: string;
        timeoutSeconds?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    caller: string

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

    controllerAddress: string

    Soroban lending controller contract (C...). Supplied by the host app.

    fee?: string

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

    Must match the API deployment, RPC and signing wallet.

    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).