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

Language:

buyNFT

Purchase NFT On Solana Auction House Instance


import { type IBaseSolanaAuctionPayloadV2 } from "@usemirrorworld/web3.js"
const payload: IBaseSolanaAuctionPayloadV2 = {
// NFT Mint address
mint_address: "DJhPp8Lgmvxdfy4SsRQWZD4gk3xtx5Uhs4dzBTDKTx6h",
// NFT Price
price: 0.1,
// Marketplace address
auction_house: "G95uaFUfbB1c2cvzbfWnzuKSPveGx12wnyVgmhcdsn3L",
}
await mirrorworld.Solana.Asset.buyNFT(payload)

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference