Buy NFT

Method: POST
Required fields:
  • method: This must be "buy”.
  • amountNQT: The amount to buy NFT.
  • arg1: The ID of NFT. You can get NFT ID by calling "Get NFT By URI" API.
  • contractName: The created smart contract name. For example: "PFT".
  • secretPhrase: The passphrase of NFT buyer.
  • feeNQT: This must be "0".
  • deadline: Transaction confirmation deadline. Suggested value is 1440.
-->You need to wait 2 blocks, NFT will be purchased successfully.