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

Language:

fetchNFTsInfo

Fetch BNB Chain NFTs Info Accepts Filtering Metadata


import {
type QueryEVMNFTsPayloadV2,
QueryNFTsFilterType,
} from "@usemirrorworld/web3.js"
const payload: QueryEVMNFTsPayloadV2 = {
contract: "0x011135F655e0916345C5188aA14fD4E2FEf1845E",
page: 1,
page_size: 10,
order: {
order_by: "price",
desc: true,
},
sale: true,
filter: [
{
filter_name: "color",
filter_type: QueryNFTsFilterType.enum,
filter_value: ["blue", "red"],
},
{
filter_name: "attack",
filter_type: QueryNFTsFilterType.range,
filter_value: [1, 10],
},
],
}
await mirrorworld.BNBChain.Metadata.fetchNFTsInfo(payload)

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference