· 6 years ago · Oct 23, 2019, 10:18 PM
1Daniel-MBP:api-tests danielvdm$ python3 test.py --rpc_endpoint_src=https://api.s0.t.hmny.io/ --rpc_endpoint_dst=https://api.s1.t.hmny.io/ --exp_endpoint=http://e0.t.hmny.io:5000/ --chain_id=mainnet --keystore=./MainnetKeys/ --cli_passphrase='harmony-one'
2CLI Version: Harmony (C) 2019. hmy, version v108-35247b1 (danielvdm@harmony.one 2019-10-18T23:36:56-0700)
3Loading keys...
4Getting RawTxn...
5Raw transaction details:
6 Node: https://api.s0.t.hmny.io/
7 From: one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm
8 To: one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r
9 From-shard: 0
10 To-shard: 1
11 Transaction for mainnet
12 Transaction:
13 {
14 "nonce": "0x7",
15 "gasPrice": "0x0",
16 "gas": "0x5208",
17 "shardID": 0,
18 "toShardID": 1,
19 "to": "0x9ad139ffc9f62a7c215766de5901124402cbe531",
20 "value": "0x3b9aca00",
21 "input": "0x",
22 "v": "0x25",
23 "r": "0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af",
24 "s": "0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5",
25 "hash": "0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6"
26 }
27
28 Iteration 1 out of 5
29
30newman
31
32Harmony API Tests (Env Vars)
33
34→ hmy_sendRawTransaction
35 POST https://api.s0.t.hmny.io/ [200 OK, 250B, 238ms]
36 ┌
37 │ 'Request Body'
38 │ '{"jsonrpc":"2.0","method":"hmy_sendRawTransaction","params":["0xf86507808252088001949ad139ffc9f62a
39 │ 7c215766de5901124402cbe531843b9aca008025a02fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985
40 │ afa00e80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5"],"id":1}'
41 │
42 │ 'Response'
43 │ {
44 │ jsonrpc: '2.0',
45 │ id: 1,
46 │ result: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6'
47 │ }
48 └
49 ✓ Response should not contain errors.
50 ✓ Response should have non-null result field.
51
52→ hmy_getTransactionByHash
53 ┌
54 │ 'Sleeping 30 seconds for cross-shard transaction finality...'
55 └
56 POST https://api.s0.t.hmny.io/ [200 OK, 754B, 67ms]
57 ┌
58 │ 'Request Body'
59 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionByHash","params":["0x75ff909902ed1ee70881910affab2c66
60 │ fbbc1db7acdbf1aa446910d526807da6"],"id":1}'
61 │
62 │ 'Response'
63 │ {
64 │ jsonrpc: '2.0',
65 │ id: 1,
66 │ result: {
67 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
68 │ blockNumber: '0x128709',
69 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
70 │ gas: '0x5208',
71 │ gasPrice: '0x0',
72 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
73 │ input: '0x',
74 │ nonce: '0x7',
75 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
76 │ transactionIndex: '0x0',
77 │ value: '0x3b9aca00',
78 │ shardID: 0,
79 │ toShardID: 1,
80 │ v: '0x25',
81 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
82 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
83 │ }
84 │ }
85 └
86 ✓ Response should not contain errors.
87 ✓ Response should have non-null result field.
88
89→ hmy_getCXReceiptByHash
90 POST https://api.s1.t.hmny.io/ [200 OK, 185B, 185ms]
91 ┌
92 │ 'Request Body'
93 │ '{"jsonrpc":"2.0","method":"hmy_getCXReceiptByHash","params":["0x75ff909902ed1ee70881910affab2c66fb
94 │ bc1db7acdbf1aa446910d526807da6"],"id":1}'
95 │
96 │ 'Response'
97 │ { jsonrpc: '2.0', id: 1, result: null }
98 └
99 ✓ Response should not contain errors.
100 1. Response should have non-null result field.
101
102→ hmy_resendCx
103 POST https://api.s1.t.hmny.io/ [200 OK, 185B, 45ms]
104 ┌
105 │ 'Request Body'
106 │ '{"jsonrpc":"2.0","method":"hmy_getCXReceiptByHash","params":["0x75ff909902ed1ee70881910affab2c66fb
107 │ bc1db7acdbf1aa446910d526807da6"],"id":1}'
108 │
109 │ 'Response'
110 │ { jsonrpc: '2.0', id: 1, result: null }
111 └
112 ✓ Response should not contain errors.
113 2. Response should have non-null result field.
114
115→ hmy_getTransactionCount
116 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 51ms]
117 ┌
118 │ 'Request Body'
119 │ '{\n' +
120 │ ' "jsonrpc": "2.0",\n' +
121 │ ' "method": "hmy_getTransactionCount",\n' +
122 │ ' "params": [\n' +
123 │ ' "one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm",\n' +
124 │ ' "latest"\n' +
125 │ ' ],\n' +
126 │ ' "id": 1\n' +
127 │ '}'
128 │
129 │ 'Response'
130 │ { jsonrpc: '2.0', id: 1, result: '0x8' }
131 └
132 ✓ Response should not contain errors.
133 ✓ Response should have non-null result field.
134
135→ hmy_getBlockByHash
136 POST https://api.s0.t.hmny.io/ [200 OK, 1.96KB, 47ms]
137 ┌
138 │ 'Request Body'
139 │ '{\n' +
140 │ ' "jsonrpc": "2.0",\n' +
141 │ ' "method": "hmy_getBlockByHash",\n' +
142 │ ' "params": [\n' +
143 │ ' "0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1",\n' +
144 │ ' true\n' +
145 │ ' ],\n' +
146 │ ' "id": 1\n' +
147 │ '}'
148 │
149 │ 'Response'
150 │ {
151 │ jsonrpc: '2.0',
152 │ id: 1,
153 │ result: {
154 │ difficulty: 0,
155 │ extraData: '0x',
156 │ gasLimit: '0x6f05b59d3b20000',
157 │ gasUsed: '0x5208',
158 │ hash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
159 │ logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000
160 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
161 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
162 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
163 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
164 │ 0000000000000000000000000',
165 │ miner: '0x91198072b678e0242623575ea5ece5689ba3f46e',
166 │ mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
167 │ nonce: 0,
168 │ number: '0x128709',
169 │ parentHash: '0x418013311951b429b2d8be8ac72862e6d8546bb6404c815fc0b674f7c3059d44'
170 │ ,
171 │ receiptsRoot: '0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2'
172 │ 9m,
173 │ size: '0x34f',
174 │ stateRoot: '0x9c9b77a3c5fad4c678b60a782dac10f48a43676749dec65d269861466ddb4a70',
175 │ timestamp: '0x5db0cf8e',
176 │ transactions: [
177 │ {
178 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1'
179 │ 39m,
180 │ blockNumber: '0x128709',
181 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
182 │ gas: '0x5208',
183 │ gasPrice: '0x0',
184 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
185 │ input: '0x',
186 │ nonce: '0x7',
187 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
188 │ transactionIndex: '0x0',
189 │ value: '0x3b9aca00',
190 │ shardID: 0,
191 │ toShardID: 1,
192 │ v: '0x25',
193 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
194 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
195 │ }
196 │ ],
197 │ transactionsRoot: '0x35fa9c3a3045d0aadd5a0e07d9b6a1f94066c1da26a0dc59a323d02de8c20049
198 │ ',
199 │ uncles: []
200 │ }
201 │ }
202 └
203 ✓ Response should not contain errors.
204 ✓ Response should have non-null result field.
205
206→ hmy_getBlockByNumber
207 POST https://api.s0.t.hmny.io/ [200 OK, 1.96KB, 73ms]
208 ┌
209 │ 'Request Body'
210 │ '{"jsonrpc":"2.0","method":"hmy_getBlockByNumber","params":["0x128709", true],"id":1}'
211 │
212 │ 'Response'
213 │ {
214 │ jsonrpc: '2.0',
215 │ id: 1,
216 │ result: {
217 │ difficulty: 0,
218 │ extraData: '0x',
219 │ gasLimit: '0x6f05b59d3b20000',
220 │ gasUsed: '0x5208',
221 │ hash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
222 │ logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000
223 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
224 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
225 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
226 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
227 │ 0000000000000000000000000',
228 │ miner: '0x91198072b678e0242623575ea5ece5689ba3f46e',
229 │ mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
230 │ nonce: 0,
231 │ number: '0x128709',
232 │ parentHash: '0x418013311951b429b2d8be8ac72862e6d8546bb6404c815fc0b674f7c3059d44'
233 │ ,
234 │ receiptsRoot: '0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2'
235 │ 9m,
236 │ size: '0x34f',
237 │ stateRoot: '0x9c9b77a3c5fad4c678b60a782dac10f48a43676749dec65d269861466ddb4a70',
238 │ timestamp: '0x5db0cf8e',
239 │ transactions: [
240 │ {
241 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1'
242 │ 39m,
243 │ blockNumber: '0x128709',
244 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
245 │ gas: '0x5208',
246 │ gasPrice: '0x0',
247 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
248 │ input: '0x',
249 │ nonce: '0x7',
250 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
251 │ transactionIndex: '0x0',
252 │ value: '0x3b9aca00',
253 │ shardID: 0,
254 │ toShardID: 1,
255 │ v: '0x25',
256 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
257 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
258 │ }
259 │ ],
260 │ transactionsRoot: '0x35fa9c3a3045d0aadd5a0e07d9b6a1f94066c1da26a0dc59a323d02de8c20049
261 │ ',
262 │ uncles: []
263 │ }
264 │ }
265 └
266 ✓ Response should not contain errors.
267 ✓ Response should have non-null result field.
268 ✓ hash in response should match blockHash of transaction block.
269 ✓ number in response should match number reported by getBlockByHash.
270
271→ hmy_getBlockTransactionCountByHash
272 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 41ms]
273 ┌
274 │ 'Request Body'
275 │ '{"jsonrpc":"2.0","method":"hmy_getBlockTransactionCountByHash","params":["0xacbf3242d8b9ac5aa0fd03
276 │ c881fc0a148505c1ea669f4cf8948e18c89c8f42e1"],"id":1}'
277 │
278 │ 'Response'
279 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
280 └
281 ✓ Response should not contain errors.
282 ✓ Response should have non-null result field.
283
284→ hmy_getBlockTransactionCountByNumber
285 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 192ms]
286 ┌
287 │ 'Request Body'
288 │ '{"jsonrpc":"2.0","method":"hmy_getBlockTransactionCountByNumber","params":["0x128709"],"id":1}'
289 │ 9m
290 │
291 │ 'Response'
292 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
293 └
294 ✓ Response should not contain errors.
295 ✓ Response should have non-null result field.
296 ✓ Transaction count in result should match transaction count from result of getBlockTransactionCountByHash
297
298→ hmy_getTransactionReceipt
299 POST https://api.s0.t.hmny.io/ [200 OK, 1.11KB, 41ms]
300 ┌
301 │ 'Request Body'
302 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionReceipt","params":["0x75ff909902ed1ee70881910affab2c6
303 │ 6fbbc1db7acdbf1aa446910d526807da6"],"id":1}'
304 │
305 │ 'Response'
306 │ {
307 │ jsonrpc: '2.0',
308 │ id: 1,
309 │ result: {
310 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
311 │ blockNumber: '0x128709',
312 │ contractAddress: null,
313 │ cumulativeGasUsed: '0x5208',
314 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
315 │ gasUsed: '0x5208',
316 │ logs: [],
317 │ logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000
318 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
319 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
320 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
321 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
322 │ 0000000000000000000000000',
323 │ shardID: 0,
324 │ status: '0x1',
325 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
326 │ transactionHash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6'
327 │ ,
328 │ transactionIndex: '0x0'
329 │ }
330 │ }
331 └
332 ✓ Response should not contain errors.
333 ✓ Response should have non-null result field.
334 ✓ blockHash, blockNumber, transactionHash, and transactionIndex should match with previously saved values.
335
336→ hmy_getBalance
337 POST https://api.s0.t.hmny.io/ [200 OK, 202B, 39ms]
338 ┌
339 │ 'Request Body'
340 │ '{\n' +
341 │ ' "jsonrpc": "2.0",\n' +
342 │ ' "method": "hmy_getBalance",\n' +
343 │ ' "params": [\n' +
344 │ ' "one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm",\n' +
345 │ ' "latest"\n' +
346 │ ' ],\n' +
347 │ ' "id": 1\n' +
348 │ '}'
349 │
350 │ 'Response'
351 │ { jsonrpc: '2.0', id: 1, result: '0xd8d726b6f9ad1
352 │ b000' }
353 └
354 ✓ Response should not contain errors.
355 ✓ Response should have non-null result field.
356
357→ hmy_getShardingStructure
358 POST https://api.s0.t.hmny.io/ [200 OK, 554B, 38ms]
359 ┌
360 │ 'Request Body'
361 │ '{\n' +
362 │ ' "jsonrpc": "2.0",\n' +
363 │ ' "method": "hmy_getShardingStructure",\n' +
364 │ ' "params": [\n' +
365 │ ' \n' +
366 │ ' ],\n' +
367 │ ' "id": 1\n' +
368 │ '}'
369 │
370 │ 'Response'
371 │ {
372 │ jsonrpc: '2.0',
373 │ id: 1,
374 │ result: [
375 │ {
376 │ current: true,
377 │ http: 'https://api.s0.t.hmny.io',
378 │ shardID: 0,
379 │ ws: 'wss://ws.s0.t.hmny.io'
380 │ },
381 │ {
382 │ current: false,
383 │ http: 'https://api.s1.t.hmny.io',
384 │ shardID: 1,
385 │ ws: 'wss://ws.s1.t.hmny.io'
386 │ },
387 │ {
388 │ current: false,
389 │ http: 'https://api.s2.t.hmny.io',
390 │ shardID: 2,
391 │ ws: 'wss://ws.s2.t.hmny.io'
392 │ },
393 │ {
394 │ current: false,
395 │ http: 'https://api.s3.t.hmny.io',
396 │ shardID: 3,
397 │ ws: 'wss://ws.s3.t.hmny.io'
398 │ }
399 │ ]
400 │ }
401 └
402 ✓ Response should not contain errors.
403 ✓ Response should have non-null result field.
404
405→ hmy_getCode
406 POST https://api.s0.t.hmny.io/ (node:28411) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
407[200 OK, 185B, 38ms]
408 ┌
409 │ 'Request Body'
410 │ '{\n' +
411 │ ' "jsonrpc": "2.0",\n' +
412 │ ' "method": "hmy_getCode",\n' +
413 │ ' "params": [\n' +
414 │ ' "0x8d0c56C099f2816B6534eB1d74543846EC558357",\n' +
415 │ ' "latest"\t\n' +
416 │ ' ],\n' +
417 │ ' "id": 1\n' +
418 │ '}'
419 │
420 │ 'Response'
421 │ { jsonrpc: '2.0', id: 1, result: '0x' }
422 └
423 ✓ Response should not contain errors.
424 ✓ Response should have non-null result field.
425
426→ hmy_getTransactionByBlockHashAndIndex
427 POST https://api.s0.t.hmny.io/ [200 OK, 754B, 42ms]
428 ┌
429 │ 'Request Body'
430 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionByBlockHashAndIndex","params":["0xacbf3242d8b9ac5aa0f
431 │ d03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1", "0x0"],"id":1}'
432 │
433 │ 'Response'
434 │ {
435 │ jsonrpc: '2.0',
436 │ id: 1,
437 │ result: {
438 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
439 │ blockNumber: '0x128709',
440 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
441 │ gas: '0x5208',
442 │ gasPrice: '0x0',
443 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
444 │ input: '0x',
445 │ nonce: '0x7',
446 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
447 │ transactionIndex: '0x0',
448 │ value: '0x3b9aca00',
449 │ shardID: 0,
450 │ toShardID: 1,
451 │ v: '0x25',
452 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
453 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
454 │ }
455 │ }
456 └
457 ✓ Response should not contain errors.
458 ✓ Response should have non-null result field.
459
460→ hmy_getTransactionByBlockNumberAndIndex
461 POST https://api.s0.t.hmny.io/ [200 OK, 754B, 47ms]
462 ┌
463 │ 'Request Body'
464 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionByBlockNumberAndIndex","params":["0x128709", "0x0"],"
465 │ id":1}'
466 │
467 │ 'Response'
468 │ {
469 │ jsonrpc: '2.0',
470 │ id: 1,
471 │ result: {
472 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
473 │ blockNumber: '0x128709',
474 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
475 │ gas: '0x5208',
476 │ gasPrice: '0x0',
477 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
478 │ input: '0x',
479 │ nonce: '0x7',
480 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
481 │ transactionIndex: '0x0',
482 │ value: '0x3b9aca00',
483 │ shardID: 0,
484 │ toShardID: 1,
485 │ v: '0x25',
486 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
487 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
488 │ }
489 │ }
490 └
491 ✓ Response should not contain errors.
492 ✓ Response should have non-null result field.
493
494→ hmy_syncing
495 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 43ms]
496 ┌
497 │ 'Request Body'
498 │ '{\n "jsonrpc": "2.0",\n "method": "hmy_syncing",\n "params": [],\n "id": 1\n}'
499 │
500 │ 'Response'
501 │ { jsonrpc: '2.0', id: 1, result: false }
502 └
503 ✓ Response should not contain errors.
504 ✓ Response should have non-null result field.
505
506→ net_peerCount
507 POST https://api.s0.t.hmny.io/ [200 OK, 188B, 62ms]
508 ┌
509 │ 'Request Body'
510 │ '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":1}'
511 │
512 │ 'Response'
513 │ { jsonrpc: '2.0', id: 1, result: '0x23f' }
514 └
515 ✓ Response should not contain errors.
516 ✓ Response should have non-null result field.
517
518→ hmy_getStorageAt
519 POST https://api.s0.t.hmny.io/ [200 OK, 250B, 67ms]
520 ┌
521 │ 'Request Body'
522 │ '{"jsonrpc":"2.0","method":"hmy_getStorageAt","params":["0x5d1bc8af89a892ec62ca124a4acb535fa67e4c24
523 │ 255269c929d9ac5c91bc2fee", "0", "latest"],"id":1}'
524 │
525 │ 'Response'
526 │ {
527 │ jsonrpc: '2.0',
528 │ id: 1,
529 │ result: '0x0000000000000000000000000000000000000000000000000000000000000000'
530 │ }
531 └
532 ✓ Response should not contain errors.
533 ✓ Response should have non-null result field.
534
535→ hmy_getLogs
536 POST https://api.s0.t.hmny.io/ [200 OK, 221B, 37ms]
537 ┌
538 │ 'Request Body'
539 │ '{\n' +
540 │ ' "jsonrpc": "2.0",\n' +
541 │ ' "method": "hmy_getLogs",\n' +
542 │ ' "params": [\n' +
543 │ ' {\n' +
544 │ ' "BlockHash": "0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1"\n'
545 │ +
546 │ ' }\n' +
547 │ ' ],\n' +
548 │ ' "id": 1\n' +
549 │ '}'
550 │
551 │ 'Response'
552 │ { jsonrpc: '2.0', id: 1, error: { code:
553 │ m-32000, message: 'unknown block' } }
554 └
555
556→ hmy_getFilterChanges
557 POST https://api.s0.t.hmny.io/ [200 OK, 224B, 48ms]
558 ┌
559 │ 'Request Body'
560 │ '{"jsonrpc":"2.0", "method":"hmy_getFilterChanges", "params":["0xc480530dc87c1f95489606741dbc7bcc"]
561 │ ,"id":1}'
562 │
563 │ 'Response'
564 │ { jsonrpc: '2.0', id: 1, error: { code:
565 │ m-32000, message: 'filter not found' } }
566 └
567
568→ hmy_newPendingTransactionFilter
569 POST https://api.s0.t.hmny.io/ [200 OK, 217B, 61ms]
570 ┌
571 │ 'Request Body'
572 │ '{"jsonrpc":"2.0", "method":"hmy_newPendingTransactionFilter", "params":[],"id":1}'
573 │
574 │ 'Response'
575 │ { jsonrpc: '2.0', id: 1, result: '0x9f3a3fb0fe1e7
576 │ 4c622c1ad342e13e80e' }
577 └
578 ✓ Response should not contain errors.
579 ✓ Response should have non-null result field.
580
581→ hmy_newBlockFilter
582 POST https://api.s0.t.hmny.io/ [200 OK, 217B, 55ms]
583 ┌
584 │ 'Request Body'
585 │ '{"jsonrpc":"2.0", "method":"hmy_newBlockFilter", "params":[],"id":1}'
586 │
587 │ 'Response'
588 │ { jsonrpc: '2.0', id: 1, result: '0x30cfa2f283a2e
589 │ c8b6106860d6a3a5108' }
590 └
591 ✓ Response should not contain errors.
592 ✓ Response should have non-null result field.
593
594→ hmy_newFilter
595 POST https://api.s0.t.hmny.io/ [200 OK, 217B, 65ms]
596 ┌
597 │ 'Request Body'
598 │ '{"jsonrpc":"2.0", "method":"hmy_newFilter", "params":[{"BlockHash": "0xb855a4a02ae5c658baaa1bb31da
599 │ 4eb5963659545d4604d5285cb6965c9137a4f"}],"id":1}'
600 │
601 │ 'Response'
602 │ { jsonrpc: '2.0', id: 1, result: '0xeb9ff891d1759
603 │ 9c6859bf76bf5e47574' }
604 └
605 ✓ Response should not contain errors.
606 ✓ Response should have non-null result field.
607
608→ hmy_call
609 POST https://api.s0.t.hmny.io/ [200 OK, 185B, 49ms]
610 ┌
611 │ 'Request Body'
612 │ '{"jsonrpc":"2.0", "method":"hmy_call", "params":[{"to": "0x08AE1abFE01aEA60a47663bCe0794eCCD5763c1
613 │ 9"}, "latest"],"id":1}'
614 │
615 │ 'Response'
616 │ { jsonrpc: '2.0', id: 1, result: '0x' }
617 └
618 ✓ Response should not contain errors.
619 ✓ Response should have non-null result field.
620
621→ hmy_gasPrice
622 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 57ms]
623 ┌
624 │ 'Request Body'
625 │ '{"jsonrpc":"2.0","method":"hmy_gasPrice","params":[],"id":1}'
626 │
627 │ 'Response'
628 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
629 └
630 ✓ Response should not contain errors.
631 ✓ Response should have non-null result field.
632
633→ hmy_blockNumber
634 POST https://api.s0.t.hmny.io/ [200 OK, 191B, 47ms]
635 ┌
636 │ 'Request Body'
637 │ '{"jsonrpc":"2.0","method":"hmy_blockNumber","params":[],"id":1}'
638 │
639 │ 'Response'
640 │ { jsonrpc: '2.0', id: 1, result: '0x12870b'
641 │ }
642 └
643 ✓ Response should not contain errors.
644 ✓ Response should have non-null result field.
645
646→ net_version
647 POST https://api.s0.t.hmny.io/ [200 OK, 184B, 157ms]
648 ┌
649 │ 'Request Body'
650 │ '{"jsonrpc":"2.0","method":"net_version","params":[],"id":1}'
651 │
652 │ 'Response'
653 │ { jsonrpc: '2.0', id: 1, result: '1' }
654 └
655 ✓ Response should not contain errors.
656 ✓ Response should have non-null result field.
657
658→ hmy_protocolVersion
659 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 117ms]
660 ┌
661 │ 'Request Body'
662 │ '{\n' +
663 │ ' "jsonrpc": "2.0",\n' +
664 │ ' "method": "hmy_protocolVersion",\n' +
665 │ ' "params": [],\n' +
666 │ ' "id": 1\n' +
667 │ '}'
668 │
669 │ 'Response'
670 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
671 └
672 ✓ Response should not contain errors.
673 ✓ Response should have non-null result field.
674
675→ blocks_beta
676 GET http://e0.t.hmny.io:5000/blocks?from=0&to=4 [200 OK, 2.51KB, 155ms]
677 ┌
678 │ 'Request URL'
679 │ {
680 │ protocol: 'http',
681 │ port: '5000',
682 │ path: [ 'blocks' ],
683 │ host: [ 'e0', 't', 'hmny', 'io' ],
684 │ query: [ { key: 'from', value: '0' }, { key
685 │ m: 'to', value: '4' } ],
686 │ variable: []
687 │ }
688 │
689 │ 'Request Body'
690 │ ''
691 │
692 │ 'Response'
693 │ [
694 │ {
695 │ height: '0',
696 │ id: '0xb4d158b82ac8a653c42b78697ab1cd0c6a0d9a15ab3bc34130f0b719fb174d2a',
697 │ txCount: '0',
698 │ timestamp: '1561734000000',
699 │ blockTime: 0,
700 │ merkleRoot: '0x8be048c908585bbb6b155324ad8a854484994ab27e5987af134ad036079675bf'
701 │ ,
702 │ prevBlock: { id: '', height: '' },
703 │ bytes: '43882',
704 │ nextBlock: {
705 │ id: '0x61ce03ef5efa374b0d0d527ea38c3d13cb05cf765a4f898e91a5de1f6b224cdd',
706 │ height: '1'
707 │ },
708 │ txs: null,
709 │ signers: [],
710 │ epoch: 0,
711 │ extra_data: 'Harmony for One and All. Open Consensus for 10B.'
712 │ },
713 │ {
714 │ height: '1',
715 │ id: '0x61ce03ef5efa374b0d0d527ea38c3d13cb05cf765a4f898e91a5de1f6b224cdd',
716 │ txCount: '0',
717 │ timestamp: '1561736306000',
718 │ blockTime: 2306,
719 │ merkleRoot: '0x8be048c908585bbb6b155324ad8a854484994ab27e5987af134ad036079675bf'
720 │ ,
721 │ prevBlock: {
722 │ id: '0xb4d158b82ac8a653c42b78697ab1cd0c6a0d9a15ab3bc34130f0b719fb174d2a',
723 │ height: '0'
724 │ },
725 │ bytes: '601',
726 │ nextBlock: {
727 │ id: '0x705e7368bd6a3b61761c92617bc49d9a6108226872473bb9deaa6c995f939c49',
728 │ height: '2'
729 │ },
730 │ txs: null,
731 │ signers: [],
732 │ epoch: 0,
733 │ extra_data: ''
734 │ },
735 │ {
736 │ height: '2',
737 │ id: '0x705e7368bd6a3b61761c92617bc49d9a6108226872473bb9deaa6c995f939c49',
738 │ txCount: '0',
739 │ timestamp: '1561736315000',
740 │ blockTime: 9,
741 │ merkleRoot: '0x8e90e429b28aea29f6560a6e19eeafcce899bdd16fedca2d1dbfe65b76488d65'
742 │ ,
743 │ prevBlock: {
744 │ id: '0x61ce03ef5efa374b0d0d527ea38c3d13cb05cf765a4f898e91a5de1f6b224cdd',
745 │ height: '1'
746 │ },
747 │ bytes: '620',
748 │ nextBlock: {
749 │ id: '0xae8bc010cd39623e2222ba0c0fae901bba146b4c4be27079f258fcac654e7271',
750 │ height: '3'
751 │ },
752 │ txs: null,
753 │ signers: [],
754 │ epoch: 0,
755 │ extra_data: ''
756 │ },
757 │ {
758 │ height: '3',
759 │ id: '0xae8bc010cd39623e2222ba0c0fae901bba146b4c4be27079f258fcac654e7271',
760 │ txCount: '0',
761 │ timestamp: '1561736323000',
762 │ blockTime: 8,
763 │ merkleRoot: '0x961bb6178d2d08a3f8f88a88af61efff66ac3496690a00e967b8d3a49fcfaf70'
764 │ ,
765 │ prevBlock: {
766 │ id: '0x705e7368bd6a3b61761c92617bc49d9a6108226872473bb9deaa6c995f939c49',
767 │ height: '2'
768 │ },
769 │ bytes: '620',
770 │ nextBlock: {
771 │ id: '0x8e911bba4cb58607bab37e4c80fe2b0e0249a83149267fcf93dae464ab5b96eb',
772 │ height: '4'
773 │ },
774 │ txs: null,
775 │ signers: [],
776 │ epoch: 0,
777 │ extra_data: ''
778 │ },
779 │ {
780 │ height: '4',
781 │ id: '0x8e911bba4cb58607bab37e4c80fe2b0e0249a83149267fcf93dae464ab5b96eb',
782 │ txCount: '0',
783 │ timestamp: '1561736331000',
784 │ blockTime: 8,
785 │ merkleRoot: '0x215fe00027dd3d36ac6c1a3181af1f1f69828a531f6bf49272e3e824c0ab939c'
786 │ ,
787 │ prevBlock: {
788 │ id: '0xae8bc010cd39623e2222ba0c0fae901bba146b4c4be27079f258fcac654e7271',
789 │ height: '3'
790 │ },
791 │ bytes: '620',
792 │ nextBlock: {
793 │ id: '0x041c0230bb41fe636dc43f26eed89e1080ec9591f5735d4cac98b6e7995b2ec8',
794 │ height: '5'
795 │ },
796 │ txs: null,
797 │ signers: [],
798 │ epoch: 0,
799 │ extra_data: ''
800 │ }
801 │ ]
802 └
803 ✓ Response should not be an empty array.
804 ✓ Response array length should be the difference of the search bounds plus one.
805
806→ tx_beta
807 GET http://e0.t.hmny.io:5000/tx?id=0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6 [200 OK, 405B, 46ms]
808 ┌
809 │ 'Request URL'
810 │ {
811 │ protocol: 'http',
812 │ port: '5000',
813 │ path: [ 'tx' ],
814 │ host: [ 'e0', 't', 'hmny', 'io' ],
815 │ query: [
816 │ {
817 │ key: 'id',
818 │ value: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6'
819 │ }
820 │ ],
821 │ variable: []
822 │ }
823 │
824 │ 'Request Body'
825 │ ''
826 │
827 │ 'Response'
828 │ {
829 │ id: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
830 │ timestamp: '1571868558000',
831 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
832 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
833 │ value: 1000000000,
834 │ bytes: '103',
835 │ data: '',
836 │ gasFee: 0,
837 │ fromShard: 0,
838 │ toShard: 1,
839 │ type: ''
840 │ }
841 └
842 ✓ Response ID should not be empty.
843 ✓ Response ID should match ID specified in the URL
844
845→ address_beta
846 GET http://e0.t.hmny.io:5000/address?id=one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm&tx_view=ALL&offset=1&page=1 [200 OK, 501B, 55ms]
847 ┌
848 │ 'Request URL'
849 │ {
850 │ protocol: 'http',
851 │ port: '5000',
852 │ path: [ 'address' ],
853 │ host: [ 'e0', 't', 'hmny', 'io' ],
854 │ query: [
855 │ { key: 'id', value: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm'
856 │ [39m },
857 │ { key: 'tx_view', value: 'ALL' },
858 │ { key: 'offset', value: '1' },
859 │ { key: 'page', value: '1' }
860 │ ],
861 │ variable: []
862 │ }
863 │
864 │ 'Request Body'
865 │ ''
866 │
867 │ 'Response'
868 │ {
869 │ id: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
870 │ balance: 249999999992000000000,
871 │ txs: [
872 │ {
873 │ id: '0xf4fa857e5e7a51ba392e2c3ad3168ec42f6a902e0f85c3248dead6ecd6acdf0f',
874 │ timestamp: '1571864930000',
875 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
876 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
877 │ value: 1000000000,
878 │ bytes: '103',
879 │ data: '',
880 │ gasFee: 0,
881 │ fromShard: 0,
882 │ toShard: 1,
883 │ type: 'SENT'
884 │ }
885 │ ]
886 │ }
887 └
888 ✓ Transactions array should be not null.
889 ✓ Length of transactions array should match offset parameter in url.
890
891→ shard_beta
892 GET http://e0.t.hmny.io:5000/shard [200 OK, 186B, 81ms]
893 ┌
894 │ 'Request URL'
895 │ {
896 │ protocol: 'http',
897 │ port: '5000',
898 │ path: [ 'shard' ],
899 │ host: [ 'e0', 't', 'hmny', 'io' ],
900 │ query: [],
901 │ variable: []
902 │ }
903 │
904 │ 'Request Body'
905 │ ''
906 │
907 │ 'Response'
908 │ { nodes: [ { id: 'QmesxHkBCr2udF9qxeGV34zyCn2xzMywHDHcQ4QVpfWH1R' }, {
909 │ 7mid: '' } ] }
910 └
911 ✓ Nodes array should not be empty
912
913→ node-count_beta
914 GET http://e0.t.hmny.io:5000/node-count [200 OK, 109B, 42ms]
915 ┌
916 │ 'Request URL'
917 │ {
918 │ protocol: 'http',
919 │ port: '5000',
920 │ path: [ 'node-count' ],
921 │ host: [ 'e0', 't', 'hmny', 'io' ],
922 │ query: [],
923 │ variable: []
924 │ }
925 │
926 │ 'Request Body'
927 │ ''
928 │
929 │ 'Response'
930 │ 2
931 └
932
933→ committee_beta
934 GET http://e0.t.hmny.io:5000/committee?shard_id=0&epoch=0 [200 OK, 22.46KB, 126ms]
935 ┌
936 │ 'Request URL'
937 │ {
938 │ protocol: 'http',
939 │ port: '5000',
940 │ path: [ 'committee' ],
941 │ host: [ 'e0', 't', 'hmny', 'io' ],
942 │ query: [ { key: 'shard_id', value: '0' }, { key
943 │ : 'epoch', value: '0' } ],
944 │ variable: []
945 │ }
946 │
947 │ 'Request Body'
948 │ ''
949 │
950 │ 'Response'
951 │ {
952 │ validators: [
953 │ {
954 │ address: 'one1gh043zc95e6mtutwy5a2zhvsxv7lnlklkj42ux',
955 │ balance: 1.348892799083978e+23
956 │ },
957 │ {
958 │ address: 'one1jyvcqu4k0rszgf3r2a02tm89dzd68arw5lz9vl',
959 │ balance: 1.550338141640223e+23
960 │ },
961 │ {
962 │ address: 'one1nn2c86kwaq4nk8lda50fnepepqr9y73kd9w2z3',
963 │ balance: 1.5000624828786566e+23
964 │ },
965 │ {
966 │ address: 'one1u7jzpkd3sr40kzw62vjval85dkzeyn3g2shz83',
967 │ balance: 1.6012279879784943e+23
968 │ },
969 │ {
970 │ address: 'one1tfrpfvrgj5tnxj029xsdkl33hmrsry056nrpvt',
971 │ balance: 1.470630662707765e+23
972 │ },
973 │ {
974 │ address: 'one1fg0nrc7djkm2p47tjsuhd8n9435mz9ed57dj8v',
975 │ balance: 1.515342168842781e+23
976 │ },
977 │ {
978 │ address: 'one15jv9h2rwtczgmre923nde50jfz0sjs8c9gnwpd',
979 │ balance: 1.6017513762880755e+23
980 │ },
981 │ {
982 │ address: 'one145zhxlug79wjwlf9wrx5vh90u2t7nfu562rdlh',
983 │ balance: 1.3191454987640345e+23
984 │ },
985 │ {
986 │ address: 'one17fn65sgdnp9hphg6vn58h90k3ujt07xtqrnn3y',
987 │ balance: 1.574176484687289e+23
988 │ },
989 │ {
990 │ address: 'one1ssctny3j3hs92wnetqgkrncwfatq6er6rhede9',
991 │ balance: 1.3995114889869167e+23
992 │ },
993 │ {
994 │ address: 'one1uevxtwdqehq7k2v5jdm6mz4m492f3qpja4e36q',
995 │ balance: 1.5293928116796287e+23
996 │ },
997 │ {
998 │ address: 'one1m4909gjt2g4fsl2jw95kxmjmja2ka4cc6d4sgs',
999 │ balance: 1.251195191392701e+23
1000 │ },
1001 │ {
1002 │ address: 'one1sdrc3dla7zzd5pdqjagywfdumnqsyl57ql7sj2',
1003 │ balance: 1.535950462530028e+23
1004 │ },
1005 │ {
1006 │ address: 'one1w4ekumvg88ex5txjrzk9qgfx3xheua4djrphld',
1007 │ balance: 1.5475039113929494e+23
1008 │ },
1009 │ {
1010 │ address: 'one1h3ztpa75txa2ng20jzzekqzcfmxx9v83lpeuaz',
1011 │ balance: 1.601509490453445e+23
1012 │ },
1013 │ {
1014 │ address: 'one1zsk49ypjc540vy2663gpn76d8z0mg577d8x5kw',
1015 │ balance: 1.4891871167565214e+23
1016 │ },
1017 │ {
1018 │ address: 'one1pq9zk56dsapwracyx0z7lgz32603hzfk7f2t2e',
1019 │ balance: 1.4903558589176895e+23
1020 │ },
1021 │ {
1022 │ address: 'one16dllsrjr04uhzsuw7raaq4cszpkt3g997yev2s',
1023 │ balance: 1.2227616791401228e+23
1024 │ },
1025 │ {
1026 │ address: 'one1rs666h8mfgm33kqdkzzq4s6klem4d0hk9lldc4',
1027 │ balance: 1.4607558806187842e+23
1028 │ },
1029 │ {
1030 │ address: 'one1xgk5rmygeuh5p4m2uhp048dfucr7avf7tzj6w4',
1031 │ balance: 1.4321643527262248e+23
1032 │ },
1033 │ {
1034 │ address: 'one1jyzcklsqmr5r5qvvyh0r0e2436ss6vteap69kv',
1035 │ balance: 1.4216280418559367e+23
1036 │ },
1037 │ {
1038 │ address: 'one1mvlwv0wjp9u6yv2v0ema3qurlnxkp5ftekegm8',
1039 │ balance: 1.5109535124558585e+23
1040 │ },
1041 │ {
1042 │ address: 'one12q6kh768sn3m2dwf5vhn7nfuxstp6xvtf35m4r',
1043 │ balance: 1.2547061776749455e+23
1044 │ },
1045 │ {
1046 │ address: 'one198as6uj8p4yucttkkhzrtpu9z8nfwqrgh7d3g6',
1047 │ balance: 1.49400405456908e+23
1048 │ },
1049 │ {
1050 │ address: 'one1su2vsv854y639m0qlst580ctx7sm4zwsy60xq7',
1051 │ balance: 1.5604226413012656e+23
1052 │ },
1053 │ {
1054 │ address: 'one1x0sm3y8e2cgql05spqc2y20xwgx9m9trpfn2pq',
1055 │ balance: 1.1691337629465203e+23
1056 │ },
1057 │ {
1058 │ address: 'one1curhrds59j26ldue4x8sx3glf6dxnfkk3lqa53',
1059 │ balance: 1.4270268564117984e+23
1060 │ },
1061 │ {
1062 │ address: 'one1uzsl45tzdn652xkqdc60w42hehrc0nrd7lj7zu',
1063 │ balance: 1.2214470629633817e+23
1064 │ },
1065 │ {
1066 │ address: 'one135nj2r8jd88uffht52q4zs88h6vpwmy6f88vjr',
1067 │ balance: 1.599196710993182e+23
1068 │ },
1069 │ {
1070 │ address: 'one1vg5frvtn82thc5vv0rytysdwtl6qcsjpessvst',
1071 │ balance: 1.541277180757331e+23
1072 │ },
1073 │ {
1074 │ address: 'one1xlnx308wrvfjxxs4h8v894vwz35tpcfyex63um',
1075 │ balance: 1.4901089739373528e+23
1076 │ },
1077 │ {
1078 │ address: 'one1jegwvj0vpkncgsw9p3nuyt36dp94erdu79kv5j',
1079 │ balance: 1.4220690220225349e+23
1080 │ },
1081 │ {
1082 │ address: 'one1el39ku64kkdpmrv598d8g63r9ftd25nc8ppuly',
1083 │ balance: 1.4393484460016213e+23
1084 │ },
1085 │ {
1086 │ address: 'one1s3vgvw85j4055tq7ky7say5n80hy2vws8hgvfu',
1087 │ balance: 1.4343828289279515e+23
1088 │ },
1089 │ {
1090 │ address: 'one1tmxgqudfnzuy5y9wf7gsntwv6f768878r3q8q6',
1091 │ balance: 1.4545896217737149e+23
1092 │ },
1093 │ {
1094 │ address: 'one13fjjymcva76vzn6e4ykde77wt5j4jyr60u778j',
1095 │ balance: 1.5605693195735138e+23
1096 │ },
1097 │ {
1098 │ address: 'one1cfq2v4kysk3vdrjtjju2q7d2k8qa204cqcsqsq',
1099 │ balance: 1.412464918011227e+23
1100 │ },
1101 │ {
1102 │ address: 'one1g2rm7ay0htx5tlkgqwvvwk4sq2tgm5wratfzq2',
1103 │ balance: 1.2570446621079766e+23
1104 │ },
1105 │ {
1106 │ address: 'one1nsu6n9sv7ztgcrred3lnml7qxmr3la94ymsrw0',
1107 │ balance: 1.3703074527772945e+23
1108 │ },
1109 │ {
1110 │ address: 'one10tu906wspjnc3mn5kvzlr36882swkwf9s8e5xd',
1111 │ balance: 1.4347510671011358e+23
1112 │ },
1113 │ {
1114 │ address: 'one1chxf96l9c0g0w55703j0q37gtnedg424zlmraf',
1115 │ balance: 1.3802304914479823e+23
1116 │ },
1117 │ {
1118 │ address: 'one1gum0zqu2zstptk7fdl8v2wsdrfdtl054qx8jar',
1119 │ balance: 1.128286020202835e+23
1120 │ },
1121 │ {
1122 │ address: 'one1gugtmrxusqk2j7xce3sltnc0sgegnnfuv6hq80',
1123 │ balance: 1.4189410340619368e+23
1124 │ },
1125 │ {
1126 │ address: 'one1ekllcv39gdpac9497gc3894ddsehkzlqds7ewl',
1127 │ balance: 1.3680005854758799e+23
1128 │ },
1129 │ {
1130 │ address: 'one18pymc7sn6e3jk07xx3gagrfgmkcmgtuxa428s6',
1131 │ balance: 1.589332806808652e+23
1132 │ },
1133 │ {
1134 │ address: 'one147x8wxytztf80avpy4s4f99t5u3ksfr7h02j4x',
1135 │ balance: 1.5444446191561473e+23
1136 │ },
1137 │ {
1138 │ address: 'one1vfy349h4y44244zf3zm47jwc7z4jdwpgsgdtm3',
1139 │ balance: 1.1569335344873615e+23
1140 │ },
1141 │ {
1142 │ address: 'one14hrttmv9xapdkj0auuwlgpvmmhfz2mp4a2c8ey',
1143 │ balance: 1.6018191677758323e+23
1144 │ },
1145 │ {
1146 │ address: 'one1ktud786d0w6ww8gt8crra4mg6zyl7xf7xr47u6',
1147 │ balance: 1.277141700977041e+23
1148 │ },
1149 │ {
1150 │ address: 'one18jsru7gjz8tex8nux0xe4agffwz2mvq62xjp2x',
1151 │ balance: 1.488197500638551e+23
1152 │ },
1153 │ {
1154 │ address: 'one1a29x52lelvelspzx9scdml3nhy9hrau9k5mvdn',
1155 │ balance: 1.59420308889292e+23
1156 │ },
1157 │ {
1158 │ address: 'one13ar9c7czmg5j26fcpwqckj5kx5kyk02j0nqvjr',
1159 │ balance: 1.4746379036024383e+23
1160 │ },
1161 │ {
1162 │ address: 'one19hnhhs2dkxl0v0gr0h755y6f9l86emt0z3zuj7',
1163 │ balance: 1.4769898378246782e+23
1164 │ },
1165 │ {
1166 │ address: 'one1uwkgzutlp76qhvuhtlvhpd77gyuxlm0w3nj0fx',
1167 │ balance: 1.3956581280502144e+23
1168 │ },
1169 │ {
1170 │ address: 'one10jg0a2wv5fk9042us876xt57ej0lqm6xvm5vxu',
1171 │ balance: 1.3617365502425572e+23
1172 │ },
1173 │ {
1174 │ address: 'one1hhf55rl0jzjyshlw4ftlm25ylxhsc5rrq7rznd',
1175 │ balance: 1.449093398264749e+23
1176 │ },
1177 │ {
1178 │ address: 'one1pegk36wh4dnyv29dhe5s3faveenhl60wcef9y2',
1179 │ balance: 1.4755919428997333e+23
1180 │ },
1181 │ {
1182 │ address: 'one1y82p9rex6ezqenjze8yxe5a0nhskvamcgn8rqc',
1183 │ balance: 1.5992499355967406e+23
1184 │ },
1185 │ {
1186 │ address: 'one1yu2wdsl7x5k58zecsdh5p0ucapfe74mrydwks9',
1187 │ balance: 1.5639249138893765e+23
1188 │ },
1189 │ {
1190 │ address: 'one1kgyntj9yg6vvasmt06g5w7x8e84z84hnlx4eda',
1191 │ balance: 1.419866098447833e+23
1192 │ },
1193 │ {
1194 │ address: 'one1uc3xg782sslsrkyffvaakmy8dw0evl0zzq06ts',
1195 │ balance: 1.5676163796859502e+23
1196 │ },
1197 │ {
1198 │ address: 'one1tvtrynm5rp8gsxf69hhy7mx0uljlzguxwxgtjy',
1199 │ balance: 1.57445765264045e+23
1200 │ },
1201 │ {
1202 │ address: 'one1t03xpg9f6tgguwke23e56k3chd28d2d37ttxqw',
1203 │ balance: 1.4312215165993226e+23
1204 │ },
1205 │ {
1206 │ address: 'one1khln4errq87hnpjs9zqxmll9slwxwywtxy0y3d',
1207 │ balance: 1.4883295778560404e+23
1208 │ },
1209 │ {
1210 │ address: 'one14jntfqa47hatag382uaxkp2zddhwwgwf3wl33x',
1211 │ balance: 1.5738360253290864e+23
1212 │ },
1213 │ {
1214 │ address: 'one1ycdxxqd4x5wgu3wjc26edsjkc3cztm99jpnfry',
1215 │ balance: 1.4783212613946155e+23
1216 │ },
1217 │ {
1218 │ address: 'one13rtrd09sxez76efdqhmtamfclt44ew02auyhwa',
1219 │ balance: 1.1403603388021652e+23
1220 │ },
1221 │ {
1222 │ address: 'one18hmhzhfnm47sjwcaz73tjhz09zay4jrc2stagj',
1223 │ balance: 1.5647574687550193e+23
1224 │ },
1225 │ {
1226 │ address: 'one19lp6lj7j5efhtv6f4mjwyu3c50ey84ajnfntsa',
1227 │ balance: 1.574174555454553e+23
1228 │ },
1229 │ {
1230 │ address: 'one10t76e65x7m0pfkhmpwm4wgr7u3xu3t8qndvq5e',
1231 │ balance: 1.5971534035105675e+23
1232 │ },
1233 │ {
1234 │ address: 'one1w70ts3l3ehdws08sdx7n639lxp4fgg4ztxxp4s',
1235 │ balance: 1.5267074424504514e+23
1236 │ },
1237 │ {
1238 │ address: 'one1445u8kcryuz98d0husyrn0dnudfs77fuzdtqfm',
1239 │ balance: 1.4000144572727153e+23
1240 │ },
1241 │ {
1242 │ address: 'one12h79f9lmyyrzfcf08a2zzuv4mct72e0vsyfcax',
1243 │ balance: 1.5176403276283354e+23
1244 │ },
1245 │ {
1246 │ address: 'one17fth44p5a89fyck8sxxz767sqzt35frxj9f0lq',
1247 │ balance: 1.3987410992196926e+23
1248 │ },
1249 │ {
1250 │ address: 'one1lml39n0qemt2gg7r6kwl0gerue0q7sr4u6rqjq',
1251 │ balance: 1.3423920971849637e+23
1252 │ },
1253 │ {
1254 │ address: 'one15wh83u4p54dfrjmmk79t4e2dgn0fw6c54ml0vz',
1255 │ balance: 1.3960263875391266e+23
1256 │ },
1257 │ {
1258 │ address: 'one17jzfd3pwu4peerl26yxr7rkynv8385dczppnnc',
1259 │ balance: 1.5613888455647605e+23
1260 │ },
1261 │ {
1262 │ address: 'one156pcuu77dxef29cc6nu5wsjndmk9cw4ta7crpx',
1263 │ balance: 1.3743312789145658e+23
1264 │ },
1265 │ {
1266 │ address: 'one1wjqtk2krrlsqxcr2jgau7s58vuf2fepdu3cwnu',
1267 │ balance: 1.5982897388987244e+23
1268 │ },
1269 │ {
1270 │ address: 'one1t0y5jmv84cu4eqeev2cczpwr63flrz22ptmnf8',
1271 │ balance: 1.3606237349237654e+23
1272 │ },
1273 │ {
1274 │ address: 'one168rjtx20cyyqjygt248gxpcqqcw7a08ga93kvh',
1275 │ balance: 1.6017623416686276e+23
1276 │ },
1277 │ {
1278 │ address: 'one1v525e2ddyq5xpecnq9f3gtpz6dlggg93l2uac7',
1279 │ balance: 1.426789638525044e+23
1280 │ },
1281 │ {
1282 │ address: 'one13j7h7mmlmlypxa2aefuuf5xrw0vjn5ahp0zfr0',
1283 │ balance: 1.5957454449181474e+23
1284 │ },
1285 │ {
1286 │ address: 'one12su07r3rk8hgg8e36gds92z5370t8yhjyxpp0h',
1287 │ balance: 1.3352074808054567e+23
1288 │ },
1289 │ {
1290 │ address: 'one10urht2e6gfeq4fskmnwrlxnx4vqhaxzz3d00em',
1291 │ balance: 1.4172039811687653e+23
1292 │ },
1293 │ {
1294 │ address: 'one1g4g72jk5cumlmnkzzslzhlv9vwp85clx2mmzau',
1295 │ balance: 1.5145152518439186e+23
1296 │ },
1297 │ {
1298 │ address: 'one1pey5w5wjv03acwwj0rwhft7wr6dulesjkrl4ah',
1299 │ balance: 1.6014049609588422e+23
1300 │ },
1301 │ {
1302 │ address: 'one1dzr9ruh47we0lmtkaxk4an7hxe8qp2u6fqsett',
1303 │ balance: 1.5490531680126377e+23
1304 │ },
1305 │ {
1306 │ address: 'one1qt8z2h76unuz4jh60hupddlct8pes30hfclm4h',
1307 │ balance: 1.3055279452878935e+23
1308 │ },
1309 │ {
1310 │ address: 'one12p85puccq3h6fgdtvhvmu2932yutv8xgk3lynk',
1311 │ balance: 1.5780826263719254e+23
1312 │ },
1313 │ {
1314 │ address: 'one1cppp40k4kkjq4dwa9lv60wgc8fhx0c7yzr88l9',
1315 │ balance: 1.4396869280523196e+23
1316 │ },
1317 │ {
1318 │ address: 'one13rdkjur7mzqvvxvpp644eehr50zqvahrmxg6n5',
1319 │ balance: 1.5290518255695528e+23
1320 │ },
1321 │ {
1322 │ address: 'one16fcp2y6fagty2wmc7qglcezhvk9sa9vqtkp8h0',
1323 │ balance: 1.1394406763119555e+23
1324 │ },
1325 │ {
1326 │ address: 'one1stcz8mr4u0efye4vl4nefq8k0v6cdx8aalxw09',
1327 │ balance: 1.3165694555318288e+23
1328 │ },
1329 │ {
1330 │ address: 'one1xreg53amt4gke3g3jag4h64h4n0ndprsu2nuep',
1331 │ balance: 1.359861287719147e+23
1332 │ },
1333 │ {
1334 │ address: 'one1ln27g8ypym49v7pudkazp0ftv9lekdy7hxldky',
1335 │ balance: 1.4949501729027228e+23
1336 │ },
1337 │ {
1338 │ address: 'one1pr0cgkwwv7h9dpud02uqje582xjanfxycfzr07',
1339 │ balance: 1.5805491612372666e+23
1340 │ },
1341 │ {
1342 │ address: 'one152hm7nxgr3ng4xwpv7dghtntjza9sq58q7za67',
1343 │ balance: 1.155631801905992e+23
1344 │ },
1345 │ {
1346 │ address: 'one1q942nk0nh04phhlcsurzfj4a0e6rqdwvasfa7k',
1347 │ balance: 1.5604730228836932e+23
1348 │ },
1349 │ {
1350 │ address: 'one17n0pxvjsz5sgan0hnu5pj6vt25u44urnm9cp3e',
1351 │ balance: 1.568795713176113e+23
1352 │ },
1353 │ ... 150 more items
1354 │ ]
1355 │ }
1356 └
1357 ✓ Validators array should not be null.
1358 ✓ Response should not be empty
1359
1360┌─────────────────────────┬───────────────────┬───────────────────┐
1361│ │ executed │ failed │
1362├─────────────────────────┼───────────────────┼───────────────────┤
1363│ iterations │ 1 │ 0 │
1364├─────────────────────────┼───────────────────┼───────────────────┤
1365│ requests │ 34 │ 0 │
1366├─────────────────────────┼───────────────────┼───────────────────┤
1367│ test-scripts │ 68 │ 0 │
1368├─────────────────────────┼───────────────────┼───────────────────┤
1369│ prerequest-scripts │ 35 │ 0 │
1370├─────────────────────────┼───────────────────┼───────────────────┤
1371│ assertions │ 65 │ 2 │
1372├─────────────────────────┴───────────────────┴───────────────────┤
1373│ total run duration: 33.6s │
1374├─────────────────────────────────────────────────────────────────┤
1375│ total data received: 33.39KB (approx) │
1376├─────────────────────────────────────────────────────────────────┤
1377│ average response time: 75ms [min: 37ms, max: 238ms, s.d.: 51ms] │
1378└─────────────────────────────────────────────────────────────────┘
1379
1380 # failure detail
1381
1382 1. AssertionError Response should have non-null result field.
1383 expected null to not equal null
1384 at assertion:1 in test-script
1385 inside "hmy_getCXReceiptByHash"
1386
1387 2. AssertionError Response should have non-null result field.
1388 expected null to not equal null
1389 at assertion:1 in test-script
1390 inside "hmy_resendCx"
1391
1392 Iteration 2 out of 5
1393
1394newman
1395
1396Harmony API Tests (Env Vars)
1397
1398→ hmy_sendRawTransaction
1399 POST https://api.s0.t.hmny.io/ [200 OK, 250B, 289ms]
1400 ┌
1401 │ 'Request Body'
1402 │ '{"jsonrpc":"2.0","method":"hmy_sendRawTransaction","params":["0xf86507808252088001949ad139ffc9f62a
1403 │ 7c215766de5901124402cbe531843b9aca008025a02fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985
1404 │ afa00e80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5"],"id":1}'
1405 │
1406 │ 'Response'
1407 │ {
1408 │ jsonrpc: '2.0',
1409 │ id: 1,
1410 │ result: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6'
1411 │ }
1412 └
1413 ✓ Response should not contain errors.
1414 ✓ Response should have non-null result field.
1415
1416→ hmy_getTransactionByHash
1417 ┌
1418 │ 'Sleeping 30 seconds for cross-shard transaction finality...'
1419 └
1420 POST https://api.s0.t.hmny.io/ [200 OK, 754B, 53ms]
1421 ┌
1422 │ 'Request Body'
1423 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionByHash","params":["0x75ff909902ed1ee70881910affab2c66
1424 │ fbbc1db7acdbf1aa446910d526807da6"],"id":1}'
1425 │
1426 │ 'Response'
1427 │ {
1428 │ jsonrpc: '2.0',
1429 │ id: 1,
1430 │ result: {
1431 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
1432 │ blockNumber: '0x128709',
1433 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
1434 │ gas: '0x5208',
1435 │ gasPrice: '0x0',
1436 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
1437 │ input: '0x',
1438 │ nonce: '0x7',
1439 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
1440 │ transactionIndex: '0x0',
1441 │ value: '0x3b9aca00',
1442 │ shardID: 0,
1443 │ toShardID: 1,
1444 │ v: '0x25',
1445 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
1446 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
1447 │ }
1448 │ }
1449 └
1450 ✓ Response should not contain errors.
1451 ✓ Response should have non-null result field.
1452
1453→ hmy_getCXReceiptByHash
1454 POST https://api.s1.t.hmny.io/ [200 OK, 514B, 187ms]
1455 ┌
1456 │ 'Request Body'
1457 │ '{"jsonrpc":"2.0","method":"hmy_getCXReceiptByHash","params":["0x75ff909902ed1ee70881910affab2c66fb
1458 │ bc1db7acdbf1aa446910d526807da6"],"id":1}'
1459 │
1460 │ 'Response'
1461 │ {
1462 │ jsonrpc: '2.0',
1463 │ id: 1,
1464 │ result: {
1465 │ blockHash: '0xc9c428fb9eb19290eab29a2be35963961e160e890ab969285d6924371332015c',
1466 │ blockNumber: '0x1148ce',
1467 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
1468 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
1469 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
1470 │ shardID: 0,
1471 │ toShardID: 1,
1472 │ value: '0x3b9aca00'
1473 │ }
1474 │ }
1475 └
1476 ✓ Response should not contain errors.
1477 ✓ Response should have non-null result field.
1478
1479→ hmy_resendCx
1480 POST https://api.s1.t.hmny.io/ [200 OK, 514B, 43ms]
1481 ┌
1482 │ 'Request Body'
1483 │ '{"jsonrpc":"2.0","method":"hmy_getCXReceiptByHash","params":["0x75ff909902ed1ee70881910affab2c66fb
1484 │ bc1db7acdbf1aa446910d526807da6"],"id":1}'
1485 │
1486 │ 'Response'
1487 │ {
1488 │ jsonrpc: '2.0',
1489 │ id: 1,
1490 │ result: {
1491 │ blockHash: '0xc9c428fb9eb19290eab29a2be35963961e160e890ab969285d6924371332015c',
1492 │ blockNumber: '0x1148ce',
1493 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
1494 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
1495 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
1496 │ shardID: 0,
1497 │ toShardID: 1,
1498 │ value: '0x3b9aca00'
1499 │ }
1500 │ }
1501 └
1502 ✓ Response should not contain errors.
1503 ✓ Response should have non-null result field.
1504
1505→ hmy_getTransactionCount
1506 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 41ms]
1507 ┌
1508 │ 'Request Body'
1509 │ '{\n' +
1510 │ ' "jsonrpc": "2.0",\n' +
1511 │ ' "method": "hmy_getTransactionCount",\n' +
1512 │ ' "params": [\n' +
1513 │ ' "one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm",\n' +
1514 │ ' "latest"\n' +
1515 │ ' ],\n' +
1516 │ ' "id": 1\n' +
1517 │ '}'
1518 │
1519 │ 'Response'
1520 │ { jsonrpc: '2.0', id: 1, result: '0x8' }
1521 └
1522 ✓ Response should not contain errors.
1523 ✓ Response should have non-null result field.
1524
1525→ hmy_getBlockByHash
1526 POST https://api.s0.t.hmny.io/ [200 OK, 1.96KB, 41ms]
1527 ┌
1528 │ 'Request Body'
1529 │ '{\n' +
1530 │ ' "jsonrpc": "2.0",\n' +
1531 │ ' "method": "hmy_getBlockByHash",\n' +
1532 │ ' "params": [\n' +
1533 │ ' "0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1",\n' +
1534 │ ' true\n' +
1535 │ ' ],\n' +
1536 │ ' "id": 1\n' +
1537 │ '}'
1538 │
1539 │ 'Response'
1540 │ {
1541 │ jsonrpc: '2.0',
1542 │ id: 1,
1543 │ result: {
1544 │ difficulty: 0,
1545 │ extraData: '0x',
1546 │ gasLimit: '0x6f05b59d3b20000',
1547 │ gasUsed: '0x5208',
1548 │ hash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
1549 │ logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000
1550 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1551 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1552 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1553 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1554 │ 0000000000000000000000000',
1555 │ miner: '0x91198072b678e0242623575ea5ece5689ba3f46e',
1556 │ mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
1557 │ nonce: 0,
1558 │ number: '0x128709',
1559 │ parentHash: '0x418013311951b429b2d8be8ac72862e6d8546bb6404c815fc0b674f7c3059d44'
1560 │ ,
1561 │ receiptsRoot: '0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2'
1562 │ 9m,
1563 │ size: '0x34f',
1564 │ stateRoot: '0x9c9b77a3c5fad4c678b60a782dac10f48a43676749dec65d269861466ddb4a70',
1565 │ timestamp: '0x5db0cf8e',
1566 │ transactions: [
1567 │ {
1568 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1'
1569 │ 39m,
1570 │ blockNumber: '0x128709',
1571 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
1572 │ gas: '0x5208',
1573 │ gasPrice: '0x0',
1574 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
1575 │ input: '0x',
1576 │ nonce: '0x7',
1577 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
1578 │ transactionIndex: '0x0',
1579 │ value: '0x3b9aca00',
1580 │ shardID: 0,
1581 │ toShardID: 1,
1582 │ v: '0x25',
1583 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
1584 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
1585 │ }
1586 │ ],
1587 │ transactionsRoot: '0x35fa9c3a3045d0aadd5a0e07d9b6a1f94066c1da26a0dc59a323d02de8c20049
1588 │ ',
1589 │ uncles: []
1590 │ }
1591 │ }
1592 └
1593 ✓ Response should not contain errors.
1594 ✓ Response should have non-null result field.
1595
1596→ hmy_getBlockByNumber
1597 POST https://api.s0.t.hmny.io/ [200 OK, 1.96KB, 41ms]
1598 ┌
1599 │ 'Request Body'
1600 │ '{"jsonrpc":"2.0","method":"hmy_getBlockByNumber","params":["0x128709", true],"id":1}'
1601 │
1602 │ 'Response'
1603 │ {
1604 │ jsonrpc: '2.0',
1605 │ id: 1,
1606 │ result: {
1607 │ difficulty: 0,
1608 │ extraData: '0x',
1609 │ gasLimit: '0x6f05b59d3b20000',
1610 │ gasUsed: '0x5208',
1611 │ hash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
1612 │ logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000
1613 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1614 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1615 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1616 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1617 │ 0000000000000000000000000',
1618 │ miner: '0x91198072b678e0242623575ea5ece5689ba3f46e',
1619 │ mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
1620 │ nonce: 0,
1621 │ number: '0x128709',
1622 │ parentHash: '0x418013311951b429b2d8be8ac72862e6d8546bb6404c815fc0b674f7c3059d44'
1623 │ ,
1624 │ receiptsRoot: '0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2'
1625 │ 9m,
1626 │ size: '0x34f',
1627 │ stateRoot: '0x9c9b77a3c5fad4c678b60a782dac10f48a43676749dec65d269861466ddb4a70',
1628 │ timestamp: '0x5db0cf8e',
1629 │ transactions: [
1630 │ {
1631 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1'
1632 │ 39m,
1633 │ blockNumber: '0x128709',
1634 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
1635 │ gas: '0x5208',
1636 │ gasPrice: '0x0',
1637 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
1638 │ input: '0x',
1639 │ nonce: '0x7',
1640 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
1641 │ transactionIndex: '0x0',
1642 │ value: '0x3b9aca00',
1643 │ shardID: 0,
1644 │ toShardID: 1,
1645 │ v: '0x25',
1646 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
1647 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
1648 │ }
1649 │ ],
1650 │ transactionsRoot: '0x35fa9c3a3045d0aadd5a0e07d9b6a1f94066c1da26a0dc59a323d02de8c20049
1651 │ ',
1652 │ uncles: []
1653 │ }
1654 │ }
1655 └
1656 ✓ Response should not contain errors.
1657 ✓ Response should have non-null result field.
1658 ✓ hash in response should match blockHash of transaction block.
1659 ✓ number in response should match number reported by getBlockByHash.
1660
1661→ hmy_getBlockTransactionCountByHash
1662 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 39ms]
1663 ┌
1664 │ 'Request Body'
1665 │ '{"jsonrpc":"2.0","method":"hmy_getBlockTransactionCountByHash","params":["0xacbf3242d8b9ac5aa0fd03
1666 │ c881fc0a148505c1ea669f4cf8948e18c89c8f42e1"],"id":1}'
1667 │
1668 │ 'Response'
1669 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
1670 └
1671 ✓ Response should not contain errors.
1672 ✓ Response should have non-null result field.
1673
1674→ hmy_getBlockTransactionCountByNumber
1675 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 41ms]
1676 ┌
1677 │ 'Request Body'
1678 │ '{"jsonrpc":"2.0","method":"hmy_getBlockTransactionCountByNumber","params":["0x128709"],"id":1}'
1679 │ 9m
1680 │
1681 │ 'Response'
1682 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
1683 └
1684 ✓ Response should not contain errors.
1685 ✓ Response should have non-null result field.
1686 ✓ Transaction count in result should match transaction count from result of getBlockTransactionCountByHash
1687
1688→ hmy_getTransactionReceipt
1689 POST https://api.s0.t.hmny.io/ [200 OK, 1.11KB, 42ms]
1690 ┌
1691 │ 'Request Body'
1692 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionReceipt","params":["0x75ff909902ed1ee70881910affab2c6
1693 │ 6fbbc1db7acdbf1aa446910d526807da6"],"id":1}'
1694 │
1695 │ 'Response'
1696 │ {
1697 │ jsonrpc: '2.0',
1698 │ id: 1,
1699 │ result: {
1700 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
1701 │ blockNumber: '0x128709',
1702 │ contractAddress: null,
1703 │ cumulativeGasUsed: '0x5208',
1704 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
1705 │ gasUsed: '0x5208',
1706 │ logs: [],
1707 │ logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000
1708 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1709 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1710 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1711 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1712 │ 0000000000000000000000000',
1713 │ shardID: 0,
1714 │ status: '0x1',
1715 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
1716 │ transactionHash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6'
1717 │ ,
1718 │ transactionIndex: '0x0'
1719 │ }
1720 │ }
1721 └
1722 ✓ Response should not contain errors.
1723 ✓ Response should have non-null result field.
1724 ✓ blockHash, blockNumber, transactionHash, and transactionIndex should match with previously saved values.
1725
1726→ hmy_getBalance
1727 POST https://api.s0.t.hmny.io/ [200 OK, 202B, 45ms]
1728 ┌
1729 │ 'Request Body'
1730 │ '{\n' +
1731 │ ' "jsonrpc": "2.0",\n' +
1732 │ ' "method": "hmy_getBalance",\n' +
1733 │ ' "params": [\n' +
1734 │ ' "one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm",\n' +
1735 │ ' "latest"\n' +
1736 │ ' ],\n' +
1737 │ ' "id": 1\n' +
1738 │ '}'
1739 │
1740 │ 'Response'
1741 │ { jsonrpc: '2.0', id: 1, result: '0xd8d726b6f9ad1
1742 │ b000' }
1743 └
1744 ✓ Response should not contain errors.
1745 ✓ Response should have non-null result field.
1746
1747→ hmy_getShardingStructure
1748 POST https://api.s0.t.hmny.io/ [200 OK, 554B, 38ms]
1749 ┌
1750 │ 'Request Body'
1751 │ '{\n' +
1752 │ ' "jsonrpc": "2.0",\n' +
1753 │ ' "method": "hmy_getShardingStructure",\n' +
1754 │ ' "params": [\n' +
1755 │ ' \n' +
1756 │ ' ],\n' +
1757 │ ' "id": 1\n' +
1758 │ '}'
1759 │
1760 │ 'Response'
1761 │ {
1762 │ jsonrpc: '2.0',
1763 │ id: 1,
1764 │ result: [
1765 │ {
1766 │ current: true,
1767 │ http: 'https://api.s0.t.hmny.io',
1768 │ shardID: 0,
1769 │ ws: 'wss://ws.s0.t.hmny.io'
1770 │ },
1771 │ {
1772 │ current: false,
1773 │ http: 'https://api.s1.t.hmny.io',
1774 │ shardID: 1,
1775 │ ws: 'wss://ws.s1.t.hmny.io'
1776 │ },
1777 │ {
1778 │ current: false,
1779 │ http: 'https://api.s2.t.hmny.io',
1780 │ shardID: 2,
1781 │ ws: 'wss://ws.s2.t.hmny.io'
1782 │ },
1783 │ {
1784 │ current: false,
1785 │ http: 'https://api.s3.t.hmny.io',
1786 │ shardID: 3,
1787 │ ws: 'wss://ws.s3.t.hmny.io'
1788 │ }
1789 │ ]
1790 │ }
1791 └
1792 ✓ Response should not contain errors.
1793 ✓ Response should have non-null result field.
1794
1795→ hmy_getCode
1796 POST https://api.s0.t.hmny.io/ (node:29124) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
1797[200 OK, 185B, 41ms]
1798 ┌
1799 │ 'Request Body'
1800 │ '{\n' +
1801 │ ' "jsonrpc": "2.0",\n' +
1802 │ ' "method": "hmy_getCode",\n' +
1803 │ ' "params": [\n' +
1804 │ ' "0x8d0c56C099f2816B6534eB1d74543846EC558357",\n' +
1805 │ ' "latest"\t\n' +
1806 │ ' ],\n' +
1807 │ ' "id": 1\n' +
1808 │ '}'
1809 │
1810 │ 'Response'
1811 │ { jsonrpc: '2.0', id: 1, result: '0x' }
1812 └
1813 ✓ Response should not contain errors.
1814 ✓ Response should have non-null result field.
1815
1816→ hmy_getTransactionByBlockHashAndIndex
1817 POST https://api.s0.t.hmny.io/ [200 OK, 754B, 37ms]
1818 ┌
1819 │ 'Request Body'
1820 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionByBlockHashAndIndex","params":["0xacbf3242d8b9ac5aa0f
1821 │ d03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1", "0x0"],"id":1}'
1822 │
1823 │ 'Response'
1824 │ {
1825 │ jsonrpc: '2.0',
1826 │ id: 1,
1827 │ result: {
1828 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
1829 │ blockNumber: '0x128709',
1830 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
1831 │ gas: '0x5208',
1832 │ gasPrice: '0x0',
1833 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
1834 │ input: '0x',
1835 │ nonce: '0x7',
1836 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
1837 │ transactionIndex: '0x0',
1838 │ value: '0x3b9aca00',
1839 │ shardID: 0,
1840 │ toShardID: 1,
1841 │ v: '0x25',
1842 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
1843 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
1844 │ }
1845 │ }
1846 └
1847 ✓ Response should not contain errors.
1848 ✓ Response should have non-null result field.
1849
1850→ hmy_getTransactionByBlockNumberAndIndex
1851 POST https://api.s0.t.hmny.io/ [200 OK, 754B, 42ms]
1852 ┌
1853 │ 'Request Body'
1854 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionByBlockNumberAndIndex","params":["0x128709", "0x0"],"
1855 │ id":1}'
1856 │
1857 │ 'Response'
1858 │ {
1859 │ jsonrpc: '2.0',
1860 │ id: 1,
1861 │ result: {
1862 │ blockHash: '0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1',
1863 │ blockNumber: '0x128709',
1864 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
1865 │ gas: '0x5208',
1866 │ gasPrice: '0x0',
1867 │ hash: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
1868 │ input: '0x',
1869 │ nonce: '0x7',
1870 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
1871 │ transactionIndex: '0x0',
1872 │ value: '0x3b9aca00',
1873 │ shardID: 0,
1874 │ toShardID: 1,
1875 │ v: '0x25',
1876 │ r: '0x2fcd7ca6e8489c11a5b676fec9aeaf99976a0ac9873fa22e9e9e2459da3985af',
1877 │ s: '0xe80f3874340375b598114ec3262112506a691682bec53833eb6057c3db062c5'
1878 │ }
1879 │ }
1880 └
1881 ✓ Response should not contain errors.
1882 ✓ Response should have non-null result field.
1883
1884→ hmy_syncing
1885 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 40ms]
1886 ┌
1887 │ 'Request Body'
1888 │ '{\n "jsonrpc": "2.0",\n "method": "hmy_syncing",\n "params": [],\n "id": 1\n}'
1889 │
1890 │ 'Response'
1891 │ { jsonrpc: '2.0', id: 1, result: false }
1892 └
1893 ✓ Response should not contain errors.
1894 ✓ Response should have non-null result field.
1895
1896→ net_peerCount
1897 POST https://api.s0.t.hmny.io/ [200 OK, 188B, 38ms]
1898 ┌
1899 │ 'Request Body'
1900 │ '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":1}'
1901 │
1902 │ 'Response'
1903 │ { jsonrpc: '2.0', id: 1, result: '0x23f' }
1904 └
1905 ✓ Response should not contain errors.
1906 ✓ Response should have non-null result field.
1907
1908→ hmy_getStorageAt
1909 POST https://api.s0.t.hmny.io/ [200 OK, 250B, 38ms]
1910 ┌
1911 │ 'Request Body'
1912 │ '{"jsonrpc":"2.0","method":"hmy_getStorageAt","params":["0x5d1bc8af89a892ec62ca124a4acb535fa67e4c24
1913 │ 255269c929d9ac5c91bc2fee", "0", "latest"],"id":1}'
1914 │
1915 │ 'Response'
1916 │ {
1917 │ jsonrpc: '2.0',
1918 │ id: 1,
1919 │ result: '0x0000000000000000000000000000000000000000000000000000000000000000'
1920 │ }
1921 └
1922 ✓ Response should not contain errors.
1923 ✓ Response should have non-null result field.
1924
1925→ hmy_getLogs
1926 POST https://api.s0.t.hmny.io/ [200 OK, 221B, 41ms]
1927 ┌
1928 │ 'Request Body'
1929 │ '{\n' +
1930 │ ' "jsonrpc": "2.0",\n' +
1931 │ ' "method": "hmy_getLogs",\n' +
1932 │ ' "params": [\n' +
1933 │ ' {\n' +
1934 │ ' "BlockHash": "0xacbf3242d8b9ac5aa0fd03c881fc0a148505c1ea669f4cf8948e18c89c8f42e1"\n'
1935 │ +
1936 │ ' }\n' +
1937 │ ' ],\n' +
1938 │ ' "id": 1\n' +
1939 │ '}'
1940 │
1941 │ 'Response'
1942 │ { jsonrpc: '2.0', id: 1, error: { code:
1943 │ m-32000, message: 'unknown block' } }
1944 └
1945
1946→ hmy_getFilterChanges
1947 POST https://api.s0.t.hmny.io/ [200 OK, 224B, 43ms]
1948 ┌
1949 │ 'Request Body'
1950 │ '{"jsonrpc":"2.0", "method":"hmy_getFilterChanges", "params":["0xc480530dc87c1f95489606741dbc7bcc"]
1951 │ ,"id":1}'
1952 │
1953 │ 'Response'
1954 │ { jsonrpc: '2.0', id: 1, error: { code:
1955 │ m-32000, message: 'filter not found' } }
1956 └
1957
1958→ hmy_newPendingTransactionFilter
1959 POST https://api.s0.t.hmny.io/ [200 OK, 217B, 41ms]
1960 ┌
1961 │ 'Request Body'
1962 │ '{"jsonrpc":"2.0", "method":"hmy_newPendingTransactionFilter", "params":[],"id":1}'
1963 │
1964 │ 'Response'
1965 │ { jsonrpc: '2.0', id: 1, result: '0x21ea0fd527b2d
1966 │ 59d906ec882daf6afaf' }
1967 └
1968 ✓ Response should not contain errors.
1969 ✓ Response should have non-null result field.
1970
1971→ hmy_newBlockFilter
1972 POST https://api.s0.t.hmny.io/ [200 OK, 216B, 39ms]
1973 ┌
1974 │ 'Request Body'
1975 │ '{"jsonrpc":"2.0", "method":"hmy_newBlockFilter", "params":[],"id":1}'
1976 │
1977 │ 'Response'
1978 │ { jsonrpc: '2.0', id: 1, result: '0xdb328a321b515
1979 │ 2ac5d1dd96c310f490' }
1980 └
1981 ✓ Response should not contain errors.
1982 ✓ Response should have non-null result field.
1983
1984→ hmy_newFilter
1985 POST https://api.s0.t.hmny.io/ [200 OK, 217B, 39ms]
1986 ┌
1987 │ 'Request Body'
1988 │ '{"jsonrpc":"2.0", "method":"hmy_newFilter", "params":[{"BlockHash": "0xb855a4a02ae5c658baaa1bb31da
1989 │ 4eb5963659545d4604d5285cb6965c9137a4f"}],"id":1}'
1990 │
1991 │ 'Response'
1992 │ { jsonrpc: '2.0', id: 1, result: '0x1f32c6d728ab9
1993 │ 031671ca27987aca127' }
1994 └
1995 ✓ Response should not contain errors.
1996 ✓ Response should have non-null result field.
1997
1998→ hmy_call
1999 POST https://api.s0.t.hmny.io/ [200 OK, 185B, 42ms]
2000 ┌
2001 │ 'Request Body'
2002 │ '{"jsonrpc":"2.0", "method":"hmy_call", "params":[{"to": "0x08AE1abFE01aEA60a47663bCe0794eCCD5763c1
2003 │ 9"}, "latest"],"id":1}'
2004 │
2005 │ 'Response'
2006 │ { jsonrpc: '2.0', id: 1, result: '0x' }
2007 └
2008 ✓ Response should not contain errors.
2009 ✓ Response should have non-null result field.
2010
2011→ hmy_gasPrice
2012 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 38ms]
2013 ┌
2014 │ 'Request Body'
2015 │ '{"jsonrpc":"2.0","method":"hmy_gasPrice","params":[],"id":1}'
2016 │
2017 │ 'Response'
2018 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
2019 └
2020 ✓ Response should not contain errors.
2021 ✓ Response should have non-null result field.
2022
2023→ hmy_blockNumber
2024 POST https://api.s0.t.hmny.io/ [200 OK, 191B, 39ms]
2025 ┌
2026 │ 'Request Body'
2027 │ '{"jsonrpc":"2.0","method":"hmy_blockNumber","params":[],"id":1}'
2028 │
2029 │ 'Response'
2030 │ { jsonrpc: '2.0', id: 1, result: '0x12870f'
2031 │ }
2032 └
2033 ✓ Response should not contain errors.
2034 ✓ Response should have non-null result field.
2035
2036→ net_version
2037 POST https://api.s0.t.hmny.io/ [200 OK, 184B, 37ms]
2038 ┌
2039 │ 'Request Body'
2040 │ '{"jsonrpc":"2.0","method":"net_version","params":[],"id":1}'
2041 │
2042 │ 'Response'
2043 │ { jsonrpc: '2.0', id: 1, result: '1' }
2044 └
2045 ✓ Response should not contain errors.
2046 ✓ Response should have non-null result field.
2047
2048→ hmy_protocolVersion
2049 POST https://api.s0.t.hmny.io/ [200 OK, 186B, 40ms]
2050 ┌
2051 │ 'Request Body'
2052 │ '{\n' +
2053 │ ' "jsonrpc": "2.0",\n' +
2054 │ ' "method": "hmy_protocolVersion",\n' +
2055 │ ' "params": [],\n' +
2056 │ ' "id": 1\n' +
2057 │ '}'
2058 │
2059 │ 'Response'
2060 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
2061 └
2062 ✓ Response should not contain errors.
2063 ✓ Response should have non-null result field.
2064
2065→ blocks_beta
2066 GET http://e0.t.hmny.io:5000/blocks?from=0&to=4 [200 OK, 2.51KB, 95ms]
2067 ┌
2068 │ 'Request URL'
2069 │ {
2070 │ protocol: 'http',
2071 │ port: '5000',
2072 │ path: [ 'blocks' ],
2073 │ host: [ 'e0', 't', 'hmny', 'io' ],
2074 │ query: [ { key: 'from', value: '0' }, { key
2075 │ m: 'to', value: '4' } ],
2076 │ variable: []
2077 │ }
2078 │
2079 │ 'Request Body'
2080 │ ''
2081 │
2082 │ 'Response'
2083 │ [
2084 │ {
2085 │ height: '0',
2086 │ id: '0xb4d158b82ac8a653c42b78697ab1cd0c6a0d9a15ab3bc34130f0b719fb174d2a',
2087 │ txCount: '0',
2088 │ timestamp: '1561734000000',
2089 │ blockTime: 0,
2090 │ merkleRoot: '0x8be048c908585bbb6b155324ad8a854484994ab27e5987af134ad036079675bf'
2091 │ ,
2092 │ prevBlock: { id: '', height: '' },
2093 │ bytes: '43882',
2094 │ nextBlock: {
2095 │ id: '0x61ce03ef5efa374b0d0d527ea38c3d13cb05cf765a4f898e91a5de1f6b224cdd',
2096 │ height: '1'
2097 │ },
2098 │ txs: null,
2099 │ signers: [],
2100 │ epoch: 0,
2101 │ extra_data: 'Harmony for One and All. Open Consensus for 10B.'
2102 │ },
2103 │ {
2104 │ height: '1',
2105 │ id: '0x61ce03ef5efa374b0d0d527ea38c3d13cb05cf765a4f898e91a5de1f6b224cdd',
2106 │ txCount: '0',
2107 │ timestamp: '1561736306000',
2108 │ blockTime: 2306,
2109 │ merkleRoot: '0x8be048c908585bbb6b155324ad8a854484994ab27e5987af134ad036079675bf'
2110 │ ,
2111 │ prevBlock: {
2112 │ id: '0xb4d158b82ac8a653c42b78697ab1cd0c6a0d9a15ab3bc34130f0b719fb174d2a',
2113 │ height: '0'
2114 │ },
2115 │ bytes: '601',
2116 │ nextBlock: {
2117 │ id: '0x705e7368bd6a3b61761c92617bc49d9a6108226872473bb9deaa6c995f939c49',
2118 │ height: '2'
2119 │ },
2120 │ txs: null,
2121 │ signers: [],
2122 │ epoch: 0,
2123 │ extra_data: ''
2124 │ },
2125 │ {
2126 │ height: '2',
2127 │ id: '0x705e7368bd6a3b61761c92617bc49d9a6108226872473bb9deaa6c995f939c49',
2128 │ txCount: '0',
2129 │ timestamp: '1561736315000',
2130 │ blockTime: 9,
2131 │ merkleRoot: '0x8e90e429b28aea29f6560a6e19eeafcce899bdd16fedca2d1dbfe65b76488d65'
2132 │ ,
2133 │ prevBlock: {
2134 │ id: '0x61ce03ef5efa374b0d0d527ea38c3d13cb05cf765a4f898e91a5de1f6b224cdd',
2135 │ height: '1'
2136 │ },
2137 │ bytes: '620',
2138 │ nextBlock: {
2139 │ id: '0xae8bc010cd39623e2222ba0c0fae901bba146b4c4be27079f258fcac654e7271',
2140 │ height: '3'
2141 │ },
2142 │ txs: null,
2143 │ signers: [],
2144 │ epoch: 0,
2145 │ extra_data: ''
2146 │ },
2147 │ {
2148 │ height: '3',
2149 │ id: '0xae8bc010cd39623e2222ba0c0fae901bba146b4c4be27079f258fcac654e7271',
2150 │ txCount: '0',
2151 │ timestamp: '1561736323000',
2152 │ blockTime: 8,
2153 │ merkleRoot: '0x961bb6178d2d08a3f8f88a88af61efff66ac3496690a00e967b8d3a49fcfaf70'
2154 │ ,
2155 │ prevBlock: {
2156 │ id: '0x705e7368bd6a3b61761c92617bc49d9a6108226872473bb9deaa6c995f939c49',
2157 │ height: '2'
2158 │ },
2159 │ bytes: '620',
2160 │ nextBlock: {
2161 │ id: '0x8e911bba4cb58607bab37e4c80fe2b0e0249a83149267fcf93dae464ab5b96eb',
2162 │ height: '4'
2163 │ },
2164 │ txs: null,
2165 │ signers: [],
2166 │ epoch: 0,
2167 │ extra_data: ''
2168 │ },
2169 │ {
2170 │ height: '4',
2171 │ id: '0x8e911bba4cb58607bab37e4c80fe2b0e0249a83149267fcf93dae464ab5b96eb',
2172 │ txCount: '0',
2173 │ timestamp: '1561736331000',
2174 │ blockTime: 8,
2175 │ merkleRoot: '0x215fe00027dd3d36ac6c1a3181af1f1f69828a531f6bf49272e3e824c0ab939c'
2176 │ ,
2177 │ prevBlock: {
2178 │ id: '0xae8bc010cd39623e2222ba0c0fae901bba146b4c4be27079f258fcac654e7271',
2179 │ height: '3'
2180 │ },
2181 │ bytes: '620',
2182 │ nextBlock: {
2183 │ id: '0x041c0230bb41fe636dc43f26eed89e1080ec9591f5735d4cac98b6e7995b2ec8',
2184 │ height: '5'
2185 │ },
2186 │ txs: null,
2187 │ signers: [],
2188 │ epoch: 0,
2189 │ extra_data: ''
2190 │ }
2191 │ ]
2192 └
2193 ✓ Response should not be an empty array.
2194 ✓ Response array length should be the difference of the search bounds plus one.
2195
2196→ tx_beta
2197 GET http://e0.t.hmny.io:5000/tx?id=0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6 [200 OK, 405B, 37ms]
2198 ┌
2199 │ 'Request URL'
2200 │ {
2201 │ protocol: 'http',
2202 │ port: '5000',
2203 │ path: [ 'tx' ],
2204 │ host: [ 'e0', 't', 'hmny', 'io' ],
2205 │ query: [
2206 │ {
2207 │ key: 'id',
2208 │ value: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6'
2209 │ }
2210 │ ],
2211 │ variable: []
2212 │ }
2213 │
2214 │ 'Request Body'
2215 │ ''
2216 │
2217 │ 'Response'
2218 │ {
2219 │ id: '0x75ff909902ed1ee70881910affab2c66fbbc1db7acdbf1aa446910d526807da6',
2220 │ timestamp: '1571868558000',
2221 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
2222 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
2223 │ value: 1000000000,
2224 │ bytes: '103',
2225 │ data: '',
2226 │ gasFee: 0,
2227 │ fromShard: 0,
2228 │ toShard: 1,
2229 │ type: ''
2230 │ }
2231 └
2232 ✓ Response ID should not be empty.
2233 ✓ Response ID should match ID specified in the URL
2234
2235→ address_beta
2236 GET http://e0.t.hmny.io:5000/address?id=one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm&tx_view=ALL&offset=1&page=1 [200 OK, 501B, 38ms]
2237 ┌
2238 │ 'Request URL'
2239 │ {
2240 │ protocol: 'http',
2241 │ port: '5000',
2242 │ path: [ 'address' ],
2243 │ host: [ 'e0', 't', 'hmny', 'io' ],
2244 │ query: [
2245 │ { key: 'id', value: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm'
2246 │ [39m },
2247 │ { key: 'tx_view', value: 'ALL' },
2248 │ { key: 'offset', value: '1' },
2249 │ { key: 'page', value: '1' }
2250 │ ],
2251 │ variable: []
2252 │ }
2253 │
2254 │ 'Request Body'
2255 │ ''
2256 │
2257 │ 'Response'
2258 │ {
2259 │ id: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
2260 │ balance: 249999999992000000000,
2261 │ txs: [
2262 │ {
2263 │ id: '0xf4fa857e5e7a51ba392e2c3ad3168ec42f6a902e0f85c3248dead6ecd6acdf0f',
2264 │ timestamp: '1571864930000',
2265 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
2266 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
2267 │ value: 1000000000,
2268 │ bytes: '103',
2269 │ data: '',
2270 │ gasFee: 0,
2271 │ fromShard: 0,
2272 │ toShard: 1,
2273 │ type: 'SENT'
2274 │ }
2275 │ ]
2276 │ }
2277 └
2278 ✓ Transactions array should be not null.
2279 ✓ Length of transactions array should match offset parameter in url.
2280
2281→ shard_beta
2282 GET http://e0.t.hmny.io:5000/shard [200 OK, 186B, 38ms]
2283 ┌
2284 │ 'Request URL'
2285 │ {
2286 │ protocol: 'http',
2287 │ port: '5000',
2288 │ path: [ 'shard' ],
2289 │ host: [ 'e0', 't', 'hmny', 'io' ],
2290 │ query: [],
2291 │ variable: []
2292 │ }
2293 │
2294 │ 'Request Body'
2295 │ ''
2296 │
2297 │ 'Response'
2298 │ { nodes: [ { id: 'QmesxHkBCr2udF9qxeGV34zyCn2xzMywHDHcQ4QVpfWH1R' }, {
2299 │ 7mid: '' } ] }
2300 └
2301 ✓ Nodes array should not be empty
2302
2303→ node-count_beta
2304 GET http://e0.t.hmny.io:5000/node-count [200 OK, 109B, 36ms]
2305 ┌
2306 │ 'Request URL'
2307 │ {
2308 │ protocol: 'http',
2309 │ port: '5000',
2310 │ path: [ 'node-count' ],
2311 │ host: [ 'e0', 't', 'hmny', 'io' ],
2312 │ query: [],
2313 │ variable: []
2314 │ }
2315 │
2316 │ 'Request Body'
2317 │ ''
2318 │
2319 │ 'Response'
2320 │ 2
2321 └
2322
2323→ committee_beta
2324 GET http://e0.t.hmny.io:5000/committee?shard_id=0&epoch=0 [200 OK, 22.46KB, 84ms]
2325 ┌
2326 │ 'Request URL'
2327 │ {
2328 │ protocol: 'http',
2329 │ port: '5000',
2330 │ path: [ 'committee' ],
2331 │ host: [ 'e0', 't', 'hmny', 'io' ],
2332 │ query: [ { key: 'shard_id', value: '0' }, { key
2333 │ : 'epoch', value: '0' } ],
2334 │ variable: []
2335 │ }
2336 │
2337 │ 'Request Body'
2338 │ ''
2339 │
2340 │ 'Response'
2341 │ {
2342 │ validators: [
2343 │ {
2344 │ address: 'one1gh043zc95e6mtutwy5a2zhvsxv7lnlklkj42ux',
2345 │ balance: 1.3488976232045812e+23
2346 │ },
2347 │ {
2348 │ address: 'one1jyvcqu4k0rszgf3r2a02tm89dzd68arw5lz9vl',
2349 │ balance: 1.5503429657608256e+23
2350 │ },
2351 │ {
2352 │ address: 'one1nn2c86kwaq4nk8lda50fnepepqr9y73kd9w2z3',
2353 │ balance: 1.5000673069992597e+23
2354 │ },
2355 │ {
2356 │ address: 'one1u7jzpkd3sr40kzw62vjval85dkzeyn3g2shz83',
2357 │ balance: 1.6012328120990973e+23
2358 │ },
2359 │ {
2360 │ address: 'one1tfrpfvrgj5tnxj029xsdkl33hmrsry056nrpvt',
2361 │ balance: 1.470635486828368e+23
2362 │ },
2363 │ {
2364 │ address: 'one1fg0nrc7djkm2p47tjsuhd8n9435mz9ed57dj8v',
2365 │ balance: 1.515346992963384e+23
2366 │ },
2367 │ {
2368 │ address: 'one15jv9h2rwtczgmre923nde50jfz0sjs8c9gnwpd',
2369 │ balance: 1.6017562004086785e+23
2370 │ },
2371 │ {
2372 │ address: 'one145zhxlug79wjwlf9wrx5vh90u2t7nfu562rdlh',
2373 │ balance: 1.3191503228846376e+23
2374 │ },
2375 │ {
2376 │ address: 'one17fn65sgdnp9hphg6vn58h90k3ujt07xtqrnn3y',
2377 │ balance: 1.574181308807892e+23
2378 │ },
2379 │ {
2380 │ address: 'one1ssctny3j3hs92wnetqgkrncwfatq6er6rhede9',
2381 │ balance: 1.3995163131075198e+23
2382 │ },
2383 │ {
2384 │ address: 'one1uevxtwdqehq7k2v5jdm6mz4m492f3qpja4e36q',
2385 │ balance: 1.5293976358002318e+23
2386 │ },
2387 │ {
2388 │ address: 'one1m4909gjt2g4fsl2jw95kxmjmja2ka4cc6d4sgs',
2389 │ balance: 1.2512000155133041e+23
2390 │ },
2391 │ {
2392 │ address: 'one1sdrc3dla7zzd5pdqjagywfdumnqsyl57ql7sj2',
2393 │ balance: 1.535955286650631e+23
2394 │ },
2395 │ {
2396 │ address: 'one1w4ekumvg88ex5txjrzk9qgfx3xheua4djrphld',
2397 │ balance: 1.5475087355135525e+23
2398 │ },
2399 │ {
2400 │ address: 'one1h3ztpa75txa2ng20jzzekqzcfmxx9v83lpeuaz',
2401 │ balance: 1.6015143145740482e+23
2402 │ },
2403 │ {
2404 │ address: 'one1zsk49ypjc540vy2663gpn76d8z0mg577d8x5kw',
2405 │ balance: 1.4891919408771243e+23
2406 │ },
2407 │ {
2408 │ address: 'one1pq9zk56dsapwracyx0z7lgz32603hzfk7f2t2e',
2409 │ balance: 1.4903606830382924e+23
2410 │ },
2411 │ {
2412 │ address: 'one16dllsrjr04uhzsuw7raaq4cszpkt3g997yev2s',
2413 │ balance: 1.2227665032607257e+23
2414 │ },
2415 │ {
2416 │ address: 'one1rs666h8mfgm33kqdkzzq4s6klem4d0hk9lldc4',
2417 │ balance: 1.4607607047393873e+23
2418 │ },
2419 │ {
2420 │ address: 'one1xgk5rmygeuh5p4m2uhp048dfucr7avf7tzj6w4',
2421 │ balance: 1.4321691768468279e+23
2422 │ },
2423 │ {
2424 │ address: 'one1jyzcklsqmr5r5qvvyh0r0e2436ss6vteap69kv',
2425 │ balance: 1.4216328659765396e+23
2426 │ },
2427 │ {
2428 │ address: 'one1mvlwv0wjp9u6yv2v0ema3qurlnxkp5ftekegm8',
2429 │ balance: 1.5109583365764616e+23
2430 │ },
2431 │ {
2432 │ address: 'one12q6kh768sn3m2dwf5vhn7nfuxstp6xvtf35m4r',
2433 │ balance: 1.2547110017955484e+23
2434 │ },
2435 │ {
2436 │ address: 'one198as6uj8p4yucttkkhzrtpu9z8nfwqrgh7d3g6',
2437 │ balance: 1.494008878689683e+23
2438 │ },
2439 │ {
2440 │ address: 'one1su2vsv854y639m0qlst580ctx7sm4zwsy60xq7',
2441 │ balance: 1.5604274654218687e+23
2442 │ },
2443 │ {
2444 │ address: 'one1x0sm3y8e2cgql05spqc2y20xwgx9m9trpfn2pq',
2445 │ balance: 1.1691337629465203e+23
2446 │ },
2447 │ {
2448 │ address: 'one1curhrds59j26ldue4x8sx3glf6dxnfkk3lqa53',
2449 │ balance: 1.4270316805324015e+23
2450 │ },
2451 │ {
2452 │ address: 'one1uzsl45tzdn652xkqdc60w42hehrc0nrd7lj7zu',
2453 │ balance: 1.2214518870839846e+23
2454 │ },
2455 │ {
2456 │ address: 'one135nj2r8jd88uffht52q4zs88h6vpwmy6f88vjr',
2457 │ balance: 1.599201535113785e+23
2458 │ },
2459 │ {
2460 │ address: 'one1vg5frvtn82thc5vv0rytysdwtl6qcsjpessvst',
2461 │ balance: 1.5412820048779337e+23
2462 │ },
2463 │ {
2464 │ address: 'one1xlnx308wrvfjxxs4h8v894vwz35tpcfyex63um',
2465 │ balance: 1.4901137980579559e+23
2466 │ },
2467 │ {
2468 │ address: 'one1jegwvj0vpkncgsw9p3nuyt36dp94erdu79kv5j',
2469 │ balance: 1.422073846143138e+23
2470 │ },
2471 │ {
2472 │ address: 'one1el39ku64kkdpmrv598d8g63r9ftd25nc8ppuly',
2473 │ balance: 1.4393532701222242e+23
2474 │ },
2475 │ {
2476 │ address: 'one1s3vgvw85j4055tq7ky7say5n80hy2vws8hgvfu',
2477 │ balance: 1.4343876530485546e+23
2478 │ },
2479 │ {
2480 │ address: 'one1tmxgqudfnzuy5y9wf7gsntwv6f768878r3q8q6',
2481 │ balance: 1.454594445894318e+23
2482 │ },
2483 │ {
2484 │ address: 'one13fjjymcva76vzn6e4ykde77wt5j4jyr60u778j',
2485 │ balance: 1.560574143694117e+23
2486 │ },
2487 │ {
2488 │ address: 'one1cfq2v4kysk3vdrjtjju2q7d2k8qa204cqcsqsq',
2489 │ balance: 1.4124697421318301e+23
2490 │ },
2491 │ {
2492 │ address: 'one1g2rm7ay0htx5tlkgqwvvwk4sq2tgm5wratfzq2',
2493 │ balance: 1.2570494862285797e+23
2494 │ },
2495 │ {
2496 │ address: 'one1nsu6n9sv7ztgcrred3lnml7qxmr3la94ymsrw0',
2497 │ balance: 1.3703122768978974e+23
2498 │ },
2499 │ {
2500 │ address: 'one10tu906wspjnc3mn5kvzlr36882swkwf9s8e5xd',
2501 │ balance: 1.4347558912217387e+23
2502 │ },
2503 │ {
2504 │ address: 'one1chxf96l9c0g0w55703j0q37gtnedg424zlmraf',
2505 │ balance: 1.3802353155685853e+23
2506 │ },
2507 │ {
2508 │ address: 'one1gum0zqu2zstptk7fdl8v2wsdrfdtl054qx8jar',
2509 │ balance: 1.128290844323438e+23
2510 │ },
2511 │ {
2512 │ address: 'one1gugtmrxusqk2j7xce3sltnc0sgegnnfuv6hq80',
2513 │ balance: 1.4189458581825398e+23
2514 │ },
2515 │ {
2516 │ address: 'one1ekllcv39gdpac9497gc3894ddsehkzlqds7ewl',
2517 │ balance: 1.3680054095964828e+23
2518 │ },
2519 │ {
2520 │ address: 'one18pymc7sn6e3jk07xx3gagrfgmkcmgtuxa428s6',
2521 │ balance: 1.589337630929255e+23
2522 │ },
2523 │ {
2524 │ address: 'one147x8wxytztf80avpy4s4f99t5u3ksfr7h02j4x',
2525 │ balance: 1.5444494432767504e+23
2526 │ },
2527 │ {
2528 │ address: 'one1vfy349h4y44244zf3zm47jwc7z4jdwpgsgdtm3',
2529 │ balance: 1.1569383586079646e+23
2530 │ },
2531 │ {
2532 │ address: 'one14hrttmv9xapdkj0auuwlgpvmmhfz2mp4a2c8ey',
2533 │ balance: 1.6018239918964353e+23
2534 │ },
2535 │ {
2536 │ address: 'one1ktud786d0w6ww8gt8crra4mg6zyl7xf7xr47u6',
2537 │ balance: 1.2771465250976439e+23
2538 │ },
2539 │ {
2540 │ address: 'one18jsru7gjz8tex8nux0xe4agffwz2mvq62xjp2x',
2541 │ balance: 1.4882023247591542e+23
2542 │ },
2543 │ {
2544 │ address: 'one1a29x52lelvelspzx9scdml3nhy9hrau9k5mvdn',
2545 │ balance: 1.594207913013523e+23
2546 │ },
2547 │ {
2548 │ address: 'one13ar9c7czmg5j26fcpwqckj5kx5kyk02j0nqvjr',
2549 │ balance: 1.4746427277230414e+23
2550 │ },
2551 │ {
2552 │ address: 'one19hnhhs2dkxl0v0gr0h755y6f9l86emt0z3zuj7',
2553 │ balance: 1.476994661945281e+23
2554 │ },
2555 │ {
2556 │ address: 'one1uwkgzutlp76qhvuhtlvhpd77gyuxlm0w3nj0fx',
2557 │ balance: 1.3956629521708174e+23
2558 │ },
2559 │ {
2560 │ address: 'one10jg0a2wv5fk9042us876xt57ej0lqm6xvm5vxu',
2561 │ balance: 1.3617413743631603e+23
2562 │ },
2563 │ {
2564 │ address: 'one1hhf55rl0jzjyshlw4ftlm25ylxhsc5rrq7rznd',
2565 │ balance: 1.449098222385352e+23
2566 │ },
2567 │ {
2568 │ address: 'one1pegk36wh4dnyv29dhe5s3faveenhl60wcef9y2',
2569 │ balance: 1.4755967670203364e+23
2570 │ },
2571 │ {
2572 │ address: 'one1y82p9rex6ezqenjze8yxe5a0nhskvamcgn8rqc',
2573 │ balance: 1.5992547597173437e+23
2574 │ },
2575 │ {
2576 │ address: 'one1yu2wdsl7x5k58zecsdh5p0ucapfe74mrydwks9',
2577 │ balance: 1.5639297380099796e+23
2578 │ },
2579 │ {
2580 │ address: 'one1kgyntj9yg6vvasmt06g5w7x8e84z84hnlx4eda',
2581 │ balance: 1.419870922568436e+23
2582 │ },
2583 │ {
2584 │ address: 'one1uc3xg782sslsrkyffvaakmy8dw0evl0zzq06ts',
2585 │ balance: 1.567621203806553e+23
2586 │ },
2587 │ {
2588 │ address: 'one1tvtrynm5rp8gsxf69hhy7mx0uljlzguxwxgtjy',
2589 │ balance: 1.574462476761053e+23
2590 │ },
2591 │ {
2592 │ address: 'one1t03xpg9f6tgguwke23e56k3chd28d2d37ttxqw',
2593 │ balance: 1.4312263407199257e+23
2594 │ },
2595 │ {
2596 │ address: 'one1khln4errq87hnpjs9zqxmll9slwxwywtxy0y3d',
2597 │ balance: 1.4883344019766433e+23
2598 │ },
2599 │ {
2600 │ address: 'one14jntfqa47hatag382uaxkp2zddhwwgwf3wl33x',
2601 │ balance: 1.5738408494496895e+23
2602 │ },
2603 │ {
2604 │ address: 'one1ycdxxqd4x5wgu3wjc26edsjkc3cztm99jpnfry',
2605 │ balance: 1.4783260855152185e+23
2606 │ },
2607 │ {
2608 │ address: 'one13rtrd09sxez76efdqhmtamfclt44ew02auyhwa',
2609 │ balance: 1.1403651629227683e+23
2610 │ },
2611 │ {
2612 │ address: 'one18hmhzhfnm47sjwcaz73tjhz09zay4jrc2stagj',
2613 │ balance: 1.5647622928756224e+23
2614 │ },
2615 │ {
2616 │ address: 'one19lp6lj7j5efhtv6f4mjwyu3c50ey84ajnfntsa',
2617 │ balance: 1.574179379575156e+23
2618 │ },
2619 │ {
2620 │ address: 'one10t76e65x7m0pfkhmpwm4wgr7u3xu3t8qndvq5e',
2621 │ balance: 1.5971582276311705e+23
2622 │ },
2623 │ {
2624 │ address: 'one1w70ts3l3ehdws08sdx7n639lxp4fgg4ztxxp4s',
2625 │ balance: 1.5267122665710545e+23
2626 │ },
2627 │ {
2628 │ address: 'one1445u8kcryuz98d0husyrn0dnudfs77fuzdtqfm',
2629 │ balance: 1.4000192813933184e+23
2630 │ },
2631 │ {
2632 │ address: 'one12h79f9lmyyrzfcf08a2zzuv4mct72e0vsyfcax',
2633 │ balance: 1.5176451517489385e+23
2634 │ },
2635 │ {
2636 │ address: 'one17fth44p5a89fyck8sxxz767sqzt35frxj9f0lq',
2637 │ balance: 1.3987459233402955e+23
2638 │ },
2639 │ {
2640 │ address: 'one1lml39n0qemt2gg7r6kwl0gerue0q7sr4u6rqjq',
2641 │ balance: 1.3423969213055666e+23
2642 │ },
2643 │ {
2644 │ address: 'one15wh83u4p54dfrjmmk79t4e2dgn0fw6c54ml0vz',
2645 │ balance: 1.3960312116597295e+23
2646 │ },
2647 │ {
2648 │ address: 'one17jzfd3pwu4peerl26yxr7rkynv8385dczppnnc',
2649 │ balance: 1.5613936696853636e+23
2650 │ },
2651 │ {
2652 │ address: 'one156pcuu77dxef29cc6nu5wsjndmk9cw4ta7crpx',
2653 │ balance: 1.3743361030351687e+23
2654 │ },
2655 │ {
2656 │ address: 'one1wjqtk2krrlsqxcr2jgau7s58vuf2fepdu3cwnu',
2657 │ balance: 1.5982945630193275e+23
2658 │ },
2659 │ {
2660 │ address: 'one1t0y5jmv84cu4eqeev2cczpwr63flrz22ptmnf8',
2661 │ balance: 1.3606285590443683e+23
2662 │ },
2663 │ {
2664 │ address: 'one168rjtx20cyyqjygt248gxpcqqcw7a08ga93kvh',
2665 │ balance: 1.6017671657892304e+23
2666 │ },
2667 │ {
2668 │ address: 'one1v525e2ddyq5xpecnq9f3gtpz6dlggg93l2uac7',
2669 │ balance: 1.426794462645647e+23
2670 │ },
2671 │ {
2672 │ address: 'one13j7h7mmlmlypxa2aefuuf5xrw0vjn5ahp0zfr0',
2673 │ balance: 1.5957502690387504e+23
2674 │ },
2675 │ {
2676 │ address: 'one12su07r3rk8hgg8e36gds92z5370t8yhjyxpp0h',
2677 │ balance: 1.3352123049260596e+23
2678 │ },
2679 │ {
2680 │ address: 'one10urht2e6gfeq4fskmnwrlxnx4vqhaxzz3d00em',
2681 │ balance: 1.4172088052893684e+23
2682 │ },
2683 │ {
2684 │ address: 'one1g4g72jk5cumlmnkzzslzhlv9vwp85clx2mmzau',
2685 │ balance: 1.5145200759645217e+23
2686 │ },
2687 │ {
2688 │ address: 'one1pey5w5wjv03acwwj0rwhft7wr6dulesjkrl4ah',
2689 │ balance: 1.6014097850794453e+23
2690 │ },
2691 │ {
2692 │ address: 'one1dzr9ruh47we0lmtkaxk4an7hxe8qp2u6fqsett',
2693 │ balance: 1.5490579921332407e+23
2694 │ },
2695 │ {
2696 │ address: 'one1qt8z2h76unuz4jh60hupddlct8pes30hfclm4h',
2697 │ balance: 1.3055327694084964e+23
2698 │ },
2699 │ {
2700 │ address: 'one12p85puccq3h6fgdtvhvmu2932yutv8xgk3lynk',
2701 │ balance: 1.5780874504925285e+23
2702 │ },
2703 │ {
2704 │ address: 'one1cppp40k4kkjq4dwa9lv60wgc8fhx0c7yzr88l9',
2705 │ balance: 1.4396917521729225e+23
2706 │ },
2707 │ {
2708 │ address: 'one13rdkjur7mzqvvxvpp644eehr50zqvahrmxg6n5',
2709 │ balance: 1.529056649690156e+23
2710 │ },
2711 │ {
2712 │ address: 'one16fcp2y6fagty2wmc7qglcezhvk9sa9vqtkp8h0',
2713 │ balance: 1.1394455004325584e+23
2714 │ },
2715 │ {
2716 │ address: 'one1stcz8mr4u0efye4vl4nefq8k0v6cdx8aalxw09',
2717 │ balance: 1.3165742796524317e+23
2718 │ },
2719 │ {
2720 │ address: 'one1xreg53amt4gke3g3jag4h64h4n0ndprsu2nuep',
2721 │ balance: 1.35986611183975e+23
2722 │ },
2723 │ {
2724 │ address: 'one1ln27g8ypym49v7pudkazp0ftv9lekdy7hxldky',
2725 │ balance: 1.4949549970233259e+23
2726 │ },
2727 │ {
2728 │ address: 'one1pr0cgkwwv7h9dpud02uqje582xjanfxycfzr07',
2729 │ balance: 1.5805539853578697e+23
2730 │ },
2731 │ {
2732 │ address: 'one152hm7nxgr3ng4xwpv7dghtntjza9sq58q7za67',
2733 │ balance: 1.155636626026595e+23
2734 │ },
2735 │ {
2736 │ address: 'one1q942nk0nh04phhlcsurzfj4a0e6rqdwvasfa7k',
2737 │ balance: 1.5604778470042963e+23
2738 │ },
2739 │ {
2740 │ address: 'one17n0pxvjsz5sgan0hnu5pj6vt25u44urnm9cp3e',
2741 │ balance: 1.5688005372967162e+23
2742 │ },
2743 │ ... 150 more items
2744 │ ]
2745 │ }
2746 └
2747 ✓ Validators array should not be null.
2748 ✓ Response should not be empty
2749
2750┌─────────────────────────┬───────────────────┬───────────────────┐
2751│ │ executed │ failed │
2752├─────────────────────────┼───────────────────┼───────────────────┤
2753│ iterations │ 1 │ 0 │
2754├─────────────────────────┼───────────────────┼───────────────────┤
2755│ requests │ 34 │ 0 │
2756├─────────────────────────┼───────────────────┼───────────────────┤
2757│ test-scripts │ 68 │ 0 │
2758├─────────────────────────┼───────────────────┼───────────────────┤
2759│ prerequest-scripts │ 35 │ 0 │
2760├─────────────────────────┼───────────────────┼───────────────────┤
2761│ assertions │ 65 │ 0 │
2762├─────────────────────────┴───────────────────┴───────────────────┤
2763│ total run duration: 32.9s │
2764├─────────────────────────────────────────────────────────────────┤
2765│ total data received: 34.03KB (approx) │
2766├─────────────────────────────────────────────────────────────────┤
2767│ average response time: 54ms [min: 36ms, max: 289ms, s.d.: 48ms] │
2768└─────────────────────────────────────────────────────────────────┘
2769
2770 Succeeded in 2 attempt(s)
2771
2772Removing imported keys from CLI's keystore...
2773Daniel-MBP:api-tests danielvdm$ python3 test.py --rpc_endpoint_src=https://api.s1.t.hmny.io/ --rpc_endpoint_dst=https://api.s0.t.hmny.io/ --exp_endpoint=http://e1.t.hmny.io:5000/ --chain_id=mainnet --keystore=./MainnetKeys/ --cli_passphrase='harmony-one'
2774CLI Version: Harmony (C) 2019. hmy, version v108-35247b1 (danielvdm@harmony.one 2019-10-18T23:36:56-0700)
2775Loading keys...
2776Getting RawTxn...
2777Raw transaction details:
2778 Node: https://api.s1.t.hmny.io/
2779 From: one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm
2780 To: one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r
2781 From-shard: 1
2782 To-shard: 0
2783 Transaction for mainnet
2784 Transaction:
2785 {
2786 "nonce": "0x9",
2787 "gasPrice": "0x0",
2788 "gas": "0x5208",
2789 "shardID": 1,
2790 "toShardID": 0,
2791 "to": "0x9ad139ffc9f62a7c215766de5901124402cbe531",
2792 "value": "0x3b9aca00",
2793 "input": "0x",
2794 "v": "0x25",
2795 "r": "0x34ecb0c37a1980edf51fe885c157df1e8465a9c6291daab61cc04cfdc36fc94c",
2796 "s": "0x3bf2bfb61c7331a88c706d7026f2994ae63fb73ef537560a7451ab7ada93cdad",
2797 "hash": "0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a"
2798 }
2799
2800 Iteration 1 out of 5
2801
2802newman
2803
2804Harmony API Tests (Env Vars)
2805
2806→ hmy_sendRawTransaction
2807 POST https://api.s1.t.hmny.io/ [200 OK, 250B, 233ms]
2808 ┌
2809 │ 'Request Body'
2810 │ '{"jsonrpc":"2.0","method":"hmy_sendRawTransaction","params":["0xf86509808252080180949ad139ffc9f62a
2811 │ 7c215766de5901124402cbe531843b9aca008025a034ecb0c37a1980edf51fe885c157df1e8465a9c6291daab61cc04cfdc36fc9
2812 │ 4ca03bf2bfb61c7331a88c706d7026f2994ae63fb73ef537560a7451ab7ada93cdad"],"id":1}'
2813 │
2814 │ 'Response'
2815 │ {
2816 │ jsonrpc: '2.0',
2817 │ id: 1,
2818 │ result: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a'
2819 │ }
2820 └
2821 ✓ Response should not contain errors.
2822 ✓ Response should have non-null result field.
2823
2824→ hmy_getTransactionByHash
2825 ┌
2826 │ 'Sleeping 30 seconds for cross-shard transaction finality...'
2827 └
2828 POST https://api.s1.t.hmny.io/ [200 OK, 755B, 63ms]
2829 ┌
2830 │ 'Request Body'
2831 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionByHash","params":["0xf4f31b777de0fadac6fc58bb55bc949d
2832 │ a56a71458df247eea11701c354c3f42a"],"id":1}'
2833 │
2834 │ 'Response'
2835 │ {
2836 │ jsonrpc: '2.0',
2837 │ id: 1,
2838 │ result: {
2839 │ blockHash: '0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78',
2840 │ blockNumber: '0x1148e6',
2841 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
2842 │ gas: '0x5208',
2843 │ gasPrice: '0x0',
2844 │ hash: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a',
2845 │ input: '0x',
2846 │ nonce: '0x9',
2847 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
2848 │ transactionIndex: '0x0',
2849 │ value: '0x3b9aca00',
2850 │ shardID: 1,
2851 │ toShardID: 0,
2852 │ v: '0x25',
2853 │ r: '0x34ecb0c37a1980edf51fe885c157df1e8465a9c6291daab61cc04cfdc36fc94c',
2854 │ s: '0x3bf2bfb61c7331a88c706d7026f2994ae63fb73ef537560a7451ab7ada93cdad'
2855 │ }
2856 │ }
2857 └
2858 ✓ Response should not contain errors.
2859 ✓ Response should have non-null result field.
2860
2861→ hmy_getCXReceiptByHash
2862 POST https://api.s0.t.hmny.io/ [200 OK, 514B, 228ms]
2863 ┌
2864 │ 'Request Body'
2865 │ '{"jsonrpc":"2.0","method":"hmy_getCXReceiptByHash","params":["0xf4f31b777de0fadac6fc58bb55bc949da5
2866 │ 6a71458df247eea11701c354c3f42a"],"id":1}'
2867 │
2868 │ 'Response'
2869 │ {
2870 │ jsonrpc: '2.0',
2871 │ id: 1,
2872 │ result: {
2873 │ blockHash: '0xd2036412e0bd34c77b68f82be09e257dc171bac017199849b1996dc81c2e7d47',
2874 │ blockNumber: '0x128724',
2875 │ hash: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a',
2876 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
2877 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
2878 │ shardID: 1,
2879 │ toShardID: 0,
2880 │ value: '0x3b9aca00'
2881 │ }
2882 │ }
2883 └
2884 ✓ Response should not contain errors.
2885 ✓ Response should have non-null result field.
2886
2887→ hmy_resendCx
2888 POST https://api.s0.t.hmny.io/ [200 OK, 514B, 71ms]
2889 ┌
2890 │ 'Request Body'
2891 │ '{"jsonrpc":"2.0","method":"hmy_getCXReceiptByHash","params":["0xf4f31b777de0fadac6fc58bb55bc949da5
2892 │ 6a71458df247eea11701c354c3f42a"],"id":1}'
2893 │
2894 │ 'Response'
2895 │ {
2896 │ jsonrpc: '2.0',
2897 │ id: 1,
2898 │ result: {
2899 │ blockHash: '0xd2036412e0bd34c77b68f82be09e257dc171bac017199849b1996dc81c2e7d47',
2900 │ blockNumber: '0x128724',
2901 │ hash: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a',
2902 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
2903 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
2904 │ shardID: 1,
2905 │ toShardID: 0,
2906 │ value: '0x3b9aca00'
2907 │ }
2908 │ }
2909 └
2910 ✓ Response should not contain errors.
2911 ✓ Response should have non-null result field.
2912
2913→ hmy_getTransactionCount
2914 POST https://api.s1.t.hmny.io/ [200 OK, 186B, 51ms]
2915 ┌
2916 │ 'Request Body'
2917 │ '{\n' +
2918 │ ' "jsonrpc": "2.0",\n' +
2919 │ ' "method": "hmy_getTransactionCount",\n' +
2920 │ ' "params": [\n' +
2921 │ ' "one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm",\n' +
2922 │ ' "latest"\n' +
2923 │ ' ],\n' +
2924 │ ' "id": 1\n' +
2925 │ '}'
2926 │
2927 │ 'Response'
2928 │ { jsonrpc: '2.0', id: 1, result: '0xa' }
2929 └
2930 ✓ Response should not contain errors.
2931 ✓ Response should have non-null result field.
2932
2933→ hmy_getBlockByHash
2934 POST https://api.s1.t.hmny.io/ [200 OK, 1.96KB, 52ms]
2935 ┌
2936 │ 'Request Body'
2937 │ '{\n' +
2938 │ ' "jsonrpc": "2.0",\n' +
2939 │ ' "method": "hmy_getBlockByHash",\n' +
2940 │ ' "params": [\n' +
2941 │ ' "0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78",\n' +
2942 │ ' true\n' +
2943 │ ' ],\n' +
2944 │ ' "id": 1\n' +
2945 │ '}'
2946 │
2947 │ 'Response'
2948 │ {
2949 │ jsonrpc: '2.0',
2950 │ id: 1,
2951 │ result: {
2952 │ difficulty: 0,
2953 │ extraData: '0x',
2954 │ gasLimit: '0x6f05b59d3b20000',
2955 │ gasUsed: '0x5208',
2956 │ hash: '0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78',
2957 │ logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000
2958 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2959 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2960 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2961 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2962 │ 0000000000000000000000000',
2963 │ miner: '0xe36a243ea2db1c596344715a1cc2ac090180f2f5',
2964 │ mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
2965 │ nonce: 0,
2966 │ number: '0x1148e6',
2967 │ parentHash: '0x869db0fca22461e8d1e1a1014667c6ff70cd5b242a58eb45408d5ce3569aeadf'
2968 │ ,
2969 │ receiptsRoot: '0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2'
2970 │ 9m,
2971 │ size: '0x34f',
2972 │ stateRoot: '0xe996ee02d9d4e8ce3f9980f305473437f06607352c5c6c506e50cfa42d57f963',
2973 │ timestamp: '0x5db0d062',
2974 │ transactions: [
2975 │ {
2976 │ blockHash: '0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78'
2977 │ 39m,
2978 │ blockNumber: '0x1148e6',
2979 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
2980 │ gas: '0x5208',
2981 │ gasPrice: '0x0',
2982 │ hash: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a',
2983 │ input: '0x',
2984 │ nonce: '0x9',
2985 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
2986 │ transactionIndex: '0x0',
2987 │ value: '0x3b9aca00',
2988 │ shardID: 1,
2989 │ toShardID: 0,
2990 │ v: '0x25',
2991 │ r: '0x34ecb0c37a1980edf51fe885c157df1e8465a9c6291daab61cc04cfdc36fc94c',
2992 │ s: '0x3bf2bfb61c7331a88c706d7026f2994ae63fb73ef537560a7451ab7ada93cdad'
2993 │ }
2994 │ ],
2995 │ transactionsRoot: '0x1ebdebcea8ecce113b311949649b9daf366f20bc9acaa20169171dbac5e4ad11
2996 │ ',
2997 │ uncles: []
2998 │ }
2999 │ }
3000 └
3001 ✓ Response should not contain errors.
3002 ✓ Response should have non-null result field.
3003
3004→ hmy_getBlockByNumber
3005 POST https://api.s1.t.hmny.io/ [200 OK, 1.96KB, 69ms]
3006 ┌
3007 │ 'Request Body'
3008 │ '{"jsonrpc":"2.0","method":"hmy_getBlockByNumber","params":["0x1148e6", true],"id":1}'
3009 │
3010 │ 'Response'
3011 │ {
3012 │ jsonrpc: '2.0',
3013 │ id: 1,
3014 │ result: {
3015 │ difficulty: 0,
3016 │ extraData: '0x',
3017 │ gasLimit: '0x6f05b59d3b20000',
3018 │ gasUsed: '0x5208',
3019 │ hash: '0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78',
3020 │ logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000
3021 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3022 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3023 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3024 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3025 │ 0000000000000000000000000',
3026 │ miner: '0xe36a243ea2db1c596344715a1cc2ac090180f2f5',
3027 │ mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
3028 │ nonce: 0,
3029 │ number: '0x1148e6',
3030 │ parentHash: '0x869db0fca22461e8d1e1a1014667c6ff70cd5b242a58eb45408d5ce3569aeadf'
3031 │ ,
3032 │ receiptsRoot: '0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2'
3033 │ 9m,
3034 │ size: '0x34f',
3035 │ stateRoot: '0xe996ee02d9d4e8ce3f9980f305473437f06607352c5c6c506e50cfa42d57f963',
3036 │ timestamp: '0x5db0d062',
3037 │ transactions: [
3038 │ {
3039 │ blockHash: '0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78'
3040 │ 39m,
3041 │ blockNumber: '0x1148e6',
3042 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
3043 │ gas: '0x5208',
3044 │ gasPrice: '0x0',
3045 │ hash: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a',
3046 │ input: '0x',
3047 │ nonce: '0x9',
3048 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
3049 │ transactionIndex: '0x0',
3050 │ value: '0x3b9aca00',
3051 │ shardID: 1,
3052 │ toShardID: 0,
3053 │ v: '0x25',
3054 │ r: '0x34ecb0c37a1980edf51fe885c157df1e8465a9c6291daab61cc04cfdc36fc94c',
3055 │ s: '0x3bf2bfb61c7331a88c706d7026f2994ae63fb73ef537560a7451ab7ada93cdad'
3056 │ }
3057 │ ],
3058 │ transactionsRoot: '0x1ebdebcea8ecce113b311949649b9daf366f20bc9acaa20169171dbac5e4ad11
3059 │ ',
3060 │ uncles: []
3061 │ }
3062 │ }
3063 └
3064 ✓ Response should not contain errors.
3065 ✓ Response should have non-null result field.
3066 ✓ hash in response should match blockHash of transaction block.
3067 ✓ number in response should match number reported by getBlockByHash.
3068
3069→ hmy_getBlockTransactionCountByHash
3070 POST https://api.s1.t.hmny.io/ [200 OK, 186B, 44ms]
3071 ┌
3072 │ 'Request Body'
3073 │ '{"jsonrpc":"2.0","method":"hmy_getBlockTransactionCountByHash","params":["0x8c88526d01ca5d83ded4a6
3074 │ db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78"],"id":1}'
3075 │
3076 │ 'Response'
3077 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
3078 └
3079 ✓ Response should not contain errors.
3080 ✓ Response should have non-null result field.
3081
3082→ hmy_getBlockTransactionCountByNumber
3083 POST https://api.s1.t.hmny.io/ [200 OK, 186B, 47ms]
3084 ┌
3085 │ 'Request Body'
3086 │ '{"jsonrpc":"2.0","method":"hmy_getBlockTransactionCountByNumber","params":["0x1148e6"],"id":1}'
3087 │ 9m
3088 │
3089 │ 'Response'
3090 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
3091 └
3092 ✓ Response should not contain errors.
3093 ✓ Response should have non-null result field.
3094 ✓ Transaction count in result should match transaction count from result of getBlockTransactionCountByHash
3095
3096→ hmy_getTransactionReceipt
3097 POST https://api.s1.t.hmny.io/ [200 OK, 1.11KB, 40ms]
3098 ┌
3099 │ 'Request Body'
3100 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionReceipt","params":["0xf4f31b777de0fadac6fc58bb55bc949
3101 │ da56a71458df247eea11701c354c3f42a"],"id":1}'
3102 │
3103 │ 'Response'
3104 │ {
3105 │ jsonrpc: '2.0',
3106 │ id: 1,
3107 │ result: {
3108 │ blockHash: '0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78',
3109 │ blockNumber: '0x1148e6',
3110 │ contractAddress: null,
3111 │ cumulativeGasUsed: '0x5208',
3112 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
3113 │ gasUsed: '0x5208',
3114 │ logs: [],
3115 │ logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000
3116 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3117 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3118 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3119 │ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3120 │ 0000000000000000000000000',
3121 │ shardID: 1,
3122 │ status: '0x1',
3123 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
3124 │ transactionHash: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a'
3125 │ ,
3126 │ transactionIndex: '0x0'
3127 │ }
3128 │ }
3129 └
3130 ✓ Response should not contain errors.
3131 ✓ Response should have non-null result field.
3132 ✓ blockHash, blockNumber, transactionHash, and transactionIndex should match with previously saved values.
3133
3134→ hmy_getBalance
3135 POST https://api.s1.t.hmny.io/ [200 OK, 202B, 39ms]
3136 ┌
3137 │ 'Request Body'
3138 │ '{\n' +
3139 │ ' "jsonrpc": "2.0",\n' +
3140 │ ' "method": "hmy_getBalance",\n' +
3141 │ ' "params": [\n' +
3142 │ ' "one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm",\n' +
3143 │ ' "latest"\n' +
3144 │ ' ],\n' +
3145 │ ' "id": 1\n' +
3146 │ '}'
3147 │
3148 │ 'Response'
3149 │ { jsonrpc: '2.0', id: 1, result: '0xd8d726b6f239c
3150 │ 1c00' }
3151 └
3152 ✓ Response should not contain errors.
3153 ✓ Response should have non-null result field.
3154
3155→ hmy_getShardingStructure
3156 POST https://api.s1.t.hmny.io/ [200 OK, 554B, 72ms]
3157 ┌
3158 │ 'Request Body'
3159 │ '{\n' +
3160 │ ' "jsonrpc": "2.0",\n' +
3161 │ ' "method": "hmy_getShardingStructure",\n' +
3162 │ ' "params": [\n' +
3163 │ ' \n' +
3164 │ ' ],\n' +
3165 │ ' "id": 1\n' +
3166 │ '}'
3167 │
3168 │ 'Response'
3169 │ {
3170 │ jsonrpc: '2.0',
3171 │ id: 1,
3172 │ result: [
3173 │ {
3174 │ current: false,
3175 │ http: 'https://api.s0.t.hmny.io',
3176 │ shardID: 0,
3177 │ ws: 'wss://ws.s0.t.hmny.io'
3178 │ },
3179 │ {
3180 │ current: true,
3181 │ http: 'https://api.s1.t.hmny.io',
3182 │ shardID: 1,
3183 │ ws: 'wss://ws.s1.t.hmny.io'
3184 │ },
3185 │ {
3186 │ current: false,
3187 │ http: 'https://api.s2.t.hmny.io',
3188 │ shardID: 2,
3189 │ ws: 'wss://ws.s2.t.hmny.io'
3190 │ },
3191 │ {
3192 │ current: false,
3193 │ http: 'https://api.s3.t.hmny.io',
3194 │ shardID: 3,
3195 │ ws: 'wss://ws.s3.t.hmny.io'
3196 │ }
3197 │ ]
3198 │ }
3199 └
3200 ✓ Response should not contain errors.
3201 ✓ Response should have non-null result field.
3202
3203→ hmy_getCode
3204 POST https://api.s1.t.hmny.io/ (node:32771) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
3205[200 OK, 185B, 43ms]
3206 ┌
3207 │ 'Request Body'
3208 │ '{\n' +
3209 │ ' "jsonrpc": "2.0",\n' +
3210 │ ' "method": "hmy_getCode",\n' +
3211 │ ' "params": [\n' +
3212 │ ' "0x8d0c56C099f2816B6534eB1d74543846EC558357",\n' +
3213 │ ' "latest"\t\n' +
3214 │ ' ],\n' +
3215 │ ' "id": 1\n' +
3216 │ '}'
3217 │
3218 │ 'Response'
3219 │ { jsonrpc: '2.0', id: 1, result: '0x' }
3220 └
3221 ✓ Response should not contain errors.
3222 ✓ Response should have non-null result field.
3223
3224→ hmy_getTransactionByBlockHashAndIndex
3225 POST https://api.s1.t.hmny.io/ [200 OK, 755B, 51ms]
3226 ┌
3227 │ 'Request Body'
3228 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionByBlockHashAndIndex","params":["0x8c88526d01ca5d83ded
3229 │ 4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78", "0x0"],"id":1}'
3230 │
3231 │ 'Response'
3232 │ {
3233 │ jsonrpc: '2.0',
3234 │ id: 1,
3235 │ result: {
3236 │ blockHash: '0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78',
3237 │ blockNumber: '0x1148e6',
3238 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
3239 │ gas: '0x5208',
3240 │ gasPrice: '0x0',
3241 │ hash: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a',
3242 │ input: '0x',
3243 │ nonce: '0x9',
3244 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
3245 │ transactionIndex: '0x0',
3246 │ value: '0x3b9aca00',
3247 │ shardID: 1,
3248 │ toShardID: 0,
3249 │ v: '0x25',
3250 │ r: '0x34ecb0c37a1980edf51fe885c157df1e8465a9c6291daab61cc04cfdc36fc94c',
3251 │ s: '0x3bf2bfb61c7331a88c706d7026f2994ae63fb73ef537560a7451ab7ada93cdad'
3252 │ }
3253 │ }
3254 └
3255 ✓ Response should not contain errors.
3256 ✓ Response should have non-null result field.
3257
3258→ hmy_getTransactionByBlockNumberAndIndex
3259 POST https://api.s1.t.hmny.io/ [200 OK, 755B, 60ms]
3260 ┌
3261 │ 'Request Body'
3262 │ '{"jsonrpc":"2.0","method":"hmy_getTransactionByBlockNumberAndIndex","params":["0x1148e6", "0x0"],"
3263 │ id":1}'
3264 │
3265 │ 'Response'
3266 │ {
3267 │ jsonrpc: '2.0',
3268 │ id: 1,
3269 │ result: {
3270 │ blockHash: '0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78',
3271 │ blockNumber: '0x1148e6',
3272 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
3273 │ gas: '0x5208',
3274 │ gasPrice: '0x0',
3275 │ hash: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a',
3276 │ input: '0x',
3277 │ nonce: '0x9',
3278 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
3279 │ transactionIndex: '0x0',
3280 │ value: '0x3b9aca00',
3281 │ shardID: 1,
3282 │ toShardID: 0,
3283 │ v: '0x25',
3284 │ r: '0x34ecb0c37a1980edf51fe885c157df1e8465a9c6291daab61cc04cfdc36fc94c',
3285 │ s: '0x3bf2bfb61c7331a88c706d7026f2994ae63fb73ef537560a7451ab7ada93cdad'
3286 │ }
3287 │ }
3288 └
3289 ✓ Response should not contain errors.
3290 ✓ Response should have non-null result field.
3291
3292→ hmy_syncing
3293 POST https://api.s1.t.hmny.io/ [200 OK, 186B, 43ms]
3294 ┌
3295 │ 'Request Body'
3296 │ '{\n "jsonrpc": "2.0",\n "method": "hmy_syncing",\n "params": [],\n "id": 1\n}'
3297 │
3298 │ 'Response'
3299 │ { jsonrpc: '2.0', id: 1, result: false }
3300 └
3301 ✓ Response should not contain errors.
3302 ✓ Response should have non-null result field.
3303
3304→ net_peerCount
3305 POST https://api.s1.t.hmny.io/ [200 OK, 188B, 39ms]
3306 ┌
3307 │ 'Request Body'
3308 │ '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":1}'
3309 │
3310 │ 'Response'
3311 │ { jsonrpc: '2.0', id: 1, result: '0x290' }
3312 └
3313 ✓ Response should not contain errors.
3314 ✓ Response should have non-null result field.
3315
3316→ hmy_getStorageAt
3317 POST https://api.s1.t.hmny.io/ [200 OK, 250B, 45ms]
3318 ┌
3319 │ 'Request Body'
3320 │ '{"jsonrpc":"2.0","method":"hmy_getStorageAt","params":["0x5d1bc8af89a892ec62ca124a4acb535fa67e4c24
3321 │ 255269c929d9ac5c91bc2fee", "0", "latest"],"id":1}'
3322 │
3323 │ 'Response'
3324 │ {
3325 │ jsonrpc: '2.0',
3326 │ id: 1,
3327 │ result: '0x0000000000000000000000000000000000000000000000000000000000000000'
3328 │ }
3329 └
3330 ✓ Response should not contain errors.
3331 ✓ Response should have non-null result field.
3332
3333→ hmy_getLogs
3334 POST https://api.s1.t.hmny.io/ [200 OK, 221B, 41ms]
3335 ┌
3336 │ 'Request Body'
3337 │ '{\n' +
3338 │ ' "jsonrpc": "2.0",\n' +
3339 │ ' "method": "hmy_getLogs",\n' +
3340 │ ' "params": [\n' +
3341 │ ' {\n' +
3342 │ ' "BlockHash": "0x8c88526d01ca5d83ded4a6db8c5afa7c6d7ade1fa2d0f71b2667ac97f7757c78"\n'
3343 │ +
3344 │ ' }\n' +
3345 │ ' ],\n' +
3346 │ ' "id": 1\n' +
3347 │ '}'
3348 │
3349 │ 'Response'
3350 │ { jsonrpc: '2.0', id: 1, error: { code:
3351 │ m-32000, message: 'unknown block' } }
3352 └
3353
3354→ hmy_getFilterChanges
3355 POST https://api.s1.t.hmny.io/ [200 OK, 224B, 52ms]
3356 ┌
3357 │ 'Request Body'
3358 │ '{"jsonrpc":"2.0", "method":"hmy_getFilterChanges", "params":["0xc480530dc87c1f95489606741dbc7bcc"]
3359 │ ,"id":1}'
3360 │
3361 │ 'Response'
3362 │ { jsonrpc: '2.0', id: 1, error: { code:
3363 │ m-32000, message: 'filter not found' } }
3364 └
3365
3366→ hmy_newPendingTransactionFilter
3367 POST https://api.s1.t.hmny.io/ [200 OK, 216B, 38ms]
3368 ┌
3369 │ 'Request Body'
3370 │ '{"jsonrpc":"2.0", "method":"hmy_newPendingTransactionFilter", "params":[],"id":1}'
3371 │
3372 │ 'Response'
3373 │ { jsonrpc: '2.0', id: 1, result: '0x9ff2d337d3a29
3374 │ 9f7a11648397595dd7' }
3375 └
3376 ✓ Response should not contain errors.
3377 ✓ Response should have non-null result field.
3378
3379→ hmy_newBlockFilter
3380 POST https://api.s1.t.hmny.io/ [200 OK, 217B, 41ms]
3381 ┌
3382 │ 'Request Body'
3383 │ '{"jsonrpc":"2.0", "method":"hmy_newBlockFilter", "params":[],"id":1}'
3384 │
3385 │ 'Response'
3386 │ { jsonrpc: '2.0', id: 1, result: '0xea52a49c02ba5
3387 │ 20446cac4a09e58825f' }
3388 └
3389 ✓ Response should not contain errors.
3390 ✓ Response should have non-null result field.
3391
3392→ hmy_newFilter
3393 POST https://api.s1.t.hmny.io/ [200 OK, 217B, 41ms]
3394 ┌
3395 │ 'Request Body'
3396 │ '{"jsonrpc":"2.0", "method":"hmy_newFilter", "params":[{"BlockHash": "0xb855a4a02ae5c658baaa1bb31da
3397 │ 4eb5963659545d4604d5285cb6965c9137a4f"}],"id":1}'
3398 │
3399 │ 'Response'
3400 │ { jsonrpc: '2.0', id: 1, result: '0x37dc03407e120
3401 │ c5a806281bf05aacb6e' }
3402 └
3403 ✓ Response should not contain errors.
3404 ✓ Response should have non-null result field.
3405
3406→ hmy_call
3407 POST https://api.s1.t.hmny.io/ [200 OK, 185B, 49ms]
3408 ┌
3409 │ 'Request Body'
3410 │ '{"jsonrpc":"2.0", "method":"hmy_call", "params":[{"to": "0x08AE1abFE01aEA60a47663bCe0794eCCD5763c1
3411 │ 9"}, "latest"],"id":1}'
3412 │
3413 │ 'Response'
3414 │ { jsonrpc: '2.0', id: 1, result: '0x' }
3415 └
3416 ✓ Response should not contain errors.
3417 ✓ Response should have non-null result field.
3418
3419→ hmy_gasPrice
3420 POST https://api.s1.t.hmny.io/ [200 OK, 186B, 39ms]
3421 ┌
3422 │ 'Request Body'
3423 │ '{"jsonrpc":"2.0","method":"hmy_gasPrice","params":[],"id":1}'
3424 │
3425 │ 'Response'
3426 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
3427 └
3428 ✓ Response should not contain errors.
3429 ✓ Response should have non-null result field.
3430
3431→ hmy_blockNumber
3432 POST https://api.s1.t.hmny.io/ [200 OK, 191B, 43ms]
3433 ┌
3434 │ 'Request Body'
3435 │ '{"jsonrpc":"2.0","method":"hmy_blockNumber","params":[],"id":1}'
3436 │
3437 │ 'Response'
3438 │ { jsonrpc: '2.0', id: 1, result: '0x1148e8'
3439 │ }
3440 └
3441 ✓ Response should not contain errors.
3442 ✓ Response should have non-null result field.
3443
3444→ net_version
3445 POST https://api.s1.t.hmny.io/ [200 OK, 184B, 44ms]
3446 ┌
3447 │ 'Request Body'
3448 │ '{"jsonrpc":"2.0","method":"net_version","params":[],"id":1}'
3449 │
3450 │ 'Response'
3451 │ { jsonrpc: '2.0', id: 1, result: '1' }
3452 └
3453 ✓ Response should not contain errors.
3454 ✓ Response should have non-null result field.
3455
3456→ hmy_protocolVersion
3457 POST https://api.s1.t.hmny.io/ [200 OK, 186B, 51ms]
3458 ┌
3459 │ 'Request Body'
3460 │ '{\n' +
3461 │ ' "jsonrpc": "2.0",\n' +
3462 │ ' "method": "hmy_protocolVersion",\n' +
3463 │ ' "params": [],\n' +
3464 │ ' "id": 1\n' +
3465 │ '}'
3466 │
3467 │ 'Response'
3468 │ { jsonrpc: '2.0', id: 1, result: '0x1' }
3469 └
3470 ✓ Response should not contain errors.
3471 ✓ Response should have non-null result field.
3472
3473→ blocks_beta
3474 GET http://e1.t.hmny.io:5000/blocks?from=0&to=4 [200 OK, 2.51KB, 364ms]
3475 ┌
3476 │ 'Request URL'
3477 │ {
3478 │ protocol: 'http',
3479 │ port: '5000',
3480 │ path: [ 'blocks' ],
3481 │ host: [ 'e1', 't', 'hmny', 'io' ],
3482 │ query: [ { key: 'from', value: '0' }, { key
3483 │ m: 'to', value: '4' } ],
3484 │ variable: []
3485 │ }
3486 │
3487 │ 'Request Body'
3488 │ ''
3489 │
3490 │ 'Response'
3491 │ [
3492 │ {
3493 │ height: '0',
3494 │ id: '0x1992bd0c90e5e905cfcd5f4ae758dbfaeda5f58da9b6fc93682788641385ffd0',
3495 │ txCount: '0',
3496 │ timestamp: '1561734000000',
3497 │ blockTime: 0,
3498 │ merkleRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421'
3499 │ ,
3500 │ prevBlock: { id: '', height: '' },
3501 │ bytes: '11461',
3502 │ nextBlock: {
3503 │ id: '0x9dada7e446416d7ce847aa075760087ee13731f0f5833a795ff8d1f114bab398',
3504 │ height: '1'
3505 │ },
3506 │ txs: null,
3507 │ signers: [],
3508 │ epoch: 0,
3509 │ extra_data: 'Harmony for One and All. Open Consensus for 10B.'
3510 │ },
3511 │ {
3512 │ height: '1',
3513 │ id: '0x9dada7e446416d7ce847aa075760087ee13731f0f5833a795ff8d1f114bab398',
3514 │ txCount: '0',
3515 │ timestamp: '1561736307000',
3516 │ blockTime: 2307,
3517 │ merkleRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421'
3518 │ ,
3519 │ prevBlock: {
3520 │ id: '0x1992bd0c90e5e905cfcd5f4ae758dbfaeda5f58da9b6fc93682788641385ffd0',
3521 │ height: '0'
3522 │ },
3523 │ bytes: '601',
3524 │ nextBlock: {
3525 │ id: '0x463cb992cee1187d0e0397effccc53db34555aee5fb1121ea3020139ee504de2',
3526 │ height: '2'
3527 │ },
3528 │ txs: null,
3529 │ signers: [],
3530 │ epoch: 0,
3531 │ extra_data: ''
3532 │ },
3533 │ {
3534 │ height: '2',
3535 │ id: '0x463cb992cee1187d0e0397effccc53db34555aee5fb1121ea3020139ee504de2',
3536 │ txCount: '0',
3537 │ timestamp: '1561736315000',
3538 │ blockTime: 8,
3539 │ merkleRoot: '0xe0947652b90bc8209eb0a20d922429694fe349f15dce1bbb7a0cb531e421e09f'
3540 │ ,
3541 │ prevBlock: {
3542 │ id: '0x9dada7e446416d7ce847aa075760087ee13731f0f5833a795ff8d1f114bab398',
3543 │ height: '1'
3544 │ },
3545 │ bytes: '620',
3546 │ nextBlock: {
3547 │ id: '0x51cf8657c43b5991311308c466600b16834af19f59f96f20e2d8dac5b2747d99',
3548 │ height: '3'
3549 │ },
3550 │ txs: null,
3551 │ signers: [],
3552 │ epoch: 0,
3553 │ extra_data: ''
3554 │ },
3555 │ {
3556 │ height: '3',
3557 │ id: '0x51cf8657c43b5991311308c466600b16834af19f59f96f20e2d8dac5b2747d99',
3558 │ txCount: '0',
3559 │ timestamp: '1561736323000',
3560 │ blockTime: 8,
3561 │ merkleRoot: '0x9a418c66b8981b70637162322f20232fc8a51d8fdc6cfe61a17dd406db9d4aeb'
3562 │ ,
3563 │ prevBlock: {
3564 │ id: '0x463cb992cee1187d0e0397effccc53db34555aee5fb1121ea3020139ee504de2',
3565 │ height: '2'
3566 │ },
3567 │ bytes: '620',
3568 │ nextBlock: {
3569 │ id: '0x989501c4907ccbebbc84f64b05960c2aed0975fcbc93b7eacb7d92a7132e1b9f',
3570 │ height: '4'
3571 │ },
3572 │ txs: null,
3573 │ signers: [],
3574 │ epoch: 0,
3575 │ extra_data: ''
3576 │ },
3577 │ {
3578 │ height: '4',
3579 │ id: '0x989501c4907ccbebbc84f64b05960c2aed0975fcbc93b7eacb7d92a7132e1b9f',
3580 │ txCount: '0',
3581 │ timestamp: '1561736331000',
3582 │ blockTime: 8,
3583 │ merkleRoot: '0x9a70fe4992d7ba1631df213ee01ca067657b800702752d859f4ae359c6a1064c'
3584 │ ,
3585 │ prevBlock: {
3586 │ id: '0x51cf8657c43b5991311308c466600b16834af19f59f96f20e2d8dac5b2747d99',
3587 │ height: '3'
3588 │ },
3589 │ bytes: '620',
3590 │ nextBlock: {
3591 │ id: '0xa0507ddd01e520f42bddf499528f626594c29d995109eaddb1261cbac37bea14',
3592 │ height: '5'
3593 │ },
3594 │ txs: null,
3595 │ signers: [],
3596 │ epoch: 0,
3597 │ extra_data: ''
3598 │ }
3599 │ ]
3600 └
3601 ✓ Response should not be an empty array.
3602 ✓ Response array length should be the difference of the search bounds plus one.
3603
3604→ tx_beta
3605 GET http://e1.t.hmny.io:5000/tx?id=0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a [200 OK, 405B, 172ms]
3606 ┌
3607 │ 'Request URL'
3608 │ {
3609 │ protocol: 'http',
3610 │ port: '5000',
3611 │ path: [ 'tx' ],
3612 │ host: [ 'e1', 't', 'hmny', 'io' ],
3613 │ query: [
3614 │ {
3615 │ key: 'id',
3616 │ value: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a'
3617 │ }
3618 │ ],
3619 │ variable: []
3620 │ }
3621 │
3622 │ 'Request Body'
3623 │ ''
3624 │
3625 │ 'Response'
3626 │ {
3627 │ id: '0xf4f31b777de0fadac6fc58bb55bc949da56a71458df247eea11701c354c3f42a',
3628 │ timestamp: '1571868770000',
3629 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
3630 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
3631 │ value: 1000000000,
3632 │ bytes: '103',
3633 │ data: '',
3634 │ gasFee: 0,
3635 │ fromShard: 1,
3636 │ toShard: 0,
3637 │ type: ''
3638 │ }
3639 └
3640 ✓ Response ID should not be empty.
3641 ✓ Response ID should match ID specified in the URL
3642
3643→ address_beta
3644 GET http://e1.t.hmny.io:5000/address?id=one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm&tx_view=ALL&offset=1&page=1 [200 OK, 501B, 172ms]
3645 ┌
3646 │ 'Request URL'
3647 │ {
3648 │ protocol: 'http',
3649 │ port: '5000',
3650 │ path: [ 'address' ],
3651 │ host: [ 'e1', 't', 'hmny', 'io' ],
3652 │ query: [
3653 │ { key: 'id', value: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm'
3654 │ [39m },
3655 │ { key: 'tx_view', value: 'ALL' },
3656 │ { key: 'offset', value: '1' },
3657 │ { key: 'page', value: '1' }
3658 │ ],
3659 │ variable: []
3660 │ }
3661 │
3662 │ 'Request Body'
3663 │ ''
3664 │
3665 │ 'Response'
3666 │ {
3667 │ id: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
3668 │ balance: 249999999990000000000,
3669 │ txs: [
3670 │ {
3671 │ id: '0x6d9e390ed8a899bc0252da5c4cb9c2549d2ac65d5bc12ad5229f6cbe4e86c815',
3672 │ timestamp: '1571865376000',
3673 │ from: 'one1cwv3kk220ujzgvatz0h924t0hr8gkrmjc57jpm',
3674 │ to: 'one1ntgnnl7f7c48cg2hvm09jqgjgspvhef3wpr66r',
3675 │ value: 1000000000,
3676 │ bytes: '103',
3677 │ data: '',
3678 │ gasFee: 0,
3679 │ fromShard: 1,
3680 │ toShard: 0,
3681 │ type: 'SENT'
3682 │ }
3683 │ ]
3684 │ }
3685 └
3686 ✓ Transactions array should be not null.
3687 ✓ Length of transactions array should match offset parameter in url.
3688
3689→ shard_beta
3690 GET http://e1.t.hmny.io:5000/shard [200 OK, 186B, 174ms]
3691 ┌
3692 │ 'Request URL'
3693 │ {
3694 │ protocol: 'http',
3695 │ port: '5000',
3696 │ path: [ 'shard' ],
3697 │ host: [ 'e1', 't', 'hmny', 'io' ],
3698 │ query: [],
3699 │ variable: []
3700 │ }
3701 │
3702 │ 'Request Body'
3703 │ ''
3704 │
3705 │ 'Response'
3706 │ { nodes: [ { id: 'QmRXiaDXh2KZEQeCks6AjSSVM7xnrLLq3FB1U1GiyaG75H' }, {
3707 │ 7mid: '' } ] }
3708 └
3709 ✓ Nodes array should not be empty
3710
3711→ node-count_beta
3712 GET http://e1.t.hmny.io:5000/node-count [200 OK, 109B, 177ms]
3713 ┌
3714 │ 'Request URL'
3715 │ {
3716 │ protocol: 'http',
3717 │ port: '5000',
3718 │ path: [ 'node-count' ],
3719 │ host: [ 'e1', 't', 'hmny', 'io' ],
3720 │ query: [],
3721 │ variable: []
3722 │ }
3723 │
3724 │ 'Request Body'
3725 │ ''
3726 │
3727 │ 'Response'
3728 │ 2
3729 └
3730
3731→ committee_beta
3732 GET http://e1.t.hmny.io:5000/committee?shard_id=1&epoch=0 [200 OK, 22.45KB, 357ms]
3733 ┌
3734 │ 'Request URL'
3735 │ {
3736 │ protocol: 'http',
3737 │ port: '5000',
3738 │ path: [ 'committee' ],
3739 │ host: [ 'e1', 't', 'hmny', 'io' ],
3740 │ query: [ { key: 'shard_id', value: '1' }, { key
3741 │ : 'epoch', value: '0' } ],
3742 │ variable: []
3743 │ }
3744 │
3745 │ 'Request Body'
3746 │ ''
3747 │
3748 │ 'Response'
3749 │ {
3750 │ validators: [
3751 │ {
3752 │ address: 'one1u0kt4ng2x9c0zl0jv57rwj4rvw8fhem2vqksdv',
3753 │ balance: 1.4529414799314382e+23
3754 │ },
3755 │ {
3756 │ address: 'one1ud4zg04zmvw9jc6yw9dpes4vpyqcpuh4wvn9sh',
3757 │ balance: 1.4751573542092976e+23
3758 │ },
3759 │ {
3760 │ address: 'one1ff0e7furnnhhnkwy3x7dz7uex5v2tn9p25hycw',
3761 │ balance: 1.2543326483449315e+23
3762 │ },
3763 │ {
3764 │ address: 'one1z8v8nr29qthr74390rlk57drz0v4zrx79w20ve',
3765 │ balance: 1.4444775864364671e+23
3766 │ },
3767 │ {
3768 │ address: 'one1pyffgruqap6uc5c30yuvv92wutzpx42t6a7n46',
3769 │ balance: 1.364194284270663e+23
3770 │ },
3771 │ {
3772 │ address: 'one1zjy35mzrfczelpz63cnp9uzsh0hdlrdhlap082',
3773 │ balance: 1.484237772223342e+23
3774 │ },
3775 │ {
3776 │ address: 'one1fhwkcx446gxn46gwaz9zpkpddlqs8xwhrqgxad',
3777 │ balance: 1.4566108268345916e+23
3778 │ },
3779 │ {
3780 │ address: 'one1rqc0529g9amtr5jtgpl8f4cdrg9u0qgfv3yq7f',
3781 │ balance: 1.4564417862058806e+23
3782 │ },
3783 │ {
3784 │ address: 'one1r4g3s4x3npuufc40vdd43teu0r3fepzsesnp8k',
3785 │ balance: 1.4162507042741094e+23
3786 │ },
3787 │ {
3788 │ address: 'one1cdfc2sx50f68v3p4e7xjpg5zta9juyhy7shkfc',
3789 │ balance: 1.4766297418252234e+23
3790 │ },
3791 │ {
3792 │ address: 'one1267mpm2mtyrf4nfwuw4f0dspk7mptk4hurr2fc',
3793 │ balance: 9.680365869905111e+22
3794 │ },
3795 │ {
3796 │ address: 'one1x24etmqfva9f2m39hljmlx2sumvh920q7lw5dy',
3797 │ balance: 1.386298595266546e+23
3798 │ },
3799 │ {
3800 │ address: 'one1rn7amacj6qxna4u4jhmnf66644jz4vun5suazk',
3801 │ balance: 1.5047788650654165e+23
3802 │ },
3803 │ {
3804 │ address: 'one168rzn68g9k6lc4kq5gpt233m6t6tmcs66sqy7w',
3805 │ balance: 1.3638986065798956e+23
3806 │ },
3807 │ {
3808 │ address: 'one1369pd4tu0v9vtp5ltscdg2f6q57fnr9d4dhw7a',
3809 │ balance: 1.4530838165255634e+23
3810 │ },
3811 │ {
3812 │ address: 'one138znnmggmg374yqf9k5rgayvfs2u2ggd7tqh88',
3813 │ balance: 1.478957830063198e+23
3814 │ },
3815 │ {
3816 │ address: 'one1f6zyrc967f5069qnw4dd4su0jzxnx7nkddcu3k',
3817 │ balance: 1.4802640460367851e+23
3818 │ },
3819 │ {
3820 │ address: 'one1paflmvga4ymfmkzqzjjdm7pzz6l8tvc52mv7mp',
3821 │ balance: 1.4546740530999364e+23
3822 │ },
3823 │ {
3824 │ address: 'one1dadw84g7vlfxgzddpa2rpne4pvlpfkaknl5rst',
3825 │ balance: 1.0018174378415454e+23
3826 │ },
3827 │ {
3828 │ address: 'one1qz7rtkl7x3rm7ys4e43d6rm0jl8ug35970nvex',
3829 │ balance: 9.621183324459513e+22
3830 │ },
3831 │ {
3832 │ address: 'one1a4y6qz32f6qjp8p5z30xh4fpux9mlxm6uxgesn',
3833 │ balance: 1.5048006106835455e+23
3834 │ },
3835 │ {
3836 │ address: 'one1tkumu4trrrce6v7gll4wm98hw0nurlcmjahtyq',
3837 │ balance: 1.4113285044232791e+23
3838 │ },
3839 │ {
3840 │ address: 'one1yr23uytpqg7y3fxqvhhy4207g8ncadkercfk4d',
3841 │ balance: 1.2305738550387003e+23
3842 │ },
3843 │ {
3844 │ address: 'one1fwg40dmtat2pq30p3a707qz0vu726l6tr4e0lq',
3845 │ balance: 1.2980063189971957e+23
3846 │ },
3847 │ {
3848 │ address: 'one1t5xlzlx5sw9zs0jpzpxstdmv8d4k0dt64v70z5',
3849 │ balance: 1.5134759216261115e+23
3850 │ },
3851 │ {
3852 │ address: 'one1ulf83pajcmmgu8nnzrm46spega9lhrt9jcrsx0',
3853 │ balance: 1.4972232294735857e+23
3854 │ },
3855 │ {
3856 │ address: 'one1zf7efk3w5dae98msd4uvk9vs2er5urvgcsjpwh',
3857 │ balance: 1.4148355268692352e+23
3858 │ },
3859 │ {
3860 │ address: 'one1jfjfp656k9gya46p5wlpfpgck0hduqkw8qph84',
3861 │ balance: 1.5078258744515453e+23
3862 │ },
3863 │ {
3864 │ address: 'one1zg3vxjv5kgv86pvg85vvgk8arxawzhas62ataw',
3865 │ balance: 1.5032764367050909e+23
3866 │ },
3867 │ {
3868 │ address: 'one13vpshpmcfdm07hqzck03wwzfrfepaslyjm3ys5',
3869 │ balance: 1.485137813244386e+23
3870 │ },
3871 │ {
3872 │ address: 'one1t7nrh7s8zhujl0lt3x5d6tdfwekqy4zkeqx770',
3873 │ balance: 1.5142945435285886e+23
3874 │ },
3875 │ {
3876 │ address: 'one1d7gueevf4q3k46qnt0tj8rdca2vmzqu6zkp7wt',
3877 │ balance: 1.4994900998518745e+23
3878 │ },
3879 │ {
3880 │ address: 'one1962lp4zkn9nafqghz2sdezjlwywr4a83c5s37g',
3881 │ balance: 1.482603744942296e+23
3882 │ },
3883 │ {
3884 │ address: 'one1fr3vgh7gss92d4yv8rzkjfpkdsahufhk6mmyaz',
3885 │ balance: 1.4224243634659672e+23
3886 │ },
3887 │ {
3888 │ address: 'one1x897lk8tks3ty5a93f6782jm4d76vp0twxugj3',
3889 │ balance: 1.4936309733527748e+23
3890 │ },
3891 │ {
3892 │ address: 'one164n7p8jhu2s97w4zc9cpx3tvzwta2u7eeqth7m',
3893 │ balance: 1.4578480910560361e+23
3894 │ },
3895 │ {
3896 │ address: 'one18h6suyhvqwr7lcf3s6j3csfgnc5sj2vh252f7p',
3897 │ balance: 1.4578488329483206e+23
3898 │ },
3899 │ {
3900 │ address: 'one14t98zuacc6jgvj2nh06shfgl73l59cmu6pvy45',
3901 │ balance: 1.4315107765221732e+23
3902 │ },
3903 │ {
3904 │ address: 'one19mrkhzvp90ujk9qrufn9xt2lq7hvfhwhj958y0',
3905 │ balance: 1.3796864874488653e+23
3906 │ },
3907 │ {
3908 │ address: 'one10qynxfuq4cr9pfmwaf7aej89p3q943kymd23j9',
3909 │ balance: 1.4628436150336525e+23
3910 │ },
3911 │ {
3912 │ address: 'one1ku9r7hgzxqdeyeagtezrge0mdw96w6zqd9clml',
3913 │ balance: 1.4961415396438805e+23
3914 │ },
3915 │ {
3916 │ address: 'one1j2z57yrqazy3nnuta20daqrced0gfx48cqlhdw',
3917 │ balance: 1.0259804634083335e+23
3918 │ },
3919 │ {
3920 │ address: 'one1274jyz5qspmjuy8wwrh4s4lga6spumwlul6ufk',
3921 │ balance: 1.5068424564729224e+23
3922 │ },
3923 │ {
3924 │ address: 'one1kjw36799v7jnggvy63kv3x6ttfek047qwplltl',
3925 │ balance: 1.4520008565593686e+23
3926 │ },
3927 │ {
3928 │ address: 'one132yeuy3js36zqhupv37ap3m2mj073qdgrafkxh',
3929 │ balance: 1.4912164810320775e+23
3930 │ },
3931 │ {
3932 │ address: 'one1s568nnxwqqjxypx53edk8vg8z29p605qu0j90p',
3933 │ balance: 1.4266635508357001e+23
3934 │ },
3935 │ {
3936 │ address: 'one1qje5hy38mq87v6gvjfwgdd77m3hcex32f92su7',
3937 │ balance: 7.1691012215564885e+22
3938 │ },
3939 │ {
3940 │ address: 'one1zu69u7qt5uquh2mgl2pjrspvv4rsn7qnsq7wdp',
3941 │ balance: 1.4899104157380497e+23
3942 │ },
3943 │ {
3944 │ address: 'one1v80qhza089aege2ngxv8xnjv36ga4sxwhajau0',
3945 │ balance: 1.4605305789249821e+23
3946 │ },
3947 │ {
3948 │ address: 'one1zjmecl2we3vtkf9g2a36n2793y8sp4s7mzxkn9',
3949 │ balance: 1.4870595811127189e+23
3950 │ },
3951 │ {
3952 │ address: 'one1ql3w33ys0u80r938y66sndl9z7upkde5m99agx',
3953 │ balance: 1.4480358551757664e+23
3954 │ },
3955 │ {
3956 │ address: 'one1dy6d7tyrxjdg4z28wkq8ac7lqkq8yn2tfjqwrd',
3957 │ balance: 1.4513797357467671e+23
3958 │ },
3959 │ {
3960 │ address: 'one17x66fkapn4z24tw2f8cpyvnc4s8fm5kve3zm2m',
3961 │ balance: 7.924052976138784e+22
3962 │ },
3963 │ {
3964 │ address: 'one1kxw3ul6vpq4nup6as5nkemxhjakvlrzg069spp',
3965 │ balance: 1.3992325624409235e+23
3966 │ },
3967 │ {
3968 │ address: 'one1yr623algghp3gm6vjrg9vfh9mtmqkfc5e9zply',
3969 │ balance: 1.3008865762840953e+23
3970 │ },
3971 │ {
3972 │ address: 'one14z6m6u4gp6xaurgrnnmxx6h7lacz3458sssnkm',
3973 │ balance: 1.500318278238838e+23
3974 │ },
3975 │ {
3976 │ address: 'one1f0qjrnwdg70erc4nwufapcs834aggq2qclrjqr',
3977 │ balance: 1.4274716364411172e+23
3978 │ },
3979 │ {
3980 │ address: 'one1t488r3xlwunzxstpst3d0a6qh6xrzuykk9c8hx',
3981 │ balance: 1.513551232775756e+23
3982 │ },
3983 │ {
3984 │ address: 'one1xklewq75gd387vqlld6qalcn9x8xyx9p5r3s7h',
3985 │ balance: 1.504461656210375e+23
3986 │ },
3987 │ {
3988 │ address: 'one1tz49z0wk3yta2tu60twac7q8x5gj8dl0qqfl4x',
3989 │ balance: 1.3835493204197057e+23
3990 │ },
3991 │ {
3992 │ address: 'one1fu2mda5qe5rc0vmcamgmwpwe9uh375kr5wtjm0',
3993 │ balance: 1.44152520886364e+23
3994 │ },
3995 │ {
3996 │ address: 'one10ucm2t8zpemv6r6v0deka86ztvzvxld5qcuu2n',
3997 │ balance: 1.5001262733576884e+23
3998 │ },
3999 │ {
4000 │ address: 'one1mag8nkvdaau5epkwrks0zedsnxatdgq4equ7sr',
4001 │ balance: 1.4670266946221693e+23
4002 │ },
4003 │ {
4004 │ address: 'one1sx0rs80aqzwkupclgssl5vhhf9nejpyg9k2g92',
4005 │ balance: 1.4504067594175938e+23
4006 │ },
4007 │ {
4008 │ address: 'one1vz5d0gutlv6a42tsg8luf9e9aghx65aqa08zfa',
4009 │ balance: 1.425560190940112e+23
4010 │ },
4011 │ {
4012 │ address: 'one1u27tstxep9ntkaz92y92mxauy06y2kv7lp0ve4',
4013 │ balance: 1.4108942331326764e+23
4014 │ },
4015 │ {
4016 │ address: 'one1p720ps3pl5y9jg4tk2peehjhapdfyn9z6pf9rn',
4017 │ balance: 1.4762008963784355e+23
4018 │ },
4019 │ {
4020 │ address: 'one1z4gpwvx68ct5z3n6xffj8zhw504kvyucs26wa3',
4021 │ balance: 1.4549692701173895e+23
4022 │ },
4023 │ {
4024 │ address: 'one1xevk8k8rnlhxwkh5xf2ghk92tr6pans0xvk3re',
4025 │ balance: 1.5096842344138337e+23
4026 │ },
4027 │ {
4028 │ address: 'one1rjl48v6v4x3ae7j04qpw46frvjlavxyqnp486s',
4029 │ balance: 1.4967830105331164e+23
4030 │ },
4031 │ {
4032 │ address: 'one17h885c4jrxhp97k5vrvp09trt5g9ajg23fnvf5',
4033 │ balance: 8.297737623387544e+22
4034 │ },
4035 │ {
4036 │ address: 'one1nzxn9m4ull3nvaer2yvvhhk086sqrn6emqwkge',
4037 │ balance: 1.5046702774555834e+23
4038 │ },
4039 │ {
4040 │ address: 'one19khjzk9230e3c8rcshzuzt7emw94sh9902kl5m',
4041 │ balance: 1.4911962835288585e+23
4042 │ },
4043 │ {
4044 │ address: 'one19yhxw8lvnlwv2anuqt02pu4twswespstver580',
4045 │ balance: 9.25902186598265e+22
4046 │ },
4047 │ {
4048 │ address: 'one1hh358aymszej4gxftkq96f8yh5hlpaflvq4rmn',
4049 │ balance: 1.4588032433535394e+23
4050 │ },
4051 │ {
4052 │ address: 'one1e4t557ajgulyz328cdezladvctrwk80srrursl',
4053 │ balance: 1.4783854967218117e+23
4054 │ },
4055 │ {
4056 │ address: 'one1f0pzlm8x56ps2hpe93mphva5fx2u59sp2v2qaa',
4057 │ balance: 1.2434438337136933e+23
4058 │ },
4059 │ {
4060 │ address: 'one15yfz8y6ha0xzj4y7668k4nn7frnyz7kqsnzmzm',
4061 │ balance: 1.3679697254372418e+23
4062 │ },
4063 │ {
4064 │ address: 'one162qad6qul594runfeuk7t3vdayvkexnvzph45m',
4065 │ balance: 1.4994158082351424e+23
4066 │ },
4067 │ {
4068 │ address: 'one1ehes8t79lrc7sqagsjrv28e29xlzkmelax7zkt',
4069 │ balance: 1.2384948341926845e+23
4070 │ },
4071 │ {
4072 │ address: 'one1cfx2x23um3w2x2rvqcue9vem0yy4p0h5vyzuua',
4073 │ balance: 1.4345170940925055e+23
4074 │ },
4075 │ {
4076 │ address: 'one13fu462suvr2x93dadtsxers9hdq4a89s4hryy0',
4077 │ balance: 1.33415701840938e+23
4078 │ },
4079 │ {
4080 │ address: 'one17qzuw6l7m8tw8k902m05egddcuajcqkd2ge4xh',
4081 │ balance: 1.4260470925089465e+23
4082 │ },
4083 │ {
4084 │ address: 'one15qj8q6ehpalzpdglem5pshc5nns0fpjn52y7fv',
4085 │ balance: 1.5118756178349133e+23
4086 │ },
4087 │ {
4088 │ address: 'one15ewlqsk0gt4ekwy9fdr48v7nph5r3dxekyl7ek',
4089 │ balance: 1.3543346665160362e+23
4090 │ },
4091 │ {
4092 │ address: 'one1lae40kufwqh9pqag4a7ta33zaez0egqzgrufhp',
4093 │ balance: 1.514363028150741e+23
4094 │ },
4095 │ {
4096 │ address: 'one1k6asaq4dsz5t7us2s89l7jxxe627c6vfryld83',
4097 │ balance: 1.4985774814239906e+23
4098 │ },
4099 │ {
4100 │ address: 'one1lk46twyvhk7ck30994vnwflwl59tk5ksdxulzy',
4101 │ balance: 9.246625143132341e+22
4102 │ },
4103 │ {
4104 │ address: 'one1yy7pluu0dl263gey5n2yvwqdf6ka0aq2gt85zw',
4105 │ balance: 1.4364688903051413e+23
4106 │ },
4107 │ {
4108 │ address: 'one1rgylqupcp9u2k973lh6g6ge7gafemvjyqsgdtv',
4109 │ balance: 1.4481350801500233e+23
4110 │ },
4111 │ {
4112 │ address: 'one1w42wl0gzee5vttlnadktzfyae6gq9drgjys7a6',
4113 │ balance: 1.466192983566524e+23
4114 │ },
4115 │ {
4116 │ address: 'one1sjj2kp6u0g68zwxj4p0svfzxlyk5fw6v8l0ql7',
4117 │ balance: 1.1262259694708194e+23
4118 │ },
4119 │ {
4120 │ address: 'one1nhzm46un3ch7ggkvle4qff24suqteg9sdcph8l',
4121 │ balance: 1.4617504189560453e+23
4122 │ },
4123 │ {
4124 │ address: 'one1tj9mla5lrnycf5wfp4dcqpjtr7c3nknj96jc5s',
4125 │ balance: 1.481228363705846e+23
4126 │ },
4127 │ {
4128 │ address: 'one1u2u0ws5xa3pt9ka7je4camwurkvzg85r9hn46a',
4129 │ balance: 1.4901404588882324e+23
4130 │ },
4131 │ {
4132 │ address: 'one1wgx5yerhgzjag6x8qlwqfwarzwf4649wwsvwpz',
4133 │ balance: 1.2174922528245497e+23
4134 │ },
4135 │ {
4136 │ address: 'one1mx4jcuy2tnlj2mm5m5kt4yzr33ynuhl3svays4',
4137 │ balance: 1.3031452519202836e+23
4138 │ },
4139 │ {
4140 │ address: 'one1ufga9u2ylnvvm8s9c0wayenzja6qe6nhv005me',
4141 │ balance: 9.80267027019824e+22
4142 │ },
4143 │ {
4144 │ address: 'one1d0wmzfvqs5y9a9jz4fh2v9xwmndenlxhyrcg22',
4145 │ balance: 1.3473866624449819e+23
4146 │ },
4147 │ {
4148 │ address: 'one1lymxtrk82tfa2g3nrxzgngfd62y8pqvvhav30y',
4149 │ balance: 1.4941132273807897e+23
4150 │ },
4151 │ ... 150 more items
4152 │ ]
4153 │ }
4154 └
4155 ✓ Validators array should not be null.
4156 ✓ Response should not be empty
4157
4158┌─────────────────────────┬───────────────────┬───────────────────┐
4159│ │ executed │ failed │
4160├─────────────────────────┼───────────────────┼───────────────────┤
4161│ iterations │ 1 │ 0 │
4162├─────────────────────────┼───────────────────┼───────────────────┤
4163│ requests │ 34 │ 0 │
4164├─────────────────────────┼───────────────────┼───────────────────┤
4165│ test-scripts │ 68 │ 0 │
4166├─────────────────────────┼───────────────────┼───────────────────┤
4167│ prerequest-scripts │ 35 │ 0 │
4168├─────────────────────────┼───────────────────┼───────────────────┤
4169│ assertions │ 65 │ 0 │
4170├─────────────────────────┴───────────────────┴───────────────────┤
4171│ total run duration: 34.2s │
4172├─────────────────────────────────────────────────────────────────┤
4173│ total data received: 34.04KB (approx) │
4174├─────────────────────────────────────────────────────────────────┤
4175│ average response time: 92ms [min: 38ms, max: 364ms, s.d.: 87ms] │
4176└─────────────────────────────────────────────────────────────────┘
4177
4178 Succeeded in 1 attempt(s)
4179
4180Removing imported keys from CLI's keystore...