Translations:Accounts/100/en

From ArdorDocs
Jump to: navigation, search

Get Contract References Example

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

 requestType=getContractReferences&
 account=5873880488492319831

</syntaxhighlight>

<syntaxhighlight lang="json"> {

"accountRS": "ARDOR-XK4R-7VJU-6EQG-7R335",
"requestProcessingTime": 0,
"contractReferences": [
 {
  "contract": {
   "chain": 2,
   "transactionFullHash": "c4f81b22aed33f1aed3d75ac4c6a0024698ea41e03263ffd5763dc1b1c8f6cf3"
  },
  "name": "AllForOnePayment",
  "id": "17889857658659529708",
  "params": "{\"chain\":2,\"frequency\":10}"
 },
 {
  "contract": {
   "chain": 2,
   "transactionFullHash": "ff374385044519900147c145beeaa07520f0a9850b95d84b835c88ff1ce81015"
  },
  "name": "DistributedRandomNumberGenerator",
  "id": "10806939862175194746",
  "params": "{}"
 }
] 

"account": "5873880488492319831" } </syntaxhighlight>