Home > @lukso/data-provider-base > BaseFormDataUploader > resolveUrl
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;
Parameter | Type | Description |
---|---|---|
result | any | JSON result from the upload |
Returns:
string
URL to the uploaded content