tools-data-providers

Home > @lukso/data-provider-urlresolver > UrlResolver > resolveUrl

UrlResolver.resolveUrl() method

Resolves a URL to a gateway URL. Supports possible multiple converters transforming the URL in sequence until no converter matches.

Signature:

resolveUrl(_url: string): string;

Parameters

Parameter Type Description
_url string  

Returns:

string

resolved url (if resolver is found, otherwise the parameter url is returned)