Translations:Accounts/151/en

From ArdorDocs
Revision as of 18:33, 23 June 2020 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Set Account Property Example

<syntaxhighlight lang="bash"> http://localhost:27876/nxt?

 requestType=setAccountProperty&
 secretPhrase=iwonttellyou&
 chain=2&
 property=country&
 value=switzerland&
 recipient=ARDOR-EZQ9-35P5-XZ8C-4LW87&
 feeNQT=100000000&
 deadline=60

</syntaxhighlight>

<syntaxhighlight lang="json"> {

   "signatureHash": "34a690abc9f7fe4749da49d996e875e961aa0d38d6b80cdca9a01a7614004089",
   "transactionJSON": {
       "senderPublicKey": "b0db10704a831f1a0fd028e947784811e88fbe0fde25dc1f68209a2d9f93be13",
       "chain": 2,
       "signature": "f5fd4b881c5625c778ffe38bced33d44231eda406e95d9068dea69407ea3370dc873f52a123a0cbe590ecf4adf2a3c6238dc26c73ee63aeb7ac4331958b53a1e",
       "feeNQT": "100000000",
       "type": 1,
       "fullHash": "d94baf764f0b7e47dbbe30c5aef1694fef6dfd2ecc7c86e29eefee7e6d1b2b39",
       "version": 1,
       "phased": false,
       "ecBlockId": "1026208230615777523",
       "signatureHash": "34a690abc9f7fe4749da49d996e875e961aa0d38d6b80cdca9a01a7614004089",
       "attachment": {
           "property": "\"switzerland\"",
           "value": "\"country\"",
           "version.AccountProperty": 1
       },
       "senderRS": "ARDOR-EZQ9-35P5-XZ8C-4LW87",
       "subtype": 10,
       "amountNQT": "0",
       "sender": "2493747385666535111",
       "recipientRS": "ARDOR-EZQ9-35P5-XZ8C-4LW87",
       "recipient": "2493747385666535111",
       "ecBlockHeight": 684730,
       "deadline": 360,
       "transaction": "5151567459679947737",
       "timestamp": 72072027,
       "height": 2147483647
   },
   "unsignedTransactionBytes": "011a5bbb4b046801b0db10704a831f1a0fd028e947784811e88fbe0fde25dc1f68209a2d9f93be13c77e36ea08929b22000000000000000000e1f5050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ba720a00f3806fdbf2d23d0e010d22737769747a65726c616e64220922636f756e74727922",
   "broadcasted": true,
   "requestProcessingTime": 83,
   "transactionBytes": "011a5bbb4b046801b0db10704a831f1a0fd028e947784811e88fbe0fde25dc1f68209a2d9f93be13c77e36ea08929b22000000000000000000e1f505000000000000000000000000000000000000000000000000000000000000000000000000f5fd4b881c5625c778ffe38bced33d44231eda406e95d9068dea69407ea3370dc873f52a123a0cbe590ecf4adf2a3c6238dc26c73ee63aeb7ac4331958b53a1e00000000ba720a00f3806fdbf2d23d0e010d22737769747a65726c616e64220922636f756e74727922",
   "fullHash": "d94baf764f0b7e47dbbe30c5aef1694fef6dfd2ecc7c86e29eefee7e6d1b2b39",
   "transaction": "5151567459679947737"

</syntaxhighlight>