Marketplace fees
The sale fees of mallow's two marketplace programs, read from their on-chain config accounts. No API key is needed.
market covers fixed-price listings, editions and offers; auction covers auctions. A sale is charged primaryBps when it is the first sale of the artwork and secondaryBps when it is a resale.
The accounts are read at most once a minute, and responses may be cached for a further 60 seconds. If Solana cannot be read, the last values that were read are returned instead, for up to 24 hours.
Response Body
application/json
application/json
curl -X GET "https://example.com/v2/fees/marketplace"{ "result": { "market": { "primaryBps": 500, "secondaryBps": 250, "tokenDiscountBps": 2000, "discountToken": "smoEhMZMweWBnpd1QoU4ZjuVNBxMFchqy4NRMBbtW7V", "printFeeLamports": 11000000 }, "auction": { "primaryBps": 500, "secondaryBps": 250, "tokenDiscountBps": 2000, "discountToken": "smoEhMZMweWBnpd1QoU4ZjuVNBxMFchqy4NRMBbtW7V" } }}