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

    Interface LumeraClientConfig

    Configuration options for LumeraClient

    interface LumeraClientConfig {
        address: string;
        chainId?: string;
        gasPrice?: string;
        http?: { maxRetries?: number; timeout?: number };
        lcdUrl?: string;
        preset?: "testnet" | "mainnet";
        rpcUrl?: string;
        signer: OfflineSigner;
        snapiUrl?: string;
    }
    Index

    Properties

    address: string

    Bech32 address of the signing account

    chainId?: string

    Custom blockchain network identifier (overrides preset)

    gasPrice?: string

    Gas price string (e.g., "0.025ulume")

    "0.025ulume"
    
    http?: { maxRetries?: number; timeout?: number }

    HTTP client configuration for sn-api requests

    Type Declaration

    • OptionalmaxRetries?: number

      Maximum retry attempts

      3
      
    • Optionaltimeout?: number

      Request timeout in milliseconds

      30000
      
    lcdUrl?: string

    Custom LCD REST API URL (overrides preset)

    preset?: "testnet" | "mainnet"

    Chain preset to use ("testnet" or "mainnet") Alternatively, provide custom rpcUrl, lcdUrl, chainId, and snapiUrl

    rpcUrl?: string

    Custom Tendermint RPC URL (overrides preset)

    signer: OfflineSigner

    CosmJS offline signer (wallet) for transaction signing

    snapiUrl?: string

    Custom SN-API base URL (overrides preset)