@thruputchain/client
    Preparing search index...

    Type Alias RpcClient

    RpcClient: RpcMethods & {
        discovery: RpcDiscovery;
        refreshDiscovery(options?: TransportRequestOptions): Promise<RpcDiscovery>;
        requireMethods(methods: readonly (keyof RpcRequests)[]): void;
    }

    Type Declaration

    • Readonlydiscovery: RpcDiscovery

      Copy of the last explicitly refreshed, validated discovery snapshot.

    • refreshDiscovery: function
    • requireMethods: function
      • Check the configured methods before composing a multi-call workflow.

        Parameters

        Returns void