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

    Interface StellarGovernanceBuilderOptions

    Shared options plus the governance timelock contract selected by the host.

    interface StellarGovernanceBuilderOptions {
        caller: string;
        fee?: string;
        governanceAddress: string;
        network: StellarNetwork;
        sourceSequence: string;
        timeoutSeconds?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    caller: string

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

    fee?: string

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

    governanceAddress: string

    Soroban governance/timelock contract (C...). Supplied by the host app.

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