Metadata uploader
[apis/nftport/v0/Metadata uploader]

Uploads NFT metadata to IPFS, and returns the metadata URL and the metadata that was uploaded. Upload metadata to IPFS: https://docs.nftport.xyz/docs/nftport/?search=upload-metadata-to-ipfs
Keywords: web3, blockchain, crypto, nft, product, dynamic, upload, minting
Input ports
metadata:
{ "name": string, "description": string, "file_url": string, optional "external_url": string, optional "animation_url": string, optional "custom_fields": {string: string}, optional "attributes": { "trait_type": string, "value": (string or number), optional "max_value": number, optional "display_type": ( "boost_number" or "boost_percentage" or "number" or "date" ) }[] }
Receives NFT metadata. Rerefence: https://docs.nftport.xyz/docs/nftport/?search=upload-metadata-to-ipfs#request-body
params:
{"api_key": string}
Rerefence: https://docs.nftport.xyz/docs/nftport/?search=upload-metadata-to-ipfs#request-body
Output ports
data:
{ "response": "OK", "metadata_uri": string, optional "name": string, optional "description": string, optional "file_url": string, optional "external_url": string, optional "animation_url": string, optional "custom_fields": {string: string}, optional "attributes": { "trait_type": string, "value": (string or number), optional "max_value": number, optional "display_type": ( "boost_number" or "boost_percentage" or "number" or "date" ) }[] }
Sends the details of the NFT metadata and the uploaded metadata URI which you can use in Customizable minting. Rerefence: https://docs.nftport.xyz/docs/nftport/?search=upload-metadata-to-ipfs#response-body
response:
{"status": number, "headers": {string: any}, "body": string}
Sends the original response.
error:
{"error": string, "details": any}
Last updated