How can I implement listing Nft Item on marketplace service properly?
Last updated
Last updated
Before listing an Nft item on the marketplace, we need to check if the seller's address allows marketplace contract for Nft Items. If permissioned, listing 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 initialized 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 listed Nft Items using the service.