UploadResult¶
Namespace Nfty.Core.Publish.Ipfs in assembly Nfty.Core.
What an upload pinned, and the addresses a contract needs.
Constructors¶
UploadResult(string, string, string?, string, string, string?, ExportResult, IReadOnlyList<string>)¶
public UploadResult(string Provider, string ImageCid, string? ModelCid, string MetadataCid, string BaseUri, string? ContractUri, ExportResult Local, IReadOnlyList<string> Warnings);
Parameters
Provider(string) - Who pinned it.ImageCid(string) - The CID of theimages/folder's contents.ModelCid(string?) - The CID ofmodels/, or null when no models were uploaded.MetadataCid(string) - The CID ofmetadata/(withcollection.jsonbeside the token files when written).BaseUri(string) - The contract'sbaseURI:ipfs://<metadata CID>/.ContractUri(string?) - The contract'scontractURI, or null when nocollection.jsonwas written.Local(ExportResult) - The export written to the chosen folder, carrying the same addresses.Warnings(IReadOnlyList<string>) - What about the result is worth stopping for, in Core's words.
Properties¶
BaseUri¶
The contract's baseURI: ipfs://<metadata CID>/.
ContractUri¶
The contract's contractURI, or null when no collection.json was written.
ImageCid¶
The CID of the images/ folder's contents.
Local¶
The export written to the chosen folder, carrying the same addresses.
MetadataCid¶
The CID of metadata/ (with collection.json beside the token files when written).
ModelCid¶
The CID of models/, or null when no models were uploaded.
Provider¶
Who pinned it.
Warnings¶
What about the result is worth stopping for, in Core's words.