Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuides
View Mirror World on Github
Join the Discord server

Language:

queryMarketplaces

Queries Marketplaces By The Following Properties For An Authenticated User


import { type MarketplaceQueryOptionsV2 } from "@usemirrorworld/web3.js"
/**
* Queryies all marketplaces whose treasury mint is SOL
* and whose marketplace authority can change the sale price of any listing.
*/
const payload: MarketplaceQueryOptionsV2 = {
treasury_mint: "So11111111111111111111111111111111111111112",
can_change_sale_price: true,
}
await mirrorworld.Solana.Asset.queryMarketplaces(payload)

See all options for this method here

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference