Item Types
Last updated
Last updated
Creating an item type means a collection will be deployed on-chain, from which items (NFTs) are minted when using the POST /items
endpoint. An item type requires valid default metadata in order to be deployed.
/v1/item-types
Bearer token to be passed for Authorization. Can be retrieved from v1/auth/token
Identifier for the environment that this request should interact with
The name of the collection on-chain. This is a unique identifier which helps ensure you're looking at the right asset on the block explorer. It's not displayed in the Mythical Marketplace. This is immutable.
The maximum quantity of the item which can be granted.
Describes how the tokenId is chosen when new items are minted.
serial
, random
Retrieve a list of item types. Supports filtering, sorting, and pagination.
/v1/item-types/search
Bearer token to be passed for Authorization. Can be retrieved from v1/auth/token
Identifier for the environment that this request should interact with
An array of items type ids to search for.
An array of collection names to find the matching item types for
The current blockchain state of the item type(s) that you are searching for
The mint mode (serial, random, etc) of the item type(s) that you are searching for
The maximum number of items you would like returned in this search
10
How many records should be skipped in the result set before returning results?
10
Retrieve a single item type by id.
/v1/item-types/{itemTypeId}
Bearer token to be passed for Authorization. Can be retrieved from v1/auth/token
Identifier for the environment that this request should interact with
Update the mutable attributes of an item type.
/v1/item-types/{itemTypeId}
Bearer token to be passed for Authorization. Can be retrieved from v1/auth/token
Identifier for the environment that this request should interact with