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

Create Transaction Request

The following HTTP POST parameters are common to all API calls that create transactions:

secretPhrase is the secret passphrase of the account (optional, but transaction neither signed nor broadcast if omitted) publicKey is the public key of the account (optional if secretPhrase provided) feeNQT is the is the fee (in NQT) for the transaction deadline deadline (in minutes) for the transaction to be confirmed, 1440 minutes maximum broadcast is set to false to prevent broadcasting the transaction to the network (optional) message is either UTF-8 text or a string of hex digits (perhaps previously encoded using an arbitrary algorithm) to be converted into a bytecode with a maximum length of one kilobyte messageIsText is false if the message is a hex string, otherwise the message is text (optional) messageToEncrypt is either UTF-8 text or a string of hex digits to be compressed and converted into a bytecode with a maximum length of one kilobyte, then encrypted using AES (optional) messageToEncryptIsText is false if the message to encrypt is a hex string, otherwise, the message to encrypt is text (optional) encryptedMessageData is already encrypted data which overrides messageToEncrypt if provided (optional) encryptedMessageNonce is a unique 32-byte number which cannot be reused (optional unless encryptedMessageData is provided) messageToEncryptToSelf is either UTF-8 text or a string of hex digits to be compressed and converted into a one-kilobyte maximum bytecode then encrypted with AES, then sent to the sending account (optional) messageToEncryptToSelfIsText is false if the message to self-encrypt is a hex string, otherwise the message to encrypt is text (optional) encryptToSelfMessageData is already encrypted data which overrides messageToEncryptToSelf if provided (optional) encryptToSelfMessageNonce is a unique 32-byte number which cannot be reused (optional unless encryptToSelfMessageData is provided) recipientPublicKey is the public key of the receiving account (optional, enhances the security of a new account)

PreviousCreating Unsigned TransactionsNextCreate Transaction Response

Last updated 3 years ago