/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
Name | Type | Description |
---|---|---|
Authorization* | Bearer token | Authorization token |
POST
https://platform.artcart.cloud/api/transactional/templates
Create new NFT template for authenticated seller by submitting a multipart form.
Headers
Name | Type | Description |
---|---|---|
Content-Type* | multipart/form-data | |
Authorization* | Bearer token | Authorization token |
Request Body
Name | Type | Description |
---|---|---|
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 |
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
Name | Type | Description |
---|---|---|
id* | String | id of an NFT template |
Headers
Name | Type | Description |
---|---|---|
Authorization* | Bearer token | Authorization token |
Last updated