tools-data-providers

Home > @lukso/data-provider-base > BaseFormDataUploader > resolveUrl

BaseFormDataUploader.resolveUrl() method

Convert the upload JSON result to a URL. In most of the current cases it will read Hash or IpfsHash and return ipfs://${hash}.

Signature:

resolveUrl(result: any): string;

Parameters

Parameter Type Description
result any JSON result from the upload

Returns:

string

URL to the uploaded content