FRUITS API Document
  • FRUITS API Document
  • Java sample code
  • PHP sample code
  • Creating Unsigned Transactions
  • Create Transaction Request
  • Create Transaction Response
  • SERVER INFORMATION
    • Get Blockchain Status
    • Get My Info
    • Get State
    • Get Time
  • ACCOUNT
    • Get Account
    • Get Account Blocks
    • Get Balance
    • Send FRTS
    • Send FRTS Multi
    • Set Account Info
  • TRANSACTION
    • Broadcast Transaction
    • Calculate Full Hash
    • Get Transaction
  • BLOCK
    • Get Block
    • Get Block Id
    • Get Blocks
  • Process flowchart
    • FRTS, token send/receive flow
    • FRUITS Wallet connect flow
  • Create & Active Account
    • Coding Guidelines in Java
    • Coding Guidelines in JS
  • FRUITS Node API For Single NFT
    • Create NFT Smart Contract
    • Mint NFT
    • Transfer NFT
    • Place a sell order
    • Cancel a sell order
    • Buy NFT
    • Get NFT By URI
    • Get List of NFTs by Account
    • Get List of NFTs for sale
    • Get List of NFTs By Smart Contract
  • FRUITS Node API For multiple NFT
    • Create NFT Smart Contract
    • Mint NFT
    • Transfer NFT
    • Place a sell order
    • Cancel a sell order
    • Buy NFT
    • Get Multiple Token By Account
    • Get Multiple Token By Contract
    • Get Multiple Token By Owners
    • Get Multiple Token By Uri
Powered by GitBook
On this page
  1. FRUITS Node API For Single NFT

Place a sell order

PreviousTransfer NFTNextCancel a sell order

Last updated 1 year ago

URL:

Method: POST

Required fields:

  • method: This must be "putForSale”.

  • amountNQT: This must be "0”.

  • arg1: The price of NFT. For example: if you want to sell for 10 FRTS, enter 10 x 10^8 = 1000000000.

  • arg2: 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 owner.

  • feeNQT: This must be "0".

  • deadline: Transaction confirmation deadline. Suggested value is 1440.

--> You need to wait 2 blocks, NFT will be sold successfully.

https://fwallet.net/fruits?requestType=nftApi