You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

623 lines
24KB

  1. {
  2. "variables": [],
  3. "info": {
  4. "name": "DERO API",
  5. "_postman_id": "66e2d2c2-9f7f-09de-cedd-79d6b18c9d47",
  6. "description": "",
  7. "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
  8. },
  9. "item": [
  10. {
  11. "name": "Wallet",
  12. "description": "",
  13. "item": [
  14. {
  15. "name": "Echo",
  16. "request": {
  17. "url": "http://127.0.0.1:40403/json_rpc",
  18. "method": "POST",
  19. "header": [
  20. {
  21. "key": "Content-Type",
  22. "value": "application/json",
  23. "description": ""
  24. }
  25. ],
  26. "body": {
  27. "mode": "raw",
  28. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"Echo\",\n \"params\": [\"Hello\", \"World\", \"!\"]\n}"
  29. },
  30. "description": ""
  31. },
  32. "response": []
  33. },
  34. {
  35. "name": "Get Address",
  36. "request": {
  37. "url": "http://127.0.0.1:40403/json_rpc",
  38. "method": "POST",
  39. "header": [
  40. {
  41. "key": "Content-Type",
  42. "value": "application/json",
  43. "description": ""
  44. }
  45. ],
  46. "body": {
  47. "mode": "raw",
  48. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"GetAddress\"\n}"
  49. },
  50. "description": ""
  51. },
  52. "response": []
  53. },
  54. {
  55. "name": "Get Balance",
  56. "request": {
  57. "url": "http://127.0.0.1:40403/json_rpc",
  58. "method": "POST",
  59. "header": [
  60. {
  61. "key": "Content-Type",
  62. "value": "application/json",
  63. "description": ""
  64. }
  65. ],
  66. "body": {
  67. "mode": "raw",
  68. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"GetBalance\"\n}"
  69. },
  70. "description": ""
  71. },
  72. "response": []
  73. },
  74. {
  75. "name": "Get Block Height",
  76. "request": {
  77. "url": "http://127.0.0.1:40403/json_rpc",
  78. "method": "POST",
  79. "header": [
  80. {
  81. "key": "Content-Type",
  82. "value": "application/json",
  83. "description": ""
  84. }
  85. ],
  86. "body": {
  87. "mode": "raw",
  88. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"GetHeight\"\n}"
  89. },
  90. "description": ""
  91. },
  92. "response": []
  93. },
  94. {
  95. "name": "Get Transfer By TXID",
  96. "request": {
  97. "url": "http://127.0.0.1:40403/json_rpc",
  98. "method": "POST",
  99. "header": [
  100. {
  101. "key": "Content-Type",
  102. "value": "application/json",
  103. "description": ""
  104. }
  105. ],
  106. "body": {
  107. "mode": "raw",
  108. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"GetTransferbyTXID\",\n \"params\": {\n \t\"txid\": \"2a74bcc6262f48630967129793f3b87dc30236f2cb5df6ebb09d620ec0cb503a\"\n }\n}"
  109. },
  110. "description": ""
  111. },
  112. "response": []
  113. },
  114. {
  115. "name": "Get Transfers",
  116. "request": {
  117. "url": "http://127.0.0.1:40403/json_rpc",
  118. "method": "POST",
  119. "header": [
  120. {
  121. "key": "Content-Type",
  122. "value": "application/json",
  123. "description": ""
  124. }
  125. ],
  126. "body": {
  127. "mode": "raw",
  128. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"GetTransfers\",\n \"params\": {\n \t\"out\": true,\n \t\"in\": true\n }\n}"
  129. },
  130. "description": ""
  131. },
  132. "response": []
  133. },
  134. {
  135. "name": "Make Integrated Address",
  136. "request": {
  137. "url": "http://127.0.0.1:40403/json_rpc",
  138. "method": "POST",
  139. "header": [
  140. {
  141. "key": "Content-Type",
  142. "value": "application/json",
  143. "description": ""
  144. }
  145. ],
  146. "body": {
  147. "mode": "raw",
  148. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"MakeIntegratedAddress\",\n \"params\": {\n \t\"payload_rpc\": [\n {\n \"name\": \"Comment\",\n \"datatype\": \"S\",\n \"value\": \"Hello from integrated address !\"\n }\n ]\n }\n}"
  149. },
  150. "description": ""
  151. },
  152. "response": []
  153. },
  154. {
  155. "name": "Split Integrated Address",
  156. "request": {
  157. "url": "http://127.0.0.1:40403/json_rpc",
  158. "method": "POST",
  159. "header": [
  160. {
  161. "key": "Content-Type",
  162. "value": "application/json",
  163. "description": ""
  164. }
  165. ],
  166. "body": {
  167. "mode": "raw",
  168. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"SplitIntegratedAddress\",\n \"params\": {\n \t\"integrated_address\": \"detoi1qyyhg0xznkaxt5udct6lnlylsexvwprun6jphv89xg008vq29jk4vq9pdppk7mtdv4h8g5mcrayx2mrvdusxvun0d5sxjmn5v4nhyct5v4jzqctyv3ex2umnyqssvnqraw\"\n }\n}"
  169. },
  170. "description": ""
  171. },
  172. "response": []
  173. },
  174. {
  175. "name": "Query Key",
  176. "request": {
  177. "url": "http://127.0.0.1:40403/json_rpc",
  178. "method": "POST",
  179. "header": [
  180. {
  181. "key": "Content-Type",
  182. "value": "application/json",
  183. "description": ""
  184. }
  185. ],
  186. "body": {
  187. "mode": "raw",
  188. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"QueryKey\",\n \"params\": {\n \t\"key_type\": \"mnemonic\"\n }\n}"
  189. },
  190. "description": ""
  191. },
  192. "response": []
  193. },
  194. {
  195. "name": "Transfer",
  196. "request": {
  197. "url": "http://127.0.0.1:40403/json_rpc",
  198. "method": "POST",
  199. "header": [
  200. {
  201. "key": "Content-Type",
  202. "value": "application/json",
  203. "description": ""
  204. }
  205. ],
  206. "body": {
  207. "mode": "raw",
  208. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"transfer\",\n \"params\": {\n \t\"scid\": \"00000000000000000000000000000000\",\n \t\"destination\": \"deto1qyj4kx6azntn9psmg7dsfkuv9qs9xde0s94nmmhm2a0damffpm2zzqqcudacc\",\n \t\"amount\": 100000\n }\n}"
  209. },
  210. "description": ""
  211. },
  212. "response": []
  213. },
  214. {
  215. "name": "Transfer Split",
  216. "request": {
  217. "url": "http://127.0.0.1:40403/json_rpc",
  218. "method": "POST",
  219. "header": [
  220. {
  221. "key": "Content-Type",
  222. "value": "application/json",
  223. "description": ""
  224. }
  225. ],
  226. "body": {
  227. "mode": "raw",
  228. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"transfer\",\n \"params\": {\n \t\"transfers\": [{\n\t\t\t\"destination\": \"deto1qyj4kx6azntn9psmg7dsfkuv9qs9xde0s94nmmhm2a0damffpm2zzqqcudacc\",\n\t\t\t\"amount\": 100000\n\t\t},\n\t\t{\n\t\t\t\"destination\": \"deto1qydvjhl67a3hmcw6zq9yt449extwshzcjxkd7lgk4uhgpyxdr494yqg6zwnc2\",\n\t\t\t\"amount\": 100000\n\t\t}],\n \t\"ringsize\": 32\n }\n}"
  229. },
  230. "description": ""
  231. },
  232. "response": []
  233. },
  234. {
  235. "name": "SC Invoke",
  236. "request": {
  237. "url": "http://127.0.0.1:40403/json_rpc",
  238. "method": "POST",
  239. "header": [
  240. {
  241. "key": "Content-Type",
  242. "value": "application/json",
  243. "description": ""
  244. }
  245. ],
  246. "body": {
  247. "mode": "raw",
  248. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"scinvoke\",\n \"params\": {\n \t\"scid\": \"0000000000000000000000000000000000000000000000000000000000000001\",\n \t\"ringsize\": 2,\n \t\"sc_rpc\": [{\n \t\t\"name\": \"entrypoint\",\n \t\t\"datatype\": \"S\",\n \t\t\"value\": \"Register\"\n \t},\n \t{\n \t\t\"name\": \"name\",\n \t\t\"datatype\": \"S\",\n \t\t\"value\": \"Slixe\"\n \t}]\n }\n}"
  249. },
  250. "description": ""
  251. },
  252. "response": []
  253. }
  254. ]
  255. },
  256. {
  257. "name": "Daemon",
  258. "description": "",
  259. "item": [
  260. {
  261. "name": "Echo",
  262. "request": {
  263. "url": "http://127.0.0.1:40402/json_rpc",
  264. "method": "POST",
  265. "header": [
  266. {
  267. "key": "Content-Type",
  268. "value": "application/json",
  269. "description": ""
  270. }
  271. ],
  272. "body": {
  273. "mode": "raw",
  274. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.Echo\",\n \"params\": [\"Hello\", \"World\", \"!\"]\n}"
  275. },
  276. "description": ""
  277. },
  278. "response": []
  279. },
  280. {
  281. "name": "Ping",
  282. "request": {
  283. "url": "http://127.0.0.1:40402/json_rpc",
  284. "method": "POST",
  285. "header": [
  286. {
  287. "key": "Content-Type",
  288. "value": "application/json",
  289. "description": ""
  290. }
  291. ],
  292. "body": {
  293. "mode": "raw",
  294. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.Ping\"\n}"
  295. },
  296. "description": ""
  297. },
  298. "response": []
  299. },
  300. {
  301. "name": "Get Info",
  302. "request": {
  303. "url": "http://127.0.0.1:40402/json_rpc",
  304. "method": "POST",
  305. "header": [
  306. {
  307. "key": "Content-Type",
  308. "value": "application/json",
  309. "description": ""
  310. }
  311. ],
  312. "body": {
  313. "mode": "raw",
  314. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetInfo\"\n}"
  315. },
  316. "description": ""
  317. },
  318. "response": []
  319. },
  320. {
  321. "name": "Get Block",
  322. "request": {
  323. "url": "http://127.0.0.1:40402/json_rpc",
  324. "method": "POST",
  325. "header": [
  326. {
  327. "key": "Content-Type",
  328. "value": "application/json",
  329. "description": ""
  330. }
  331. ],
  332. "body": {
  333. "mode": "raw",
  334. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetBlock\",\n \"params\": {\n \t\"height\": 420\n }\n}"
  335. },
  336. "description": ""
  337. },
  338. "response": []
  339. },
  340. {
  341. "name": "Get Block Header By Topo Height",
  342. "request": {
  343. "url": "http://127.0.0.1:40402/json_rpc",
  344. "method": "POST",
  345. "header": [
  346. {
  347. "key": "Content-Type",
  348. "value": "application/json",
  349. "description": ""
  350. }
  351. ],
  352. "body": {
  353. "mode": "raw",
  354. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetBlockHeaderByTopoHeight\",\n \"params\": {\n \t\"topoheight\": 420\n }\n}"
  355. },
  356. "description": ""
  357. },
  358. "response": []
  359. },
  360. {
  361. "name": "Get Block Header By Hash",
  362. "request": {
  363. "url": "http://127.0.0.1:40402/json_rpc",
  364. "method": "POST",
  365. "header": [
  366. {
  367. "key": "Content-Type",
  368. "value": "application/json",
  369. "description": ""
  370. }
  371. ],
  372. "body": {
  373. "mode": "raw",
  374. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetBlockHeaderByHash\",\n \"params\": {\n \t\"hash\": \"6a6856b51e9ffd5b07c6c33ca635d984910f3b7fbbaaaebbb61a99780629e449\"\n }\n}"
  375. },
  376. "description": ""
  377. },
  378. "response": []
  379. },
  380. {
  381. "name": "Get Tx Pool",
  382. "request": {
  383. "url": "http://127.0.0.1:40402/json_rpc",
  384. "method": "POST",
  385. "header": [
  386. {
  387. "key": "Content-Type",
  388. "value": "application/json",
  389. "description": ""
  390. }
  391. ],
  392. "body": {
  393. "mode": "raw",
  394. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetTxPool\"\n}"
  395. },
  396. "description": ""
  397. },
  398. "response": []
  399. },
  400. {
  401. "name": "Get Random Address",
  402. "request": {
  403. "url": "http://127.0.0.1:40402/json_rpc",
  404. "method": "POST",
  405. "header": [
  406. {
  407. "key": "Content-Type",
  408. "value": "application/json",
  409. "description": ""
  410. }
  411. ],
  412. "body": {
  413. "mode": "raw",
  414. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetRandomAddress\"\n}"
  415. },
  416. "description": ""
  417. },
  418. "response": []
  419. },
  420. {
  421. "name": "Get Transaction",
  422. "request": {
  423. "url": "http://127.0.0.1:40402/json_rpc",
  424. "method": "POST",
  425. "header": [
  426. {
  427. "key": "Content-Type",
  428. "value": "application/json",
  429. "description": ""
  430. }
  431. ],
  432. "body": {
  433. "mode": "raw",
  434. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetTransaction\",\n \"params\": {\n \t\"txs_hashes\": [\"6f056cae1f2e692ea9e066e3d7703f14484125b2f732b7f31a48481f96299965\", \"3f7aca6ede435296902e362a73ec2f801f6f24f1cf93c69ffe607b7e5a82d8c4\"]\n }\n}"
  435. },
  436. "description": ""
  437. },
  438. "response": []
  439. },
  440. {
  441. "name": "Send Raw Transaction",
  442. "request": {
  443. "url": "http://127.0.0.1:40402/json_rpc",
  444. "method": "POST",
  445. "header": [
  446. {
  447. "key": "Content-Type",
  448. "value": "application/json",
  449. "description": ""
  450. }
  451. ],
  452. "body": {
  453. "mode": "raw",
  454. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.SendRawTransaction\",\n \"params\": {\n \t\"tx_as_hex\": \"01000003d39a02c1295e6cbaf9f98ed67ba0e6a06eb26b3c5d27fa83e0bd070a058c539d21da5d01000000000000000000000000000000000000000000000000000000000000000000000160678916fcfcb943bf579de316406d1dae91b0799701c38aba61129daa92c662074e559ea4165e259e261aaf4e80262398dfc3b0561a63f5c3da356cadfcb9932efb8e0db977e23c82c4f1c0b6014bf1bbb71b91d9d584bb7de5bddaa80a2a8dd9bf12bfd06ef252fab44884c683e0dc92262ead552b1c6dbc513fedaa59929fd5eb21c80d4a8bf44b346d9cd0a667e40404c3031b970faa7e70d5050842ad3c88679852a8f27b6a5afbec1fb8ad000bd189802200dc9e48d5452ec98e05beb43b51056a57c719ab7ec3443540807a908374c64207008c095ed633722a97c95073398e48de0076fec58f96fe3cd2ecb8d385086fb91e8c9c5028d6b6b5a48a432b8f7ac6c43e31eff39396a2074d8af19b7ab4154f01008c0798cf91f0892c4d8246743386fbf617f72a985634e0059a12eaec24a61001016b05ed80daf1e9580f2ccc66081c3765201f9e6ac230a2b7667a0bba427dc6002d7a9f01ff25296b171e036c9c68053d7de826b180323224417126de0fd0748501238b3a1dc5dbe62de9f0488264ee46c39c08925e2cb68f7b6dc60d8aecbb68620002c66dd5c29de5e9adab3bd7f268f64269e1e96921eeb9637505414c790c0a65011e4020fdc76b7a4a6fad84d0fe875cbd38fa7e816585b639d8c3032aca1b3064010e380630678bcc957c4a1cc8e57d2df9fe7996b98dabd42cf1c49eaa8625e1b80119eb616138a8c3606a3bc1f9a0052eaedf6f50ac4158ad2c42074ff02c3ef786001394a47cf5cfc88b357eb50c88d8f1554f9cd5f1fc00cfd54c35d3664e9c27ce00010990641ed8bea313d3201aa9a1b7dbde6e18376e07df73cdea1b5d1c11309c0122e645671fb85d7e8dc79729cb147a4fb534d17981d4d5d576f965492f3745f0001aecdcae49756e90d99500c31514f8e0421cc7678499dd7d6b8ea393cf3b29ef0116b78b380109adbe63d8597aac8a7d2d92ff655c93432ff70a2eacb5e5d75ae4011227aa289afebbbb5ed5d55cc988f39a818f46b75a6b804ebbe47ff021d0c032002442d20d3b09f99317d36dff5b4dd26b4832c0bd158814f9329506a257c235e800d516c08b48be26167e83850a13e0b3b07a1ff9c92aea0403ed60da213726b9371c815b9607b3f2ac78b8f4aacfbeadf7f7a800751ac231447b17606200b6eb0f01191641ed48d79ce5a064fdacfe40061de65b8c0d7aea1fae353b1effc7f2a2ac00270e2ac0dc68e423d1868f5cac869d64d94702ee9e772ef5fd52b4612ead6f5a0003a1c3d496a186a1a72cfe3078e88168ff326473b8af785b254aa124c69064e400163d332d26ea2e7f66022bd963c4163a6f205d44e35ac83eea7d5a0f1236f09c0023f155555baa1083840831c538443e2805966ab97c8ec333435ac7ab58a979fe002f4b9c816d0c5dfc46b6b507028dd967ba0574f6f3f3503c8cfefca4bd88be7300007ccba7bd0cf11585241ba0e573ab5fbcc159220bfb4669de2cd3d11b9ac8a60020369d2d52fd9c8997c6bd384c3627b03da0cc0c2d2f5aa4b0c74a330192f4c2012278d29396e1c6bfaeb67626da24ec117429f4d207ddd2b0632cb09d12652ec10101e3a4ff8846e1655b007195e1b6d800b4c62a88173d4328002d39f673809954001031c5badf10560137006f3e24fa54b27298109f45802311f72682f8416daf870017f293c47a044b8950bb2432f13aabce8d2778e06acbc77b7ff5c0f9fcf19a0d01192e4f040dade991bfccb215e86d43f6d1dcfdba6b990901fc0803205971a8630100c8de7797ac2233659edad98015d4b09fd72795c88b7e72abe67332b6dfe419011b4b31bb8f4839e93470fdf6466cfeebb71e8268fc4eee7e1fc18c693db1b0ee010635360ad6bc1ac35171de94f599ff94b5b99bb8cbcb752c0d8bf814dcb17bf3011d0e8b621bb2d2ccf391b98afe47b113c135357f5704729a7424eb7d43d692ce0028c2ed7d17398ec2c7430b48d95e5b4641ba9aa09d938aee68a156aa708db4b7012db0d18235dbf4800a23edda7f53a433cb6a7df84a0b5cc4c1e810c4f0a2bd8201034aad9debd087e6b816ac31e8233d08ba685bde235a5f794f908405398c12ee0016d5d080eb4042680548d29f8730198051a9dccd0996d40c5a13b6949f14e4910025f28597f07d17439457e9e41a5c7f7daabbc134f6228be485f452461d5b996701220584b24e5a87af99109c460b2052df26f15e631ef8c36f18004ffd7a71a519002ae7670e81dc479985dd0caa0cb08f2128307b43aea07a6d3c5ab84aa648a5a70004ef828ddc623cb574e87065a5d7c3006597716c910190a866969dfea37c30d600249fb654c861c3688c2898fed0aac1fac075b6478146e3fb99d34ccaf790a21d0012a06b85562f201047ed922fe938e72069e4a25f0cc5782b1aec718c0bce46ea002e0dae8b0fe9e50fbe0ba74c6e0565212fddefef7053529cad2747978265f8a8011c140a7bc045eb496e520b4bd08e9dbdf18b9a1bbf6733be4248442d10a9fb0500302c870c17f7ef67e711df82b6603b30603694e188024fa41a14fada846d8ba9012db86e12e976195f38cba6915f7228c2e98fe0a266df942e7174e3f528ddb1d00102222e91f9a9e91904b17d64977352c93e5ac2f6e1d694041f7863ead356f5ee011f4e1eeef0606a9ae6d87562ed0f81dc0402d327102471c4b9dbb3fa3651ba09010e42adcbf49d9050d82ecaa5c40a9c9858aa0f97976cc593de7141d9aacc0a6c00200be9027f39b0dadb36df2114f3a7605a90347e3625304e290d83841365fa2a0011da530bc17fb6e3c5fcd5291fb286c9b52b943a1c93f68b7ac220ff9b008f170000000000000000000000000000000000000000000000000000000000000000000eab3f99967f03bb3a3b1e689145e406155d4c9e027a1206a1cc972f1003be5612eea86bea3b0ee07dafbc2610fe9c71bdeccead3ba0a2702f5da0d89d084f2c053f0931828d42aec32cd555d5d81639005192e5903da3c23218938c7c3dc918227a34fb4889a56ea461988da95aeca6e17dbf5865696fbe738bd7033f51f0b40346b290197557ac24db3e9281f0fedf01110dfeb4daf4d71163de652dc8b2b61778b5e0bd4f45541b35c62923b99b53c3b94f1478dd81708e14112e152e489e2c1c4c580d3e35a9f0693449a0af566deb3f32340373c023ffa6c9ff8d91f80d07af281574a4822870a05678b41d97c4a9b35541e6940f0120b9d47fc4bb2b2003e95bd2ec3c63245602f21808a875ba0d1028ca3e7869b6c6682a7125c1f2ff011ece8eb96ff3e0e9af0947749056b806e554fde39f475f0ca2211cf9198058a4002703f5443f1886e1caf60f775b6431bc948e4b0e2b76f56a8fc8c29da23caded041917938e845f826ddc5f2ec6aca0a985e6f6c98ea0cbc51f9429e2616500e20605af191eac7bd2696409d65dcbf3108079ec1f6bd5f9601b43dd3b58304d9d205b1ef7b34578d80236c0615ac79f69fcc7c92491bbbd3130cc22e8f0ea1fd21d2d5bfc8da06e2ba48acf70477d1cfefa7165a0804166027f0945faa85057cc236797a65ada0329e7de91712b4974fd83bb99ea97042788bfde4b8b9b5f1b251f6853fc4ffbdff382b24f209d4357099ea1c0d0c383dfd7f03d64bb7bff199406aae7f59190862d36ebefe8d011825bc663c6731f6397d5019f00055a3f80b71ab3b3813d5d509d89432a722ee789db88ca86c86fa76d6224b7eb3c5e66822b1e57f77674481d0a3a7252d47c4da5feab251db1b0b146620a9d271ca951c33f001080c18c31919d2de622fe0170824cc31ecaedd90d8214afcf47a7486474d65200153ade04144d5c29e2e0d6003fcf160bec90d79a42afcb4fe230bc695ce956ba001f4b437e4531531b85e326ccdf160e87408454ecd811fd41a51cc7a9585700df01092a076eebb6fb76ae2443dd7f007fe8edc4c7f54a1bdf48e8e5ae59ca513a9901205d75965eb434dd10e8425ff82d7f6695d4cf0b97507e800c3e3d59a60b83f3002d1496857827c872a53a792e86a74da252f12316972cfadbb2afcfa40a2883790108ccf31a2fdd88201361a0d4313a98a0272173132d1fa3d9bf018f35a7b439b701301da927ac71fea5a0024920ecbadd76f5f05f06b2d8e6874ae9a5348316585b002806c45af761489705e347dcc764ab531fbd7205c36c15f44ad1b633a609dda3000a40291cb5b71269ce0535a8b81ee3440e3db8208e4dd2af38c6591121c6a6560127f8dbc559ca73ecc28c0df0f38b7991bd348121cf5c111c4c505b019d5ef8de0018aae0f6ef38795ec5bac7e55ac5e580599a95043bc57ecc4930d2e1279269b2001c77bc717a5a1788e6157bf937e3f089ec9e27b0a7ab4eab11c25eec1918045300\"\n }\n}"
  455. },
  456. "description": ""
  457. },
  458. "response": []
  459. },
  460. {
  461. "name": "Get Height",
  462. "request": {
  463. "url": "http://127.0.0.1:40402/json_rpc",
  464. "method": "POST",
  465. "header": [
  466. {
  467. "key": "Content-Type",
  468. "value": "application/json",
  469. "description": ""
  470. }
  471. ],
  472. "body": {
  473. "mode": "raw",
  474. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetHeight\"\n}"
  475. },
  476. "description": ""
  477. },
  478. "response": []
  479. },
  480. {
  481. "name": "Get Block Count",
  482. "request": {
  483. "url": "http://127.0.0.1:40402/json_rpc",
  484. "method": "POST",
  485. "header": [
  486. {
  487. "key": "Content-Type",
  488. "value": "application/json",
  489. "description": ""
  490. }
  491. ],
  492. "body": {
  493. "mode": "raw",
  494. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetBlockCount\"\n}"
  495. },
  496. "description": ""
  497. },
  498. "response": []
  499. },
  500. {
  501. "name": "Get Last Block Header",
  502. "request": {
  503. "url": "http://127.0.0.1:40402/json_rpc",
  504. "method": "POST",
  505. "header": [
  506. {
  507. "key": "Content-Type",
  508. "value": "application/json",
  509. "description": ""
  510. }
  511. ],
  512. "body": {
  513. "mode": "raw",
  514. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetLastBlockHeader\"\n}"
  515. },
  516. "description": ""
  517. },
  518. "response": []
  519. },
  520. {
  521. "name": "Get Block Template",
  522. "request": {
  523. "url": "http://127.0.0.1:40402/json_rpc",
  524. "method": "POST",
  525. "header": [
  526. {
  527. "key": "Content-Type",
  528. "value": "application/json",
  529. "description": ""
  530. }
  531. ],
  532. "body": {
  533. "mode": "raw",
  534. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetBlockTemplate\",\n \"params\": {\n \t\"wallet_address\": \"deto1qyyhg0xznkaxt5udct6lnlylsexvwprun6jphv89xg008vq29jk4vqqayuknf\",\n \t\"block\": true,\n \t\"miner\": \"Slixe\"\n }\n}"
  535. },
  536. "description": ""
  537. },
  538. "response": []
  539. },
  540. {
  541. "name": "Get Encrypted Balance",
  542. "request": {
  543. "url": "http://127.0.0.1:40402/json_rpc",
  544. "method": "POST",
  545. "header": [
  546. {
  547. "key": "Content-Type",
  548. "value": "application/json",
  549. "description": ""
  550. }
  551. ],
  552. "body": {
  553. "mode": "raw",
  554. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetEncryptedBalance\",\n \"params\": {\n \t\"address\": \"deto1qyyhg0xznkaxt5udct6lnlylsexvwprun6jphv89xg008vq29jk4vqqayuknf\",\n \t\"topoheight\": -1\n }\n}"
  555. },
  556. "description": ""
  557. },
  558. "response": []
  559. },
  560. {
  561. "name": "Get Smart Contract",
  562. "request": {
  563. "url": "http://127.0.0.1:40402/json_rpc",
  564. "method": "POST",
  565. "header": [
  566. {
  567. "key": "Content-Type",
  568. "value": "application/json",
  569. "description": ""
  570. }
  571. ],
  572. "body": {
  573. "mode": "raw",
  574. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetSC\",\n \"params\": {\n \t\"scid\": \"0000000000000000000000000000000000000000000000000000000000000001\",\n \t\"code\": true,\n \t\"variables\": true\n }\n}"
  575. },
  576. "description": ""
  577. },
  578. "response": []
  579. },
  580. {
  581. "name": "Get Gas Estimate",
  582. "request": {
  583. "url": "http://127.0.0.1:40402/json_rpc",
  584. "method": "POST",
  585. "header": [
  586. {
  587. "key": "Content-Type",
  588. "value": "application/json",
  589. "description": ""
  590. }
  591. ],
  592. "body": {
  593. "mode": "raw",
  594. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.GetGasEstimate\",\n \"params\": {\n \t\"transfers\": [],\n \t\"sc_rpc\": [{\n \t\t\"name\": \"SC_ACTION\",\n \t\t\"datatype\": \"U\",\n \t\t\"value\": 0\n \t},\n \t{\n \t\t\"name\": \"SC_ID\",\n \t\t\"datatype\": \"H\",\n \t\t\"value\": \"0000000000000000000000000000000000000000000000000000000000000001\"\n \t},\n \t{\n \t\t\"name\": \"entrypoint\",\n \t\t\"datatype\": \"S\",\n \t\t\"value\": \"Register\"\n \t},\n \t{\n \t\t\"name\": \"name\",\n \t\t\"datatype\": \"S\",\n \t\t\"value\": \"Slixe\"\n \t}],\n \t\"signer\": \"deto1qyyhg0xznkaxt5udct6lnlylsexvwprun6jphv89xg008vq29jk4vqqayuknf\"\n }\n}"
  595. },
  596. "description": ""
  597. },
  598. "response": []
  599. },
  600. {
  601. "name": "Name To Address",
  602. "request": {
  603. "url": "http://127.0.0.1:40402/json_rpc",
  604. "method": "POST",
  605. "header": [
  606. {
  607. "key": "Content-Type",
  608. "value": "application/json",
  609. "description": ""
  610. }
  611. ],
  612. "body": {
  613. "mode": "raw",
  614. "raw": "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"DERO.NameToAddress\",\n \"params\": {\n \t\"name\": \"captain\",\n \t\"topoheight\": -1\n }\n}"
  615. },
  616. "description": ""
  617. },
  618. "response": []
  619. }
  620. ]
  621. }
  622. ]
  623. }