Items
Last updated
Last updated
Mints an item of a given item type to the specified player. If name, description, image, or attributes are not provided, the item will be granted with the default metadata configured on the item type. On-chain, granting an item means an NFT is minted from the collection associated with the item type to the wallet of the given player.
The item to be created
Unique identifier of the item
The id of the player who owns the item
The on-chain unique identifier of the item within its given collection. The token id of the item is displayed in the Mythical Marketplace.
1
Success
Unique identifier of the item
Unique identifier of the item
The id of the player who owns the item
The on-chain unique identifier of the item within its given collection. The token id of the item is displayed in the Mythical Marketplace.
1
The current state of the item on chain
"Issued"
The location where the public metadata json is stored
"http://url.com/1"
On-chain, this will irreversably transfer the item to the zero address (0x000...), effectively destroying the item.
Success
Unique identifier of the item
Unique identifier of the item
The id of the player who owns the item
The on-chain unique identifier of the item within its given collection. The token id of the item is displayed in the Mythical Marketplace.
1
The current state of the item on chain
"Issued"
The location where the public metadata json is stored
"http://url.com/1"
Retrieve a list of items. Supports filtering, sorting, and pagination.
Defines the structure of a search request. Allows for filtering, sorting, and pagination of results when querying a list of items. The filter
property specifies the criteria used to filter the data, sort
defines the order in which the results should be returned, and pagination
controls the number of results returned and the starting point within the dataset.
Success
Unique identifier of the item
Unique identifier of the item
The id of the player who owns the item
The on-chain unique identifier of the item within its given collection. The token id of the item is displayed in the Mythical Marketplace.
1
The current state of the item on chain
"Issued"
The location where the public metadata json is stored
"http://url.com/1"
Retrieve a single item by id.
Success
Unique identifier of the item
Unique identifier of the item
The id of the player who owns the item
The on-chain unique identifier of the item within its given collection. The token id of the item is displayed in the Mythical Marketplace.
1
The current state of the item on chain
"Issued"
The location where the public metadata json is stored
"http://url.com/1"
Update an item
Updates to be made to the item
Success
Unique identifier of the item
Unique identifier of the item
The id of the player who owns the item
The on-chain unique identifier of the item within its given collection. The token id of the item is displayed in the Mythical Marketplace.
1
The current state of the item on chain
"Issued"
The location where the public metadata json is stored
"http://url.com/1"
On-chain, this will transfer the item between the wallets of the provided players.
The id of the item to transfer
The ids of the players to transfer the item between
Player from which the item will be transferred
Player to which the item will be transferred
Success
Unique identifier of the item
Unique identifier of the item
The id of the player who owns the item
The on-chain unique identifier of the item within its given collection. The token id of the item is displayed in the Mythical Marketplace.
1
The current state of the item on chain
"Issued"
The location where the public metadata json is stored
"http://url.com/1"