Translations:Accounts/163/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 Contract Reference Example

 <syntaxhighlight lang="bash">

http://localhost:27876/nxt?

 chain=2&
 requestType=setContractReference&
 contractName=HelloWorld&
 contract=2:98ad60e6fc95e794216fc49a62e7f0ba2f37e2aed62dd3598c804d7a71ca2b32&
 secretPhrase=iWontTellYou&
 feeNQT=-1&
 feeRateNQTPerFXT=-1

</syntaxhighlight>

<syntaxhighlight lang="json"> {

   "minimumFeeFQT": "20000000",
   "signatureHash": "bbf4153ec57c645a88687619c5d7b7f3277a74bb6582da13388ebc822ab52983",
   "transactionJSON": {
       "senderPublicKey": "df21142bd38c04bd5c5c342c6ca36802f9de89b75b2a0a8cbd32d29dca481e5c",
       "chain": 2,
       "signature": "9f5d31676013401c73371e511785f6cedbc39ab148170278ad0ead6ba8f7f30dec147d2cad4818a364458398c2420fee6106456fb07524d4ba161e41f5a22b22",
       "feeNQT": "2000000",
       "type": 12,
       "fullHash": "8f7595d2869da7109f3c001cc69aed37d6f160dd75b4198986302606abad4097",
       "version": 1,
       "fxtTransaction": "0",
       "phased": false,
       "ecBlockId": "12170007748744184219",
       "signatureHash": "bbf4153ec57c645a88687619c5d7b7f3277a74bb6582da13388ebc822ab52983",
       "attachment": {
           "contractName": "HelloWorld",
           "version.ContractReference": 1,
           "contractParams": "",
           "contract": {
               "chain": 2,
               "transactionFullHash": "98ad60e6fc95e794216fc49a62e7f0ba2f37e2aed62dd3598c804d7a71ca2b32"
           }
       },
       "senderRS": "ARDOR-X8ZN-WUJ2-SXY3-FBUYC",
       "subtype": 0,
       "amountNQT": "0",
       "sender": "15382970207090678772",
       "ecBlockHeight": 399822,
       "deadline": 15,
       "timestamp": 23776637,
       "height": 2147483647
   },
   "unsignedTransactionBytes": "020000000c00017dcd6a010f00df21142bd38c04bd5c5c342c6ca36802f9de89b75b2a0a8cbd32d29dca481e5c0000000000000000000000000000000080841e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ce1906009b01a669918de4a800000000010a48656c6c6f576f726c64000200000098ad60e6fc95e794216fc49a62e7f0ba2f37e2aed62dd3598c804d7a71ca2b32000000000000000000000000000000000000000000000000000000000000000000000000",
   "broadcasted": false,
   "requestProcessingTime": 3,
   "transactionBytes": "020000000c00017dcd6a010f00df21142bd38c04bd5c5c342c6ca36802f9de89b75b2a0a8cbd32d29dca481e5c0000000000000000000000000000000080841e00000000009f5d31676013401c73371e511785f6cedbc39ab148170278ad0ead6ba8f7f30dec147d2cad4818a364458398c2420fee6106456fb07524d4ba161e41f5a22b22ce1906009b01a669918de4a800000000010a48656c6c6f576f726c64000200000098ad60e6fc95e794216fc49a62e7f0ba2f37e2aed62dd3598c804d7a71ca2b32000000000000000000000000000000000000000000000000000000000000000000000000",
   "fullHash": "8f7595d2869da7109f3c001cc69aed37d6f160dd75b4198986302606abad4097",
   "bundlerRateNQTPerFXT": "10000000"

} </syntaxhighlight>