Items
Last updated
Last updated
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
"pending"
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
"pending"
The location where the public metadata json is stored
"http://url.com/1"
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
"pending"
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, and pagination of results when querying a list of items.
An array of items ids to search for.
An array of item type ids to find matching item instances for
An array of player ids who own the items you are interested in searching for
The current blockchain state of the items 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"
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
"pending"
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
"pending"
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
"pending"
The location where the public metadata json is stored
"http://url.com/1"