Create a new collection
POST {{baseUrl}}/tokenization/collections
Create a new collection and link it as a token
Request Body
{"baseAssetId"=>"<string>", "vaultAccountId"=>"<string>", "type"=>"NON_FUNGIBLE_TOKEN", "name"=>"<string>", "symbol"=>"<string>", "adminAddress"=>"<string>", "displayName"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Idempotency-Key | string | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"\u003cstring\u003e","status":"COMPLETED","type":"NON_FUNGIBLE_TOKEN","displayName":"\u003cstring\u003e","collectionMetadata":{"fbCollectionId":"\u003cstring\u003e","blockchainDescriptor":"\u003cstring\u003e","name":"\u003cstring\u003e","symbol":"\u003cstring\u003e","standard":"\u003cstring\u003e","contractAddress":"\u003cstring\u003e"}}