/** * Stellar Constants */ import type { IStellarNetwork } from './types'; export declare const STELLAR_CHAIN_ID: number; export declare const STELLAR_CHAIN: { name: string; chainId: number; explorer: string; }; export declare const SOROBAN_RPC_URLS: Record; export declare const NETWORK_PASSPHRASES: Record; export declare const STELLAR_FALLBACK_DECIMALS = 7; /** * Validity window for a submitted Soroban invocation (seconds). * * This becomes the transaction's `maxTime`. Validators reject a tx whose * `maxTime` has passed (`txTOO_LATE`), so the window must outlast the slowest * realistic sign-then-submit path: hardware wallets, careful manual review, * and institutional approval flows (e.g. Fordefi) that don't sign instantly. * 10 minutes comfortably covers those while staying well inside the Soroban * footprint/ledger-entry TTL, so the simulated footprint can't go stale first. * * The window is anchored to the *network* clock (see `getNetworkCloseTime` in * soroban.ts), not the signer's `Date.now()`, so a skewed device clock can't * make the deadline expire early. */ export declare const TX_TIMEOUT_SECONDS = 600; /** Timeout for read-only Soroban simulation queries (seconds). */ export declare const QUERY_TIMEOUT_SECONDS = 10; /** * Max fee ceiling in stroops (1_000_000 stroops = 0.1 XLM). * assembleTransaction adjusts to the actual fee from simulation. */ export declare const MAX_FEE_STROOPS = "1000000"; /** Initial confirmation-poll interval (ms). Grows up to {@link POLL_INTERVAL_MAX_MS}. */ export declare const POLL_INTERVAL_MS = 2000; /** Cap for the backed-off confirmation-poll interval (ms). */ export declare const POLL_INTERVAL_MAX_MS = 8000; /** Multiplier applied to the poll interval after each NOT_FOUND poll. */ export declare const POLL_INTERVAL_BACKOFF = 1.5; /** Maximum number of polling attempts before timeout. */ export declare const MAX_POLL_ATTEMPTS = 30;