Marketplace
In this page we will cover most common tasks for interacting with Marketplace.
POST
/marketplace/search/items
Item NFTs search
Request Body
Name | Type | Description |
---|---|---|
page | Int | Pagination page (with 12 items per page) |
filters.exp_multiplier.min | Int | Min exp multiplier |
filters.exp_multiplier.max | Int | Max exp multiplier |
filters.wod_multiplier.max | Int | Min wod multiplier |
filters.wod_multiplier.max | Int | Max wod multiplier |
filters.is_auction | Boolean | Only auctions |
filters.is_sale | Boolean | Only not auctions |
filters.level.min | Int | |
filters.level.max | Int | |
filters.name | String | |
filters.durability.min | Int | |
filters.price.min | Int | |
filters.rarity | Int[] | eg. [ 1, 2, 3, 4, 5, 6 ]. Where 1 is common and 2 is artifact |
filters.slot_key | String[] | Inserting like [ "fish", "rod" ] means to include fish and rods to the response. Inserting like [ "-fish" ] will return all items except fish. |
filters.durability.max | Int | |
filters.price.max | Int | |
filters.not_for_sale | Boolean | Only items that are not for sale |
sort.sort_by | String | For now only by "price" |
sort.sort_dir | String | "ASC" or "DESC" |
POST
/marketplace/search/materials
Material NFTs search
Request Body
Name | Type | Description |
---|---|---|
page | Int | Pagination page (with 12 items per page) |
filters.is_auction | Boolean | Only auctions |
filters.is_sale | Boolean | Only not auctions |
filters.name | String | |
filters.price.min | Int | |
filters.rarity | Int[] | eg. [ 1, 2, 3, 4, 5, 6 ]. Where 1 is common and 2 is artifact |
filters.price.max | Int | |
filters.not_for_sale | Boolean | Only items that are not for sale |
sort.sort_by | String | For now only by "price" |
sort.sort_dir | String | "ASC" or "DESC" |
Marketplace contract details:
For those who want to connect his own contract with Marketplace here's solidity interface:
Last updated