Buy a NFT from QR Code
There is another way to buy a NFT. You can also show a QR code on any page ! Once scanned via the Xact Wallet application, the end user will be able to process the payment.
Prerequisites:
Sell a NFTStep 1: Get your NFT
/* TokenId of the NFT */
$tokenId = '';
/* Account ID of the seller */
$sellerAccountId = '';
/* Custom uniq ID */
$uniqId = '';
/* NFT ID - is optional for old token */
$nftId = '';
$nft = $client->getNFTForSaleByTokenId([$tokenId, $uniqId, $sellerAccountId, $nftId]);
Last updated