v1

latestOpenAPI 3.0.42026-08-063630188.2 KB
UploadNft

Upload a File to a project and pin it to IPFS

With this API you can upload a file to IPFS and add it to a project. You can upload the file as BASE64 Content or as URL Link or as IPFS Hash. If you submit Metadata, this Metadata will be used instead of the Metadatatemplate from the project. You can either submit Metadata or MetadataPlaceholder, but not both (because it makes no sense). The Metadata field is optional and if you dont use it, it will use the Template from your project. It is poosible to mix both versions in one project. You can have one nft with own metadata and other nfts with the template.

post/UploadNft/{apikey}/{nftprojectid}

Path parameters

apikeystring required
nftprojectidinteger required

Request body

assetNamestring nullable
metadatastring nullable
metadataCip68string nullable

Response

Returns the UploadNftResult Class

nftIdinteger
nftUidstring nullable
ipfsHashMainnftstring nullable
ipfsHashSubfilesstring[] nullable
metadatastring nullable
assetIdstring nullable
metadataAptosstring nullable
metadataSolanastring nullable