/templates

Endpoint allowing manipulations with NFT templates

Gets all NFT templates for authenticated seller

GET https://platform.artcart.cloud/api/transactional/templates

Gets all NFT templates for authenticated seller as a list of JSONs.

Headers

NameTypeDescription

Authorization*

Bearer token

Authorization token

[{
    _id: "6213ec177a82c15445554b53",
    name: "my name",
    image_ipfshash: "QmdQEtcVE5p9aFxt7YSHAFZYDFvjmVQbHFTeumBx7oC8e5",
    meta_ipfshash: "QnFDFKSRFNPyZPZgDLbuBoHWp89GJoku73XkaQCFHN2Vdd",
    author_email: "email@gmail.com",
    author_wallet: "0xd0a9ffBDDC03326c8AeC4287d8e6a3d92d1F7C4d",
    nft_address: "0xB0EA149212Eb707a1E5FC1D2d3fD318a8d94cf05",
    limit: "2",
    count: 2
}]

POST https://platform.artcart.cloud/api/transactional/templates

Create new NFT template for authenticated seller by submitting a multipart form.

Headers

NameTypeDescription

Content-Type*

multipart/form-data

Authorization*

Bearer token

Authorization token

Request Body

NameTypeDescription

image*

Blob

name*

String

Name of your NFT

description*

String

Description of your NFT

collection*

String

Contract address that will be used for minting

limit*

int

How many time NFT can be issued. 0 for no limit.

author_wallet*

String

Address of the NFT author wallet

{
    // Response
}

Please note, that post request uses multi-part form, not JSON body. The list of possible collection values:

Rarible mainnet

0xF6793dA657495ffeFF9Ee6350824910Abc21356C

Rarible rinkby

0x6ede7f3c26975aad32a475e1021d8f6f39c89d82

Rarible ropsten

0xB0EA149212Eb707a1E5FC1D2d3fD318a8d94cf05

Delete template

DELETE https://platform.artcart.cloud/api/transactional/templates/:id

Deletes specific template identified by id for authenticated seller.

Path Parameters

NameTypeDescription

id*

String

id of an NFT template

Headers

NameTypeDescription

Authorization*

Bearer token

Authorization token

{
    // Response
}

Last updated