QAF NFT
  • Getting Started
  • 📚TERMS/DOMAINS
    • Network
    • Project
    • Contract
    • Category
    • Nft Item
    • Nft Item Attribute
    • Project Token
    • Marketplace Fees
    • Marketplace Token
    • Marketplace Items
  • ⚙️API REFERENCE
    • Postman Collection
    • Authentication
    • NFT API
      • List Networks
      • Create Project
      • Get Project Detail
      • Filter Projects
      • Deploy Contract
      • Get Contract Detail
      • Filter Contracts
      • Add Category
      • Update Category
      • Delete Category
      • Get Category Detail
      • Filter Categories
      • Create Nft Item
      • Batch Create Nft Item
      • Validate Metadata File
      • Mint Nft Items
      • Update Nft Item Metadata
      • Set Nft Item Category
      • Get Nft Item Detail
      • Filter Nft Items
      • Add Nft Item Attribute
      • Update Nft Item Attribute
      • Delete Nft Item Attribute
      • Get Nft Item Attribute Detail
      • Filter Nft Item Attributes
      • Get Balance by Nft Item and Address
      • Get Balance by Address
      • Get Balance by Nft Item
      • Filter Nft Item Transfers
      • Deploy Project Token
      • Get Project Token Detail
      • Init Project Token Transfer
      • Client Token Transfer
      • Init Project Token Allowance
      • Check Project Token Allowance
      • Filter Project Tokens
      • Get Project Token Balance by Symbol and Address
      • Get Project Token Balance by Address
      • Get Project Token Balance by Symbol
      • Update Marketplace Royalty Fee
      • Filter Marketplace Fees
      • Add Marketplace Token
      • Get Marketplace Token Detail
      • Init Marketplace Token Allowance
      • Check Marketplace Token Allowance
      • Filter Marketplace Tokens
      • Init List Nft Item on Marketplace
      • Init Buy Nft Item from Marketplace
      • Init Cancel Listing from Marketplace
      • Get Marketplace Item Detail
      • Filter Marketplace Items
      • Init Transfer Nft Item
      • Init Transfer Nft Item to Client
      • Transfer Nft Item from Client
      • Init Lock Nft Item
      • Init Nft Approval Permission
      • Check Nft Item Approval Permission
      • Create Project Session
      • Get Project Session Detail
      • Filter Project Sessions
      • Create Off Chain Transaction
      • Get Off Chain Transaction
      • Filter Off Chain Transactions
      • Upload File
    • Error Codes
    • FAQ
      • How can I implement listing Nft Item on marketplace service properly?
      • How can I implement buy Nft Item from marketplace service properly?
Powered by GitBook
On this page
  1. API REFERENCE
  2. FAQ

How can I implement buy Nft Item from marketplace service properly?

PreviousHow can I implement listing Nft Item on marketplace service properly?

Last updated 2 years ago

We support Nft listing with different currencies on the marketplace. Therefore, during the purchase of an Nft Item listed on the marketplace, the steps to be taken may vary depending on the currency offered for sale.

  • If the Nft Item that you want to buy has been put up for sale with the coin of the blockchain you are working on, you can continue the flow by using the service.

  • If the Nft Item that you want to buy has been put up for sale with a crypto token (ERC-20), we need to check whether the buyer address allows the crypto tokens to be used during the purchase. If permissioned, purchase can be performed on the marketplace without getting an error on the blockchain. Otherwise the permission process must be performed first. You can see QafNft services below that should be used to perform this flow.

      • If the service returned true, it means that the approval permission has been received. You can continue with the service.

      • If the service returned false, it means that the approval permission has not been received. You need to get approval permission using the service.

      • This service will be returned Init transaction information. You should trigger the user's wallet provider with the returned information and confirm the transaction.

      • After you see that the approved transaction has been completed successfully, you can continue the flow by using the service.

      • This service will be returned Init transaction information. You should trigger the user's wallet provider with the returned information and confirm the transaction.

      • After you see that the approved transaction has been completed successfully, you can retrieve the information of your sold Nft Items using the service.

⚙️
Init Buy Nft Item From Marketplace
Check Marketplace Token Allowance
Init Buy Nft Item From Marketplace
Init Marketplace Token Allowance
Init Marketplace Token Allowance
Init Buy Nft Item From Marketplace
Init Buy Nft Item From Marketplace
Filter Marketplace Items