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

Language:

buyNFT

Purchase NFT on Mirror World Marketplace.


const listing = await mirrorworld.buyNFT({
mintAddress: `Hc2My3GQCQTXTjV34Pi1pQGYUeckT1mEcMRiZZaH7Ydr`,
price: 2, // Amount in SOL
})
// Returns `INFTListing`
export interface INFTListing {
id: number;
type: string;
wallet_address: string;
mint_address: string;
price: string;
seller_address: string;
signature: string;
status: string;
updatedAt: string;
createdAt: string;
to_wallet_address?: null;
}

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Tutorials

    Guides

    API Reference