ao-js-sdk - v0.0.9
    Preparing search index...

    Interface RandomClientConfig

    Base configuration interface shared by all ao clients. Provides essential configuration properties required for interacting with ao processes.

    interface RandomClientConfig {
        aoConfig?: ConnectArgsLegacy;
        processId: string;
        retriesEnabled?: boolean;
        tokenAOConfig: ConnectArgsLegacy;
        tokenProcessId: string;
        wallet: any;
    }

    Hierarchy (View Summary)

    Index

    Properties

    aoConfig?: ConnectArgsLegacy

    Allows you to specify how to interact with AO Defaults if not specified

    processId: string

    The ID of the ao process that this client will interact with. This identifies the specific process running on the ao network.

    retriesEnabled?: boolean

    Should this client retry requests when failed for reasons associated with RPC.

    tokenAOConfig: ConnectArgsLegacy
    tokenProcessId: string

    Process ID for the token contract used for staking

    wallet: any

    The wallet used for signing transactions.

    Use getWalletLazy utility to get the proper wallet in browser or node environments