Creates a new Resolver client with the given configuration supplied as IResolverConfig interface. If not supplied, the default configuration containing a list of community-operated resolvers will be used.
Optional
args: string[] | IResolverConfigReadonly
urlsList of public Spectre Resolver URLs.
Connect to a public Spectre wRPC endpoint for the given encoding and network identifier supplied via IResolverConnect interface.
Fetches a public Spectre wRPC endpoint for the given encoding and network identifier.
Resolver is a client for obtaining public Spectre wRPC URL.
Resolver queries a list of public Spectre Resolver URLs using HTTP to fetch wRPC endpoints for the given encoding, network identifier and other parameters. It then provides this information to the RpcClient.
Each time RpcClient disconnects, it will query the resolver to fetch a new wRPC URL.
See
IResolverConfig, IResolverConnect, RpcClient