nftERC1155CollectionUpdate
PUT/api/v1/recipes/nfts/erc-1155/collection/
Update a ERC1155 NFT Collection from a deployed contract
Request
- application/json
Body
required
The contractId of the ERC1155 contract.
The tokenId of the ERC1155 Collection at the contract.
The bytes media to assign to the ERC1155 collection created.
The name of the ERC1155 collection token.
The description of the ERC1155 collection token.
Default value: [object Object]
Extra metadata to be stored in the ERC1155 collection token.
Responses
- 201
- 400
- 404
- 409
- 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",
"hash": "string",
"from": "string",
"to": "string",
"value": "string",
"blockchainId": 0,
"vaultId": "string",
"contractId": "string",
"status": "TO_BE_SENT"
}
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [true
]
Possible values: [400
]
Possible values: [errors.recipe.invalidMedia
, errors.contract.invalidArgs
, errors.contract.invalidValue
, errors.insufficientFunds
, errors.failedToEstimateTransaction
]
{
"error": true,
"statusCode": 400,
"code": "errors.recipe.invalidMedia",
"data": {}
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [true
]
Possible values: [404
]
Possible values: [errors.recipe.collectionNotFound
]
{
"error": true,
"statusCode": 404,
"code": "errors.recipe.collectionNotFound",
"data": {}
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [true
]
Possible values: [409
]
Possible values: [errors.recipe.collectionLocked
]
{
"error": true,
"statusCode": 409,
"code": "errors.recipe.collectionLocked",
"data": {}
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [true
]
Possible values: [503
]
Possible values: [errors.recipe.failUploadingToIpfs
, errors.contract.failedToSend
]
{
"error": true,
"statusCode": 503,
"code": "errors.recipe.failUploadingToIpfs",
"data": {}
}