@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;
        sourceSequence: string;
        timeoutSeconds?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    caller: string

    Transaction source and authorizing wallet public key (G...).

    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.

    sourceSequence: string

    Current sequence number of the caller account, as a decimal string. Callers fetch this from Soroban RPC (server.getAccount(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).