nftCreate
POST/api/v1/recipes/nfts/create/
Create a new NFT
Request
- application/json
Body
required
Possible values: [BaseERC721
, PurchasableERC721
, RoyaltiesERC721
, SoulboundERC721
, BaseERC1155
, PurchasableERC1155
, RoyaltiesERC1155
, SoulboundERC1155
]
Responses
- 201
- 400
- 404
- 503
Default Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [false
]
Possible values: [201
]
data objectrequired
Possible values: [TO_BE_SENT
, FAILED_TO_SEND
, SENT
, CONFIRMED
, FAILED
]
{
"error": false,
"statusCode": 201,
"data": {
"id": "string",
"name": "string",
"address": "string",
"blockchainId": 0,
"vaultId": "string",
"templateName": "string",
"deploymentStatus": "TO_BE_SENT"
}
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [true
]
Possible values: [400
]
Possible values: [errors.contract.noConstructor
, errors.contract.invalidArgs
]
{
"error": true,
"statusCode": 400,
"code": "errors.contract.noConstructor",
"data": {}
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [true
]
Possible values: [404
]
Possible values: [errors.recipe.typeNotFound
, errors.template.notFound
, errors.blockchain.notFound
, errors.vault.notFound
, errors.insufficientFunds
, errors.failedToEstimateTransaction
]
{
"error": true,
"statusCode": 404,
"code": "errors.recipe.typeNotFound",
"data": {}
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [true
]
Possible values: [503
]
Possible values: [errors.contract.failedToSend
]
{
"error": true,
"statusCode": 503,
"code": "errors.contract.failedToSend",
"data": {}
}