Skip to content

Commit 47a1177

Browse files
committed
Updates
1 parent d942f88 commit 47a1177

15 files changed

+143
-15
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ <h4 class="modal-title">Search results</h4>
197197
<span class="jsdoc-message">
198198
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
199199

200-
on 2016-10-10T22:43:56+02:00
200+
on 2016-10-13T21:55:08+02:00
201201

202202
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
203203
</span>

module-etherscan_api-account.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,12 @@ <h5>Returns:</h5>
304304

305305

306306

307+
<h5>Example</h5>
308+
309+
<pre class="sunlight-highlight-javascript">var balance = api.account.balance(&#x27;0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&#x27;);</pre>
310+
311+
312+
307313
</dd>
308314

309315

@@ -432,6 +438,12 @@ <h5>Parameters:</h5>
432438

433439

434440

441+
<h5>Example</h5>
442+
443+
<pre class="sunlight-highlight-javascript">var txlist = api.account.getminedblocks(&#x27;0x9dd134d14d1e65f84b706d6f205cd5b1cd03a46b&#x27;);</pre>
444+
445+
446+
435447
</dd>
436448

437449

@@ -628,6 +640,14 @@ <h5>Returns:</h5>
628640

629641

630642

643+
<h5>Example</h5>
644+
645+
<pre class="sunlight-highlight-javascript">var supply = api.account.tokenbalance(
646+
&#x27;0x0a869d79a7052c7f1b55a8ebabbea3420f0d1e13&#x27;,
647+
&#x27;TheDAO&#x27;);</pre>
648+
649+
650+
631651
</dd>
632652

633653

@@ -848,6 +868,12 @@ <h5>Returns:</h5>
848868

849869

850870

871+
<h5>Example</h5>
872+
873+
<pre class="sunlight-highlight-javascript">var txlist = api.account.txlist(&#x27;0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&#x27;, 1, &#x27;latest&#x27;, &#x27;asc&#x27;);</pre>
874+
875+
876+
851877
</dd>
852878

853879

@@ -996,6 +1022,12 @@ <h5>Returns:</h5>
9961022

9971023

9981024

1025+
<h5>Example</h5>
1026+
1027+
<pre class="sunlight-highlight-javascript">var txlist = api.account.txlistinternal(&#x27;0x40eb908387324f2b575b4879cd9d7188f69c8fc9d87c901b9e2daaea4b442170&#x27;);</pre>
1028+
1029+
1030+
9991031
</dd>
10001032

10011033
</dl>
@@ -1054,7 +1086,7 @@ <h4 class="modal-title">Search results</h4>
10541086
<span class="jsdoc-message">
10551087
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
10561088

1057-
on 2016-10-10T22:43:56+02:00
1089+
on 2016-10-13T21:55:08+02:00
10581090

10591091
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
10601092
</span>

module-etherscan_api-block.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ <h4 class="modal-title">Search results</h4>
386386
<span class="jsdoc-message">
387387
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
388388

389-
on 2016-10-10T22:43:56+02:00
389+
on 2016-10-13T21:55:08+02:00
390390

391391
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
392392
</span>

module-etherscan_api-contract.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,16 @@ <h5>Returns:</h5>
304304

305305

306306

307+
<h5>Example</h5>
308+
309+
<pre class="sunlight-highlight-javascript">api.contract
310+
.getabi(&#x27;0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359&#x27;)
311+
.at(&#x27;0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359&#x27;)
312+
.memberId(&#x27;0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359&#x27;)
313+
.then(console.log)</pre>
314+
315+
316+
307317
</dd>
308318

309319
</dl>
@@ -362,7 +372,7 @@ <h4 class="modal-title">Search results</h4>
362372
<span class="jsdoc-message">
363373
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
364374

365-
on 2016-10-10T22:43:56+02:00
375+
on 2016-10-13T21:55:08+02:00
366376

367377
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
368378
</span>

module-etherscan_api-log.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ <h4 class="modal-title">Search results</h4>
292292
<span class="jsdoc-message">
293293
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
294294

295-
on 2016-10-10T22:43:56+02:00
295+
on 2016-10-13T21:55:08+02:00
296296

297297
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
298298
</span>

module-etherscan_api-proxy.html

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,12 @@ <h5>Returns:</h5>
254254

255255

256256

257+
<h5>Example</h5>
258+
259+
<pre class="sunlight-highlight-javascript">var block = api.proxy.eth_blockNumber();</pre>
260+
261+
262+
257263
</dd>
258264

259265

@@ -426,6 +432,12 @@ <h5>Returns:</h5>
426432

427433

428434

435+
<h5>Example</h5>
436+
437+
<pre class="sunlight-highlight-javascript">var res = api.proxy.eth_call(&#x27;0xAEEF46DB4855E25702F8237E8f403FddcaF931C0&#x27;, &#x27;0x70a08231000000000000000000000000e16359506c028e51f16be38986ec5746251e9724&#x27;, &#x27;latest&#x27;);</pre>
438+
439+
440+
429441
</dd>
430442

431443

@@ -661,6 +673,7 @@ <h4 class="name" id=".eth_gasPrice"><span class="type-signature">&lt;static> </s
661673

662674
<div class="description">
663675
Returns the current price per gas in wei.
676+
var gasprice = api.proxy.eth_gasPrice();
664677
</div>
665678

666679

@@ -892,6 +905,12 @@ <h5>Returns:</h5>
892905

893906

894907

908+
<h5>Example</h5>
909+
910+
<pre class="sunlight-highlight-javascript">var blockNumber = api.proxy.eth_getBlockByNumber(&#x27;0x10d4f&#x27;);</pre>
911+
912+
913+
895914
</dd>
896915

897916

@@ -1040,6 +1059,12 @@ <h5>Returns:</h5>
10401059

10411060

10421061

1062+
<h5>Example</h5>
1063+
1064+
<pre class="sunlight-highlight-javascript">var res = api.proxy.eth_getBlockTransactionCountByNumber(&#x27;0x10FB78&#x27;);</pre>
1065+
1066+
1067+
10431068
</dd>
10441069

10451070

@@ -1212,6 +1237,12 @@ <h5>Returns:</h5>
12121237

12131238

12141239

1240+
<h5>Example</h5>
1241+
1242+
<pre class="sunlight-highlight-javascript">var res = api.proxy.eth_getCode(&#x27;0xf75e354c5edc8efed9b59ee9f67a80845ade7d0c&#x27;, &#x27;latest&#x27;);</pre>
1243+
1244+
1245+
12151246
</dd>
12161247

12171248

@@ -1408,6 +1439,12 @@ <h5>Returns:</h5>
14081439

14091440

14101441

1442+
<h5>Example</h5>
1443+
1444+
<pre class="sunlight-highlight-javascript">var res = api.proxy.eth_getStorageAt(&#x27;0x6e03d9cce9d60f3e9f2597e13cd4c54c55330cfd&#x27;, &#x27;0x0&#x27;, &#x27;latest&#x27;);</pre>
1445+
1446+
1447+
14111448
</dd>
14121449

14131450

@@ -1580,6 +1617,12 @@ <h5>Returns:</h5>
15801617

15811618

15821619

1620+
<h5>Example</h5>
1621+
1622+
<pre class="sunlight-highlight-javascript">var res = api.proxy.eth_getTransactionByBlockNumberAndIndex(&#x27;0x10d4f&#x27;, &#x27;0x0&#x27;);</pre>
1623+
1624+
1625+
15831626
</dd>
15841627

15851628

@@ -1728,6 +1771,12 @@ <h5>Returns:</h5>
17281771

17291772

17301773

1774+
<h5>Example</h5>
1775+
1776+
<pre class="sunlight-highlight-javascript">var res = api.proxy.eth_getTransactionByHash(&#x27;0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1&#x27;);</pre>
1777+
1778+
1779+
17311780
</dd>
17321781

17331782

@@ -1876,6 +1925,12 @@ <h5>Returns:</h5>
18761925

18771926

18781927

1928+
<h5>Example</h5>
1929+
1930+
<pre class="sunlight-highlight-javascript">var res = api.proxy.eth_getTransactionCount(&#x27;0x2910543af39aba0cd09dbb2d50200b3e800a63d2&#x27;, &#x27;latest&#x27;);</pre>
1931+
1932+
1933+
18791934
</dd>
18801935

18811936

@@ -2024,6 +2079,12 @@ <h5>Returns:</h5>
20242079

20252080

20262081

2082+
<h5>Example</h5>
2083+
2084+
<pre class="sunlight-highlight-javascript">var ret = api.proxy.eth_getTransactionReceipt(&#x27;0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1&#x27;);</pre>
2085+
2086+
2087+
20272088
</dd>
20282089

20292090

@@ -2196,6 +2257,12 @@ <h5>Returns:</h5>
21962257

21972258

21982259

2260+
<h5>Example</h5>
2261+
2262+
<pre class="sunlight-highlight-javascript">var res = api.proxy.eth_getUncleByBlockNumberAndIndex(&#x27;0x210A9B&#x27;, &#x27;0x0&#x27;);</pre>
2263+
2264+
2265+
21992266
</dd>
22002267

22012268

@@ -2344,6 +2411,12 @@ <h5>Returns:</h5>
23442411

23452412

23462413

2414+
<h5>Example</h5>
2415+
2416+
<pre class="sunlight-highlight-javascript">var res = api.proxy.eth_sendRawTransaction(&#x27;0xf904808000831cfde080&#x27;);</pre>
2417+
2418+
2419+
23472420
</dd>
23482421

23492422
</dl>
@@ -2402,7 +2475,7 @@ <h4 class="modal-title">Search results</h4>
24022475
<span class="jsdoc-message">
24032476
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
24042477

2405-
on 2016-10-10T22:43:56+02:00
2478+
on 2016-10-13T21:55:08+02:00
24062479

24072480
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
24082481
</span>

module-etherscan_api-stats.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,12 @@ <h5>Returns:</h5>
254254

255255

256256

257+
<h5>Example</h5>
258+
259+
<pre class="sunlight-highlight-javascript">var price = api.stats.ethprice();</pre>
260+
261+
262+
257263
</dd>
258264

259265

@@ -269,6 +275,7 @@ <h4 class="name" id=".ethsupply"><span class="type-signature">&lt;static> </span
269275

270276
<div class="description">
271277
Returns total supply of ether
278+
var supply = api.stats.ethsupply();
272279
</div>
273280

274281

@@ -524,6 +531,12 @@ <h5>Returns:</h5>
524531

525532

526533

534+
<h5>Example</h5>
535+
536+
<pre class="sunlight-highlight-javascript">var supply = api.stats.tokensupply(null, &#x27;0x57d90b64a1a57749b0f932f1a3395792e12e7055&#x27;);</pre>
537+
538+
539+
527540
</dd>
528541

529542
</dl>
@@ -582,7 +595,7 @@ <h4 class="modal-title">Search results</h4>
582595
<span class="jsdoc-message">
583596
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
584597

585-
on 2016-10-10T22:43:56+02:00
598+
on 2016-10-13T21:55:08+02:00
586599

587600
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
588601
</span>

module-etherscan_api-transaction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ <h4 class="modal-title">Search results</h4>
362362
<span class="jsdoc-message">
363363
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
364364

365-
on 2016-10-10T22:43:57+02:00
365+
on 2016-10-13T21:55:08+02:00
366366

367367
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
368368
</span>

module-etherscan_api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ <h4 class="modal-title">Search results</h4>
228228
<span class="jsdoc-message">
229229
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
230230

231-
on 2016-10-10T22:43:56+02:00
231+
on 2016-10-13T21:55:08+02:00
232232

233233
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
234234
</span>

modules.list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ <h4 class="modal-title">Search results</h4>
233233
<span class="jsdoc-message">
234234
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
235235

236-
on 2016-10-10T22:43:56+02:00
236+
on 2016-10-13T21:55:07+02:00
237237

238238
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
239239
</span>

0 commit comments

Comments
 (0)