etherscanio 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/doc/Etherscanio.html +1 -1
- data/doc/Etherscanio/Api.html +1 -1
- data/doc/Etherscanio/Call.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/etherscanio.gemspec +2 -2
- data/generate-and-push-docs.sh +2 -0
- data/lib/etherscanio/api.rb +1 -1
- data/spec/api/account/getminedblocks_spec.rb +3 -3
- data/spec/fixtures/proxy/eth_blocknumber.json +1 -0
- data/spec/fixtures/proxy/eth_call.json +1 -0
- data/spec/fixtures/proxy/eth_estimategas.json +1 -0
- data/spec/fixtures/proxy/eth_gasprice.json +1 -0
- data/spec/fixtures/proxy/eth_getblockbynumber.json +1 -0
- data/spec/fixtures/proxy/eth_getblocktransactioncountbynumber.json +1 -0
- data/spec/fixtures/proxy/eth_getcode.json +1 -0
- data/spec/fixtures/proxy/eth_getstorageat.json +1 -0
- data/spec/fixtures/proxy/eth_gettransactionbyhash.json +1 -0
- data/spec/fixtures/proxy/eth_gettransactionbynumberandindex.json +1 -0
- data/spec/fixtures/proxy/eth_gettransactioncount.json +1 -0
- data/spec/fixtures/proxy/eth_gettransactionreceipt.json +1 -0
- data/spec/fixtures/proxy/eth_getunclebyblockbynumberandindex.json +1 -0
- data/spec/fixtures/proxy/eth_sendrawtransaction.json +1 -0
- data/spec/fixtures/stats/ethprice.json +1 -0
- data/spec/fixtures/stats/ethsupply.json +1 -0
- data/spec/fixtures/stats/tokensupply.json +1 -0
- data/spec/fixtures/token/tokensupply.json +1 -0
- metadata +39 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d18658d18764bf94f775f773473b3829ead2ed0
|
4
|
+
data.tar.gz: 5e4105c6cb32c31418e3a82b6bb5704133ca85ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e78210e03386e316959507cced9f7f57eead46b6c47c864d3a00bc359cf399542b07c12ccb3d9c6df2915d281082bdbbf98b8c9724623ba8f88d9ba952d9e967
|
7
|
+
data.tar.gz: ef6783b444c2041d084c1937d15d905698b59b2a8ca219f52dabc1bc7c1739bfd39c2cc758c465576bc5ee1bb8446d5d40e9e0f0f71c65bf33c80ae06f18c8af
|
data/README.md
CHANGED
@@ -3,3 +3,15 @@
|
|
3
3
|
Access to the API of etherscan.io and the ethereum blockchain
|
4
4
|
|
5
5
|
[![Build Status](https://travis-ci.org/sebs/etherscanio-rb.svg?branch=master)](https://travis-ci.org/sebs/etherscanio-rb)
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
etherscanio-rb is published to rubygems.
|
10
|
+
|
11
|
+
Dpl requires ruby with a version greater than 1.9.3
|
12
|
+
* To install: gem install etherscanio
|
13
|
+
|
14
|
+
|
15
|
+
## Work in Progress
|
16
|
+
|
17
|
+
Neither is is this stable, nor secure. Although all releases will be going through rubygems.
|
data/doc/Etherscanio.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on Fri Mar 31 16:
|
110
|
+
Generated on Fri Mar 31 16:45:52 2017 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
112
|
0.9.8 (ruby-2.3.1).
|
113
113
|
</div>
|
data/doc/Etherscanio/Api.html
CHANGED
@@ -677,7 +677,7 @@
|
|
677
677
|
</div>
|
678
678
|
|
679
679
|
<div id="footer">
|
680
|
-
Generated on Fri Mar 31 16:
|
680
|
+
Generated on Fri Mar 31 16:45:52 2017 by
|
681
681
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
682
682
|
0.9.8 (ruby-2.3.1).
|
683
683
|
</div>
|
data/doc/Etherscanio/Call.html
CHANGED
@@ -1257,7 +1257,7 @@
|
|
1257
1257
|
</div>
|
1258
1258
|
|
1259
1259
|
<div id="footer">
|
1260
|
-
Generated on Fri Mar 31 16:
|
1260
|
+
Generated on Fri Mar 31 16:45:52 2017 by
|
1261
1261
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1262
1262
|
0.9.8 (ruby-2.3.1).
|
1263
1263
|
</div>
|
data/doc/_index.html
CHANGED
@@ -130,7 +130,7 @@
|
|
130
130
|
</div>
|
131
131
|
|
132
132
|
<div id="footer">
|
133
|
-
Generated on Fri Mar 31 16:
|
133
|
+
Generated on Fri Mar 31 16:45:52 2017 by
|
134
134
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
135
135
|
0.9.8 (ruby-2.3.1).
|
136
136
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -67,7 +67,7 @@ src="https://travis-ci.org/sebs/etherscanio-rb.svg?branch=master"></a></p>
|
|
67
67
|
</div></div>
|
68
68
|
|
69
69
|
<div id="footer">
|
70
|
-
Generated on Fri Mar 31 16:
|
70
|
+
Generated on Fri Mar 31 16:45:52 2017 by
|
71
71
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
72
72
|
0.9.8 (ruby-2.3.1).
|
73
73
|
</div>
|
data/doc/index.html
CHANGED
@@ -67,7 +67,7 @@ src="https://travis-ci.org/sebs/etherscanio-rb.svg?branch=master"></a></p>
|
|
67
67
|
</div></div>
|
68
68
|
|
69
69
|
<div id="footer">
|
70
|
-
Generated on Fri Mar 31 16:
|
70
|
+
Generated on Fri Mar 31 16:45:52 2017 by
|
71
71
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
72
72
|
0.9.8 (ruby-2.3.1).
|
73
73
|
</div>
|
@@ -100,7 +100,7 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on Fri Mar 31 16:
|
103
|
+
Generated on Fri Mar 31 16:45:52 2017 by
|
104
104
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
105
|
0.9.8 (ruby-2.3.1).
|
106
106
|
</div>
|
data/etherscanio.gemspec
CHANGED
@@ -5,10 +5,10 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'etherscanio'
|
8
|
-
spec.version = '0.0.
|
8
|
+
spec.version = '0.0.5'
|
9
9
|
spec.authors = ['Sebastian Schürmann']
|
10
10
|
spec.email = ['sebs@2xs.org']
|
11
|
-
spec.description = '3rd party
|
11
|
+
spec.description = '3rd party using to the ethereumblockchain API at etherscan.io'
|
12
12
|
spec.summary = ''
|
13
13
|
spec.homepage = 'https://github.com/sebs/etherscanio-rb'
|
14
14
|
spec.license = 'MIT'
|
data/lib/etherscanio/api.rb
CHANGED
@@ -33,7 +33,7 @@ module Etherscanio
|
|
33
33
|
call.fetch
|
34
34
|
end
|
35
35
|
|
36
|
-
def
|
36
|
+
def account_getminedblocks(address, blocktype, page = nil, offset = nil)
|
37
37
|
call = Etherscanio::Call.new('account', 'getminedblocks')
|
38
38
|
call.page = page
|
39
39
|
call.offset = offset
|
@@ -1,8 +1,8 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Etherscanio::Api do
|
4
|
-
describe '
|
5
|
-
subject { Etherscanio::Api.new(apikey).
|
4
|
+
describe 'account_getminedblocks' do
|
5
|
+
subject { Etherscanio::Api.new(apikey).account_getminedblocks(address, blocktype) }
|
6
6
|
|
7
7
|
context 'no paging' do
|
8
8
|
let(:apikey) { 'YourApiKeyToken' }
|
@@ -12,7 +12,7 @@ describe Etherscanio::Api do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
context 'paging' do
|
15
|
-
subject { Etherscanio::Api.new(apikey).
|
15
|
+
subject { Etherscanio::Api.new(apikey).account_getminedblocks(address, blocktype, page, offset) }
|
16
16
|
let(:apikey) { 'YourApiKeyToken' }
|
17
17
|
let(:address) { '0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae' }
|
18
18
|
let(:page) { 1 }
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":"0x34adbe","id":83}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":"0x00000000000000000000000000000000000000000000000000601d8888141c00","id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","error":{"code":-32015,"message":"Transaction execution error.","data":"Internal(\"Requires higher than upper limit of 1000000000000\")"},"id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":"0x4a817c800","id":73}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":{"author":"0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13","difficulty":"0x1d95715bd14","extraData":"0x","gasLimit":"0x2fefd8","gasUsed":"0x5208","hash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","miner":"0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13","mixHash":"0x13dd2c8aec729f75aebcd79a916ecb0f7edc6493efcc6a4da8d7b0ab3ee88444","nonce":"0xc60a782e2e69ce22","number":"0x10d4f","parentHash":"0xf8d01370e6e274f8188954fbee435b40c35b2ad3d4ab671f6d086cd559e48f04","receiptsRoot":"0x0c44b7ed0fefb613ec256341aa0ffdb643e869e3a0ebc8f58e36b4e47efedd33","sealFields":["0xa013dd2c8aec729f75aebcd79a916ecb0f7edc6493efcc6a4da8d7b0ab3ee88444","0x88c60a782e2e69ce22"],"sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x275","stateRoot":"0xd64a0f63e2c7f541e6e6f8548a10a5c4e49fda7ac1aa80f9dddef648c7b9e25f","timestamp":"0x55c9ea07","totalDifficulty":"0x120d56f6821b170","transactions":[{"blockHash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","blockNumber":"0x10d4f","condition":null,"creates":null,"from":"0x4458f86353b4740fe9e09071c23a7437640063c9","gas":"0x5208","gasPrice":"0xba43b7400","hash":"0xa442249820de6be754da81eafbd44a865773e4b23d7c0522d31fd03977823008","input":"0x","networkId":null,"nonce":"0x1","publicKey":"0xcc1423c5c4831fec83d561a9c8508e1f9a33ae5f80648136e572e15c0bdb62abbf94fe3be5db1e9e19634b4ef047369350f044c531adf44b348e8ddcc913944a","r":"0x2c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616","raw":"0xf86b01850ba43b740082520894bf3403210f9802205f426759947a80a9fda71b1e87aa9f075c200000801ba02c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616a02946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","s":"0x2946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","standardV":"0x0","to":"0xbf3403210f9802205f426759947a80a9fda71b1e","transactionIndex":"0x0","v":"0x1b","value":"0xaa9f075c200000"}],"transactionsRoot":"0x4a5b78c13d11559c9541576834b5172fe8b18507c0f9f76454fcdddedd8dff7a","uncles":[]},"id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":"0x3","id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":"0x00000000000000000000000000000000000000000000000000601d8888141c00","id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":"0x0000000000000000000000003d0768da09ce77d25e2d998e6a7b6ed4b9116c2d","id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":{"blockHash":"0xf64a12502afc36db3d29931a2148e5d6ddaa883a2a3c968ca2fb293fa9258c68","blockNumber":"0x70839","condition":null,"creates":null,"from":"0xc80fb22930b303b55df9b89901889126400add38","gas":"0x30d40","gasPrice":"0xba43b7400","hash":"0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1","input":"0xfc36e15b0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a4861636b65726e65777300000000000000000000000000000000000000000000","networkId":null,"nonce":"0xa7","publicKey":"0xd6fa924758c881a8f5e97c34780cad4f0f0fc27def3a46b3363bc35d6c0414b2707be2b7ebfabf10d6051239614cbed99cff8863cca610c8245801583db1fb39","r":"0xe7ccdba116aa95ae8d9bdd02f619a0cdfc1f60c5740b3899865822a80cd70218","raw":"0xf8cb81a7850ba43b740083030d409403fca6077d38dd99d0ce14ba32078bd2cda72d7480b864fc36e15b0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a4861636b65726e657773000000000000000000000000000000000000000000001ca0e7ccdba116aa95ae8d9bdd02f619a0cdfc1f60c5740b3899865822a80cd70218a0f200df1921ea988d16280a0873b69cb782a54e8a596d15e700710c820c8d2a9e","s":"0xf200df1921ea988d16280a0873b69cb782a54e8a596d15e700710c820c8d2a9e","standardV":"0x1","to":"0x03fca6077d38dd99d0ce14ba32078bd2cda72d74","transactionIndex":"0x0","v":"0x1c","value":"0x0"},"id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":{"blockHash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","blockNumber":"0x10d4f","condition":null,"creates":null,"from":"0x4458f86353b4740fe9e09071c23a7437640063c9","gas":"0x5208","gasPrice":"0xba43b7400","hash":"0xa442249820de6be754da81eafbd44a865773e4b23d7c0522d31fd03977823008","input":"0x","networkId":null,"nonce":"0x1","publicKey":"0xcc1423c5c4831fec83d561a9c8508e1f9a33ae5f80648136e572e15c0bdb62abbf94fe3be5db1e9e19634b4ef047369350f044c531adf44b348e8ddcc913944a","r":"0x2c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616","raw":"0xf86b01850ba43b740082520894bf3403210f9802205f426759947a80a9fda71b1e87aa9f075c200000801ba02c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616a02946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","s":"0x2946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","standardV":"0x0","to":"0xbf3403210f9802205f426759947a80a9fda71b1e","transactionIndex":"0x0","v":"0x1b","value":"0xaa9f075c200000"},"id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":"0xaf5d","id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":{"blockHash":"0xf64a12502afc36db3d29931a2148e5d6ddaa883a2a3c968ca2fb293fa9258c68","blockNumber":"0x70839","contractAddress":null,"cumulativeGasUsed":"0x75d5","gasUsed":"0x75d5","logs":[{"address":"0x03fca6077d38dd99d0ce14ba32078bd2cda72d74","blockHash":"0xf64a12502afc36db3d29931a2148e5d6ddaa883a2a3c968ca2fb293fa9258c68","blockNumber":"0x70839","data":"0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a4861636b65726e65777300000000000000000000000000000000000000000000","logIndex":"0x0","topics":["0x24bcf19562365f6510754002f8d7b818d275886315d29c7aa04785570b97a363"],"transactionHash":"0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1","transactionIndex":"0x0","transactionLogIndex":"0x0","type":"mined"}],"logsBloom":"0x00000000000000000000000000000400000000020000000000000000400000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","root":"0xc659845f1ac4e899ff1b0666dbac5deeda33a4a5d85da71f617f352824146e40","transactionHash":"0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1","transactionIndex":"0x0"},"id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","result":{"author":"0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13","difficulty":"0x1d95715bd14","extraData":"0x","gasLimit":"0x2fefd8","gasUsed":"0x5208","hash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","miner":"0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13","mixHash":"0x13dd2c8aec729f75aebcd79a916ecb0f7edc6493efcc6a4da8d7b0ab3ee88444","nonce":"0xc60a782e2e69ce22","number":"0x10d4f","parentHash":"0xf8d01370e6e274f8188954fbee435b40c35b2ad3d4ab671f6d086cd559e48f04","receiptsRoot":"0x0c44b7ed0fefb613ec256341aa0ffdb643e869e3a0ebc8f58e36b4e47efedd33","sealFields":["0xa013dd2c8aec729f75aebcd79a916ecb0f7edc6493efcc6a4da8d7b0ab3ee88444","0x88c60a782e2e69ce22"],"sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x275","stateRoot":"0xd64a0f63e2c7f541e6e6f8548a10a5c4e49fda7ac1aa80f9dddef648c7b9e25f","timestamp":"0x55c9ea07","totalDifficulty":"0x120d56f6821b170","transactions":[{"blockHash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","blockNumber":"0x10d4f","condition":null,"creates":null,"from":"0x4458f86353b4740fe9e09071c23a7437640063c9","gas":"0x5208","gasPrice":"0xba43b7400","hash":"0xa442249820de6be754da81eafbd44a865773e4b23d7c0522d31fd03977823008","input":"0x","networkId":null,"nonce":"0x1","publicKey":"0xcc1423c5c4831fec83d561a9c8508e1f9a33ae5f80648136e572e15c0bdb62abbf94fe3be5db1e9e19634b4ef047369350f044c531adf44b348e8ddcc913944a","r":"0x2c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616","raw":"0xf86b01850ba43b740082520894bf3403210f9802205f426759947a80a9fda71b1e87aa9f075c200000801ba02c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616a02946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","s":"0x2946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","standardV":"0x0","to":"0xbf3403210f9802205f426759947a80a9fda71b1e","transactionIndex":"0x0","v":"0x1b","value":"0xaa9f075c200000"}],"transactionsRoot":"0x4a5b78c13d11559c9541576834b5172fe8b18507c0f9f76454fcdddedd8dff7a","uncles":[]},"id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid RLP.","data":"RlpIncorrectListLen"},"id":1}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"status":"1","message":"OK","result":{"ethbtc":"0.04632","ethbtc_timestamp":"1490974262","ethusd":"49.02","ethusd_timestamp":"1490974259"}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"status":"1","message":"OK","result":"90278439874100000000000000"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"status":"1","message":"OK","result":"1984198153200000"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"status":"1","message":"OK","result":"1984198153200000"}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: etherscanio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Schürmann
|
@@ -164,7 +164,7 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
-
description: 3rd party
|
167
|
+
description: 3rd party using to the ethereumblockchain API at etherscan.io
|
168
168
|
email:
|
169
169
|
- sebs@2xs.org
|
170
170
|
executables: []
|
@@ -197,6 +197,7 @@ files:
|
|
197
197
|
- doc/method_list.html
|
198
198
|
- doc/top-level-namespace.html
|
199
199
|
- etherscanio.gemspec
|
200
|
+
- generate-and-push-docs.sh
|
200
201
|
- lib/etherscanio/api.rb
|
201
202
|
- lib/etherscanio/call.rb
|
202
203
|
- spec/api/account/balance_spec.rb
|
@@ -218,6 +219,24 @@ files:
|
|
218
219
|
- spec/fixtures/account/txlist_internal.json
|
219
220
|
- spec/fixtures/block_getblockreward.json
|
220
221
|
- spec/fixtures/contract_getabi.json
|
222
|
+
- spec/fixtures/proxy/eth_blocknumber.json
|
223
|
+
- spec/fixtures/proxy/eth_call.json
|
224
|
+
- spec/fixtures/proxy/eth_estimategas.json
|
225
|
+
- spec/fixtures/proxy/eth_gasprice.json
|
226
|
+
- spec/fixtures/proxy/eth_getblockbynumber.json
|
227
|
+
- spec/fixtures/proxy/eth_getblocktransactioncountbynumber.json
|
228
|
+
- spec/fixtures/proxy/eth_getcode.json
|
229
|
+
- spec/fixtures/proxy/eth_getstorageat.json
|
230
|
+
- spec/fixtures/proxy/eth_gettransactionbyhash.json
|
231
|
+
- spec/fixtures/proxy/eth_gettransactionbynumberandindex.json
|
232
|
+
- spec/fixtures/proxy/eth_gettransactioncount.json
|
233
|
+
- spec/fixtures/proxy/eth_gettransactionreceipt.json
|
234
|
+
- spec/fixtures/proxy/eth_getunclebyblockbynumberandindex.json
|
235
|
+
- spec/fixtures/proxy/eth_sendrawtransaction.json
|
236
|
+
- spec/fixtures/stats/ethprice.json
|
237
|
+
- spec/fixtures/stats/ethsupply.json
|
238
|
+
- spec/fixtures/stats/tokensupply.json
|
239
|
+
- spec/fixtures/token/tokensupply.json
|
221
240
|
- spec/fixtures/transaction_getstatus.json
|
222
241
|
- spec/spec_helper.rb
|
223
242
|
homepage: https://github.com/sebs/etherscanio-rb
|
@@ -264,5 +283,23 @@ test_files:
|
|
264
283
|
- spec/fixtures/account/txlist_internal.json
|
265
284
|
- spec/fixtures/block_getblockreward.json
|
266
285
|
- spec/fixtures/contract_getabi.json
|
286
|
+
- spec/fixtures/proxy/eth_blocknumber.json
|
287
|
+
- spec/fixtures/proxy/eth_call.json
|
288
|
+
- spec/fixtures/proxy/eth_estimategas.json
|
289
|
+
- spec/fixtures/proxy/eth_gasprice.json
|
290
|
+
- spec/fixtures/proxy/eth_getblockbynumber.json
|
291
|
+
- spec/fixtures/proxy/eth_getblocktransactioncountbynumber.json
|
292
|
+
- spec/fixtures/proxy/eth_getcode.json
|
293
|
+
- spec/fixtures/proxy/eth_getstorageat.json
|
294
|
+
- spec/fixtures/proxy/eth_gettransactionbyhash.json
|
295
|
+
- spec/fixtures/proxy/eth_gettransactionbynumberandindex.json
|
296
|
+
- spec/fixtures/proxy/eth_gettransactioncount.json
|
297
|
+
- spec/fixtures/proxy/eth_gettransactionreceipt.json
|
298
|
+
- spec/fixtures/proxy/eth_getunclebyblockbynumberandindex.json
|
299
|
+
- spec/fixtures/proxy/eth_sendrawtransaction.json
|
300
|
+
- spec/fixtures/stats/ethprice.json
|
301
|
+
- spec/fixtures/stats/ethsupply.json
|
302
|
+
- spec/fixtures/stats/tokensupply.json
|
303
|
+
- spec/fixtures/token/tokensupply.json
|
267
304
|
- spec/fixtures/transaction_getstatus.json
|
268
305
|
- spec/spec_helper.rb
|