Translations:Monetary System/8/en

From ArdorDocs
Jump to: navigation, search

Currency Buy / Sell Example

http://localhost:27876/nxt?
  requestType=currencyBuy&
  chain=2&
  currency=6520756875632314476&
  rateNQT=1500000000&
  units=200&
  secretPhrase=SECRETPHRASE&
  feeNQT=100000000&
  deadline=60

{
 "signatureHash": "0471907734d4aae7fc708131726f8660a68e66fe873fa17cab4f0cb3f879243f",
 "unsignedTransactionBytes": "051607cb08023c0010f09c34f225d425306e5be55a49469081...",
 "transactionJSON": {
  "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
  "chain": 2,
  "signature": "dda6c065344827bfdecfee179b22dfee1d5280fa5da5431b012d9ea045a0d80b9d4...",
  "feeNQT": "100000000",
  "type": 5,
  "fullHash": "d388798c9ecaf2cd28578cfcb8fb7e8f07d308e36e2a5674bb1c7766595b8435",
  "version": 1,
  "fxtTransaction": "0",
  "phased": false,
  "ecBlockId": "10096636210021430702",
  "signatureHash": "0471907734d4aae7fc708131726f8660a68e66fe873fa17cab4f0cb3f879243f",
  "attachment": {
   "currency": "6520756875632314476",
   "version.ExchangeSell": 1,
   "unitsQNT": "200",
   "rateNQTPerUnit": "1500000000"
  },
  "senderRS": "ARDOR-4VDY-LNVT-LMAY-FMCKA",
  "subtype": 6,
  "amountNQT": "0",
  "sender": "15295723609781267838",
  "ecBlockHeight": 162266,
  "deadline": 60,
  "transaction": "14840146504449624275",
  "timestamp": 34130695,
  "height": 2147483647
 },
 "broadcasted": true,
 "requestProcessingTime": 331,
 "transactionBytes": "051607cb08023c0010f09c34f225d425306e5be55a49469081560...",
 "fullHash": "d388798c9ecaf2cd28578cfcb8fb7e8f07d308e36e2a5674bb1c7766595b8435",
 "transaction": "14840146504449624275"
 "bundlerRateNQTPerFXT": "10000000"
}