url
- A gateway url that should take one of the following forms:ipfs://CID
ipfs://ipfs/CID
https://example-gateway.com/ipfs/CID
https://example-gateway.com/ipfs/CID/exampleFile.json
https://example-gateway.com/ipns/CID
sourceUrl
- A gateway url that should take one of the following forms:ipfs://CID
ipfs://ipfs/CID
https://example-gateway.com/ipfs/CID
https://example-gateway.com/ipfs/CID/exampleFile.json
https://example-gateway.com/ipns/CID
desiredGatewayPrefix
- The desired gateway you want to convert your source URL to. A few examples of this would be:https://mygateway.mypinata.cloud
https://ipfs.io