Buy NFT

Method: POST
Required fields:
  • method: This must be "buyForAddress”.
  • amountNQT: The amount to buy NFT.
  • arg1: The Offer ID. You can get Offer ID by calling "Get Multiple Token By Uri" API.
  • arg2: The recipient's account ID.
  • arg3: The quantity of NFT.
  • contractName: The created smart contract name. For example: "PFT".
  • secretPhrase: The passphrase of NFT owner.
  • feeNQT: This must be "0".
  • deadline: Transaction confirmation deadline. Suggested value is 1440.
→You need to wait 2 blocks, NFT will be purchased successfully.