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

Mint NFT

PreviousCreate NFT Smart ContractNextTransfer NFT

Last updated 1 year ago

URL:

Method: POST

Required fields:

  • method: This must be "mint".

  • amountNQT: This must be "0".

  • arg1: The URI of NFT. This is a random number greater than -9223372036854775808, less than 9223372036854775807 and will not be minted successfully if it already matches an existing NFT. For example: "15654862454642". This URI is the link between metadata and NFT in the blockchain. Metadata is stored in a centralized server.

  • arg2: The Royalties rate. This rate is paid to the NFT creator. This must be a integer from 0 to 100. For example: A user sells a NFT by 100 FRTS. if Royalties rate is 5%, NFT creator will get 5 FRTS even if he is not a seller.

  • contractName: The created smart contract name. For example: "PFT".

  • secretPhrase: The passphrase of NFT owner.

  • feeNQT: This must be "100000000".

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

→You need to wait 2 blocks, NFT will be minted successfully.

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