arkiv-sdk
    Preparing search index...

    Function createROClient

    • Creates a read-only client for querying an arkiv op-geth node.

      This client can fetch metadata, search for keys, and inspect the current state, but cannot write to the blockchain.

      Parameters

      • chainId: number

        The chain ID of the Ethereum-compatible network.

      • rpcUrl: string

        The HTTP endpoint for RPC requests.

      • wsUrl: string

        The WebSocket endpoint for listening to events.

      • logger: Logger<ILogObj> = ...

        A logger instance. Defaults to a silent logger if omitted.

      Returns ArkivROClient

      An instance of ArkivROClient.