etherscan-lite 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8268ce22467ea0136543b35e4595ff60b51e009dd7d60559f3cf858541ed1e24
4
- data.tar.gz: 66da1fc606dd316d7640e8e45dc99fc0ea7bd81a4c61cbfa6003707ac3a4b334
3
+ metadata.gz: b41ed7587e1e595ba013221b1e55534f1aa7cecd068b381ee9319b933b0e2efe
4
+ data.tar.gz: 9d3ca86dea606bb1b00690e227f382d64e0d59d7eead1be4904701b54b253aa3
5
5
  SHA512:
6
- metadata.gz: 3a2ce94118461adce95f7fd3b3992f44c89f0f479b28e145eb2cc0c0d76e4a5fa78d11a3e603b6a4f871a548c9e1349c5908d0931e3a2067ee5082faf730a88c
7
- data.tar.gz: 26c59cb4af1fcfd8b0454964748762d60ea466d3b9fd2e9736789564f841e4fef054a353ed5b2ebabc10bc5e06f116f61db75f362b1a91a1a7de4b15c3489f86
6
+ metadata.gz: 3031b621d4d99ec39b6c73e45b5e714fe255b3dc54c621caec209d7f1ef47d7e8e2ecb60a774a90833c2480fa3d7adf69b80fa039091669f8677495e0b20848f
7
+ data.tar.gz: '0657688b69115499b4c099efd6e8634b0a103a7b5cd6fdfc78b31b9175e66d05704f634b633f2620db1cf5ac3b51eb12311ea072d9d65799bb927e8e6c2f2dc5'
data/README.md CHANGED
@@ -59,44 +59,44 @@ pp data
59
59
  resulting in:
60
60
 
61
61
  ``` json
62
- [{"blockNumber"=>"16191306",
63
- "timeStamp"=>"1671121931",
64
- "hash"=>"0x77361870fdc3046f7c24cabafa7185a84d60f4fa12aef8363e8520fbdd003cc7",
65
- "nonce"=>"4866500",
66
- "blockHash"=>"0x1f5d2e10774bd5473257ad0f47d08b3e523e3baace6f0218bce8aab62e90ec67",
67
- "from"=>"0xdfd5293d8e347dfe59e90efd55b2956a1343963d",
68
- "contractAddress"=>"0xdac17f958d2ee523a2206206994597c13d831ec7",
69
- "to"=>"0x40fbc37ff0e4d3f900b867f2ca48ae6aba77c854",
70
- "value"=>"495264069",
71
- "tokenName"=>"Tether USD",
72
- "tokenSymbol"=>"USDT",
73
- "tokenDecimal"=>"6",
74
- "transactionIndex"=>"44",
75
- "gas"=>"207128",
76
- "gasPrice"=>"31567202036",
77
- "gasUsed"=>"63197",
78
- "cumulativeGasUsed"=>"5207555",
79
- "input"=>"deprecated",
80
- "confirmations"=>"3"},
81
- {"blockNumber"=>"16191304",
82
- "timeStamp"=>"1671121907",
83
- "hash"=>"0xd3d529d0d420e38680ad9066a5d62434a04b01e94b00b81fc5fea303afbda076",
84
- "nonce"=>"4866498",
85
- "blockHash"=>"0x9b2dfbfd068c90546c7572bc059cd790e12eb6b9f9b21a3c7c33e0abd8d69d6c",
86
- "from"=>"0xdfd5293d8e347dfe59e90efd55b2956a1343963d",
87
- "contractAddress"=>"0xdac17f958d2ee523a2206206994597c13d831ec7",
88
- "to"=>"0xf7140bb010da74a191e3c98f801e596937f177fb",
89
- "value"=>"4496800000",
90
- "tokenName"=>"Tether USD",
91
- "tokenSymbol"=>"USDT",
92
- "tokenDecimal"=>"6",
93
- "transactionIndex"=>"57",
94
- "gas"=>"207128",
95
- "gasPrice"=>"32759178674",
96
- "gasUsed"=>"46109",
97
- "cumulativeGasUsed"=>"3775818",
98
- "input"=>"deprecated",
99
- "confirmations"=>"5"},
62
+ [{"blockNumber": "16191306",
63
+ "timeStamp": "1671121931",
64
+ "hash": "0x77361870fdc3046f7c24cabafa7185a84d60f4fa12aef8363e8520fbdd003cc7",
65
+ "nonce": "4866500",
66
+ "blockHash": "0x1f5d2e10774bd5473257ad0f47d08b3e523e3baace6f0218bce8aab62e90ec67",
67
+ "from": "0xdfd5293d8e347dfe59e90efd55b2956a1343963d",
68
+ "contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
69
+ "to": "0x40fbc37ff0e4d3f900b867f2ca48ae6aba77c854",
70
+ "value": "495264069",
71
+ "tokenName": "Tether USD",
72
+ "tokenSymbol": "USDT",
73
+ "tokenDecimal": "6",
74
+ "transactionIndex": "44",
75
+ "gas": "207128",
76
+ "gasPrice": "31567202036",
77
+ "gasUsed": "63197",
78
+ "cumulativeGasUsed": "5207555",
79
+ "input": "deprecated",
80
+ "confirmations": "3"},
81
+ {"blockNumber": "16191304",
82
+ "timeStamp": "1671121907",
83
+ "hash": "0xd3d529d0d420e38680ad9066a5d62434a04b01e94b00b81fc5fea303afbda076",
84
+ "nonce": "4866498",
85
+ "blockHash": "0x9b2dfbfd068c90546c7572bc059cd790e12eb6b9f9b21a3c7c33e0abd8d69d6c",
86
+ "from": "0xdfd5293d8e347dfe59e90efd55b2956a1343963d",
87
+ "contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
88
+ "to": "0xf7140bb010da74a191e3c98f801e596937f177fb",
89
+ "value": "4496800000",
90
+ "tokenName": "Tether USD",
91
+ "tokenSymbol": "USDT",
92
+ "tokenDecimal": "6",
93
+ "transactionIndex": "57",
94
+ "gas": "207128",
95
+ "gasPrice": "32759178674",
96
+ "gasUsed": "46109",
97
+ "cumulativeGasUsed": "3775818",
98
+ "input": "deprecated",
99
+ "confirmations": "5"},
100
100
  ...
101
101
  ]
102
102
  ```
@@ -127,16 +127,16 @@ end
127
127
  resulting in:
128
128
 
129
129
  ```
130
- [0] 2022-12-15 16:32:11 UTC - Tether USD (USDT) 495.264069 (495264069) - from: 0xdfd5293d8 to: 0x40fbc37ff - txid: 0x7736187
131
- [1] 2022-12-15 16:31:47 UTC - Tether USD (USDT) 4496.800000 (4496800000) - from: 0xdfd5293d8 to: 0xf7140bb01 - txid: 0xd3d529d
132
- [2] 2022-12-15 16:31:11 UTC - Tether USD (USDT) 1496.800000 (1496800000) - from: 0xdfd5293d8 to: 0xcab0e46b1 - txid: 0x0b7986d
133
- [3] 2022-12-15 16:31:11 UTC - Tether USD (USDT) 122.800000 (122800000) - from: 0xdfd5293d8 to: 0xcc38c0e6f - txid: 0x8894af7
134
- [4] 2022-12-15 16:30:35 UTC - Tether USD (USDT) 22953.971400 (22953971400) - from: 0xdfd5293d8 to: 0xccb95ec69 - txid: 0x0bb6b75
135
- [5] 2022-12-15 16:30:11 UTC - Tether USD (USDT) 254.743920 (254743920) - from: 0xdfd5293d8 to: 0x68f2a6311 - txid: 0xf691bed
136
- [6] 2022-12-15 16:29:35 UTC - Tether USD (USDT) 548.950317 (548950317) - from: 0xdfd5293d8 to: 0xaa00cd50e - txid: 0x847854b
137
- [7] 2022-12-15 16:29:11 UTC - Tether USD (USDT) 33667.697868 (33667697868) - from: 0xdfd5293d8 to: 0xcfb27a23f - txid: 0x7a2390d
138
- [8] 2022-12-15 16:28:59 UTC - Tether USD (USDT) 48126.270731 (48126270731) - from: 0xdfd5293d8 to: 0x09857b83a - txid: 0x0653035
139
- [9] 2022-12-15 16:28:35 UTC - Tether USD (USDT) 15996.800000 (15996800000) - from: 0xdfd5293d8 to: 0xd8d6ffe34 - txid: 0xb02d04b
130
+ [0] 2022-12-15 16:32:11 UTC - Tether USD (USDT) 495.264069 (495264069) - from: 0xdfd5293d8 to: 0x40fbc37ff - txid: 0x7736187
131
+ [1] 2022-12-15 16:31:47 UTC - Tether USD (USDT) 4496.800000 (4496800000) - from: 0xdfd5293d8 to: 0xf7140bb01 - txid: 0xd3d529d
132
+ [2] 2022-12-15 16:31:11 UTC - Tether USD (USDT) 1496.800000 (1496800000) - from: 0xdfd5293d8 to: 0xcab0e46b1 - txid: 0x0b7986d
133
+ [3] 2022-12-15 16:31:11 UTC - Tether USD (USDT) 122.800000 (122800000) - from: 0xdfd5293d8 to: 0xcc38c0e6f - txid: 0x8894af7
134
+ [4] 2022-12-15 16:30:35 UTC - Tether USD (USDT) 22953.971400 (22953971400) - from: 0xdfd5293d8 to: 0xccb95ec69 - txid: 0x0bb6b75
135
+ [5] 2022-12-15 16:30:11 UTC - Tether USD (USDT) 254.743920 (254743920) - from: 0xdfd5293d8 to: 0x68f2a6311 - txid: 0xf691bed
136
+ [6] 2022-12-15 16:29:35 UTC - Tether USD (USDT) 548.950317 (548950317) - from: 0xdfd5293d8 to: 0xaa00cd50e - txid: 0x847854b
137
+ [7] 2022-12-15 16:29:11 UTC - Tether USD (USDT) 33667.697868 (33667697868) - from: 0xdfd5293d8 to: 0xcfb27a23f - txid: 0x7a2390d
138
+ [8] 2022-12-15 16:28:59 UTC - Tether USD (USDT) 48126.270731 (48126270731) - from: 0xdfd5293d8 to: 0x09857b83a - txid: 0x0653035
139
+ [9] 2022-12-15 16:28:35 UTC - Tether USD (USDT) 15996.800000 (15996800000) - from: 0xdfd5293d8 to: 0xd8d6ffe34 - txid: 0xb02d04b
140
140
  ```
141
141
 
142
142
 
@@ -156,44 +156,44 @@ pp data
156
156
  resulting in:
157
157
 
158
158
  ``` json
159
- [{"blockNumber"=>"16191303",
160
- "timeStamp"=>"1671121895",
161
- "hash"=>"0xf049e3247e19e2eca1971f6daa38e7310bf2705b7da6347b9801122eef57f30e",
162
- "nonce"=>"16348",
163
- "blockHash"=>"0x2ec6abfc229cb61b7a851d9e078e93681634cf0b2b3390a54f6fa21e8d10cd04",
164
- "from"=>"0x8ae57a027c63fca8070d1bf38622321de8004c67",
165
- "contractAddress"=>"0x23581767a106ae21c074b2276d25e5c3e136a68b",
166
- "to"=>"0xdc3276739390e3fdf7929056593d2ce316ebcfa8",
167
- "tokenID"=>"2934",
168
- "tokenName"=>"Moonbirds",
169
- "tokenSymbol"=>"MOONBIRD",
170
- "tokenDecimal"=>"0",
171
- "transactionIndex"=>"150",
172
- "gas"=>"168819",
173
- "gasPrice"=>"30350829601",
174
- "gasUsed"=>"64019",
175
- "cumulativeGasUsed"=>"16664047",
176
- "input"=>"deprecated",
177
- "confirmations"=>"25"},
178
- {"blockNumber"=>"16191297",
179
- "timeStamp"=>"1671121823",
180
- "hash"=>"0xb341b32b2c8904733c05648f67c09c99602a22b454f6f99b68746eb204c8f235",
181
- "nonce"=>"4310",
182
- "blockHash"=>"0x8774a12b660e59586ae94af1670362d2c73d09c94230f236859548ae0768f387",
183
- "from"=>"0x8bc110db7029197c3621bea8092ab1996d5dd7be",
184
- "contractAddress"=>"0x23581767a106ae21c074b2276d25e5c3e136a68b",
185
- "to"=>"0x6ce2eb1c3006850ebbb97499f1a25b8ce6c01a44",
186
- "tokenID"=>"9836",
187
- "tokenName"=>"Moonbirds",
188
- "tokenSymbol"=>"MOONBIRD",
189
- "tokenDecimal"=>"0",
190
- "transactionIndex"=>"15",
191
- "gas"=>"3576346",
192
- "gasPrice"=>"35958543341",
193
- "gasUsed"=>"2751035",
194
- "cumulativeGasUsed"=>"3999647",
195
- "input"=>"deprecated",
196
- "confirmations"=>"31"},
159
+ [{"blockNumber": "16191303",
160
+ "timeStamp": "1671121895",
161
+ "hash": "0xf049e3247e19e2eca1971f6daa38e7310bf2705b7da6347b9801122eef57f30e",
162
+ "nonce": "16348",
163
+ "blockHash": "0x2ec6abfc229cb61b7a851d9e078e93681634cf0b2b3390a54f6fa21e8d10cd04",
164
+ "from": "0x8ae57a027c63fca8070d1bf38622321de8004c67",
165
+ "contractAddress": "0x23581767a106ae21c074b2276d25e5c3e136a68b",
166
+ "to": "0xdc3276739390e3fdf7929056593d2ce316ebcfa8",
167
+ "tokenID": "2934",
168
+ "tokenName": "Moonbirds",
169
+ "tokenSymbol": "MOONBIRD",
170
+ "tokenDecimal": "0",
171
+ "transactionIndex": "150",
172
+ "gas": "168819",
173
+ "gasPrice": "30350829601",
174
+ "gasUsed": "64019",
175
+ "cumulativeGasUsed": "16664047",
176
+ "input": "deprecated",
177
+ "confirmations": "25"},
178
+ {"blockNumber": "16191297",
179
+ "timeStamp": "1671121823",
180
+ "hash": "0xb341b32b2c8904733c05648f67c09c99602a22b454f6f99b68746eb204c8f235",
181
+ "nonce": "4310",
182
+ "blockHash": "0x8774a12b660e59586ae94af1670362d2c73d09c94230f236859548ae0768f387",
183
+ "from": "0x8bc110db7029197c3621bea8092ab1996d5dd7be",
184
+ "contractAddress": "0x23581767a106ae21c074b2276d25e5c3e136a68b",
185
+ "to": "0x6ce2eb1c3006850ebbb97499f1a25b8ce6c01a44",
186
+ "tokenID": "9836",
187
+ "tokenName": "Moonbirds",
188
+ "tokenSymbol": "MOONBIRD",
189
+ "tokenDecimal": "0",
190
+ "transactionIndex": "15",
191
+ "gas": "3576346",
192
+ "gasPrice": "35958543341",
193
+ "gasUsed": "2751035",
194
+ "cumulativeGasUsed": "3999647",
195
+ "input": "deprecated",
196
+ "confirmations": "31"},
197
197
  ...
198
198
  ]
199
199
  ```
@@ -217,16 +217,16 @@ end
217
217
  resulting in:
218
218
 
219
219
  ```
220
- [0] 2022-12-15 16:31:35 UTC - Moonbirds 2934 - from: 0x8ae57a027 to: 0xdc3276739 - txid: 0xf049e32
221
- [1] 2022-12-15 16:30:23 UTC - Moonbirds 9836 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
222
- [2] 2022-12-15 16:30:23 UTC - Moonbirds 9378 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
223
- [3] 2022-12-15 16:30:23 UTC - Moonbirds 9059 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
224
- [4] 2022-12-15 16:30:23 UTC - Moonbirds 8199 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
225
- [5] 2022-12-15 16:30:23 UTC - Moonbirds 7800 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
226
- [6] 2022-12-15 16:30:23 UTC - Moonbirds 5952 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
227
- [7] 2022-12-15 16:30:23 UTC - Moonbirds 5868 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
228
- [8] 2022-12-15 16:30:23 UTC - Moonbirds 5853 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
229
- [9] 2022-12-15 16:30:23 UTC - Moonbirds 501 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
220
+ [0] 2022-12-15 16:31:35 UTC - Moonbirds 2934 - from: 0x8ae57a027 to: 0xdc3276739 - txid: 0xf049e32
221
+ [1] 2022-12-15 16:30:23 UTC - Moonbirds 9836 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
222
+ [2] 2022-12-15 16:30:23 UTC - Moonbirds 9378 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
223
+ [3] 2022-12-15 16:30:23 UTC - Moonbirds 9059 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
224
+ [4] 2022-12-15 16:30:23 UTC - Moonbirds 8199 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
225
+ [5] 2022-12-15 16:30:23 UTC - Moonbirds 7800 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
226
+ [6] 2022-12-15 16:30:23 UTC - Moonbirds 5952 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
227
+ [7] 2022-12-15 16:30:23 UTC - Moonbirds 5868 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
228
+ [8] 2022-12-15 16:30:23 UTC - Moonbirds 5853 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
229
+ [9] 2022-12-15 16:30:23 UTC - Moonbirds 501 - from: 0x8bc110db7 to: 0x6ce2eb1c3 - txid: 0xb341b32
230
230
  ```
231
231
 
232
232
 
@@ -249,46 +249,46 @@ resulting in:
249
249
 
250
250
 
251
251
  ``` json
252
- [{"blockNumber"=>"16191330",
253
- "timeStamp"=>"1671122219",
254
- "hash"=>"0xea692b153ec048322dd6dc0a42fba45a0f06b2bd0e6888c7e42edbc629689f00",
255
- "nonce"=>"998",
256
- "blockHash"=>"0x3c3a23b78fd1522f9f9ed5a1fc45d5a7d1d71327961c77d164c0eeb1e72b4322",
257
- "transactionIndex"=>"244",
258
- "from"=>"0xae4705dc0816ee6d8a13f1c72780ec5021915fed",
259
- "to"=>"0x4dbd4fc535ac27206064b68ffcf827b0a60bab3f",
260
- "value"=>"420690000000000000",
261
- "gas"=>"92219",
262
- "gasPrice"=>"26218969764",
263
- "isError"=>"0",
264
- "txreceipt_status"=>"1",
265
- "input"=>"0x439370b1",
266
- "contractAddress"=>"",
267
- "cumulativeGasUsed"=>"18496407",
268
- "gasUsed"=>"91261",
269
- "confirmations"=>"16",
270
- "methodId"=>"0x439370b1",
271
- "functionName"=>"depositEth()"},
272
- {"blockNumber"=>"16191327",
273
- "timeStamp"=>"1671122183",
274
- "hash"=>"0x8a82fc0e7ac1fb588f1ee248810d518bc03dfb4e938160c6502f949fcc16054c",
275
- "nonce"=>"2",
276
- "blockHash"=>"0xb533b2cd157369414839c58b74319bf32400dd6521b5d945eb7ac405d0600203",
277
- "transactionIndex"=>"78",
278
- "from"=>"0x338b8d83e644689a0ea90f04e0efa144fccfb3c7",
279
- "to"=>"0x4dbd4fc535ac27206064b68ffcf827b0a60bab3f",
280
- "value"=>"19000000000000000",
281
- "gas"=>"92219",
282
- "gasPrice"=>"29492008048",
283
- "isError"=>"0",
284
- "txreceipt_status"=>"1",
285
- "input"=>"0x439370b1",
286
- "contractAddress"=>"",
287
- "cumulativeGasUsed"=>"7020870",
288
- "gasUsed"=>"91261",
289
- "confirmations"=>"19",
290
- "methodId"=>"0x439370b1",
291
- "functionName"=>"depositEth()"},
252
+ [{"blockNumber": "16191330",
253
+ "timeStamp": "1671122219",
254
+ "hash": "0xea692b153ec048322dd6dc0a42fba45a0f06b2bd0e6888c7e42edbc629689f00",
255
+ "nonce": "998",
256
+ "blockHash": "0x3c3a23b78fd1522f9f9ed5a1fc45d5a7d1d71327961c77d164c0eeb1e72b4322",
257
+ "transactionIndex": "244",
258
+ "from": "0xae4705dc0816ee6d8a13f1c72780ec5021915fed",
259
+ "to": "0x4dbd4fc535ac27206064b68ffcf827b0a60bab3f",
260
+ "value": "420690000000000000",
261
+ "gas": "92219",
262
+ "gasPrice": "26218969764",
263
+ "isError": "0",
264
+ "txreceipt_status": "1",
265
+ "input": "0x439370b1",
266
+ "contractAddress": "",
267
+ "cumulativeGasUsed": "18496407",
268
+ "gasUsed": "91261",
269
+ "confirmations": "16",
270
+ "methodId": "0x439370b1",
271
+ "functionName": "depositEth()"},
272
+ {"blockNumber": "16191327",
273
+ "timeStamp": "1671122183",
274
+ "hash": "0x8a82fc0e7ac1fb588f1ee248810d518bc03dfb4e938160c6502f949fcc16054c",
275
+ "nonce": "2",
276
+ "blockHash": "0xb533b2cd157369414839c58b74319bf32400dd6521b5d945eb7ac405d0600203",
277
+ "transactionIndex": "78",
278
+ "from": "0x338b8d83e644689a0ea90f04e0efa144fccfb3c7",
279
+ "to": "0x4dbd4fc535ac27206064b68ffcf827b0a60bab3f",
280
+ "value": "19000000000000000",
281
+ "gas": "92219",
282
+ "gasPrice": "29492008048",
283
+ "isError": "0",
284
+ "txreceipt_status": "1",
285
+ "input": "0x439370b1",
286
+ "contractAddress": "",
287
+ "cumulativeGasUsed": "7020870",
288
+ "gasUsed": "91261",
289
+ "confirmations": "19",
290
+ "methodId": "0x439370b1",
291
+ "functionName": "depositEth()"},
292
292
  ...
293
293
  ]
294
294
  ```
@@ -322,16 +322,16 @@ end
322
322
  resulting in:
323
323
 
324
324
  ```
325
- [0] 2022-12-15 16:36:59 UTC - depositEth() 0.420690000000000000 (420690000000000000) - from: 0xae4705dc0 to: 0x4dbd4fc53 - txid: 0xea692b1
326
- [1] 2022-12-15 16:36:23 UTC - depositEth() 0.019000000000000000 (19000000000000000) - from: 0x338b8d83e to: 0x4dbd4fc53 - txid: 0x8a82fc0
327
- [2] 2022-12-15 16:35:23 UTC - depositEth() 0.040000000000000000 (40000000000000000) - from: 0x63e1c7edc to: 0x4dbd4fc53 - txid: 0x46bc422
328
- [3] 2022-12-15 16:34:23 UTC - depositEth() 0.003330000000000000 (3330000000000000) - from: 0xe29abe7f8 to: 0x4dbd4fc53 - txid: 0x2fbd49e
329
- [4] 2022-12-15 16:34:23 UTC - depositEth() 0.022398548608559353 (22398548608559353) - from: 0x3dbcf6a3d to: 0x4dbd4fc53 - txid: 0xc311e3f
330
- [5] 2022-12-15 16:32:23 UTC - depositEth() 0.195713000000000000 (195713000000000000) - from: 0xc7099c3ed to: 0x4dbd4fc53 - txid: 0x4a2f2e4
331
- [6] 2022-12-15 16:31:23 UTC - depositEth() 0.100000000000000000 (100000000000000000) - from: 0x78cea29ac to: 0x4dbd4fc53 - txid: 0xedc3793
332
- [7] 2022-12-15 16:28:35 UTC - depositEth() 2.406000000000000000 (2406000000000000000) - from: 0xa59192967 to: 0x4dbd4fc53 - txid: 0xde20917
333
- [8] 2022-12-15 16:28:23 UTC - depositEth() 0.030000000000000000 (30000000000000000) - from: 0x03a64c941 to: 0x4dbd4fc53 - txid: 0xc813c01
334
- [9] 2022-12-15 16:27:35 UTC - depositEth() 0.004000000000000000 (4000000000000000) - from: 0x614d071bf to: 0x4dbd4fc53 - txid: 0xb24df57
325
+ [0] 2022-12-15 16:36:59 UTC - depositEth() 0.420690000000000000 (420690000000000000) - from: 0xae4705dc0 to: 0x4dbd4fc53 - txid: 0xea692b1
326
+ [1] 2022-12-15 16:36:23 UTC - depositEth() 0.019000000000000000 (19000000000000000) - from: 0x338b8d83e to: 0x4dbd4fc53 - txid: 0x8a82fc0
327
+ [2] 2022-12-15 16:35:23 UTC - depositEth() 0.040000000000000000 (40000000000000000) - from: 0x63e1c7edc to: 0x4dbd4fc53 - txid: 0x46bc422
328
+ [3] 2022-12-15 16:34:23 UTC - depositEth() 0.003330000000000000 (3330000000000000) - from: 0xe29abe7f8 to: 0x4dbd4fc53 - txid: 0x2fbd49e
329
+ [4] 2022-12-15 16:34:23 UTC - depositEth() 0.022398548608559353 (22398548608559353) - from: 0x3dbcf6a3d to: 0x4dbd4fc53 - txid: 0xc311e3f
330
+ [5] 2022-12-15 16:32:23 UTC - depositEth() 0.195713000000000000 (195713000000000000) - from: 0xc7099c3ed to: 0x4dbd4fc53 - txid: 0x4a2f2e4
331
+ [6] 2022-12-15 16:31:23 UTC - depositEth() 0.100000000000000000 (100000000000000000) - from: 0x78cea29ac to: 0x4dbd4fc53 - txid: 0xedc3793
332
+ [7] 2022-12-15 16:28:35 UTC - depositEth() 2.406000000000000000 (2406000000000000000) - from: 0xa59192967 to: 0x4dbd4fc53 - txid: 0xde20917
333
+ [8] 2022-12-15 16:28:23 UTC - depositEth() 0.030000000000000000 (30000000000000000) - from: 0x03a64c941 to: 0x4dbd4fc53 - txid: 0xc813c01
334
+ [9] 2022-12-15 16:27:35 UTC - depositEth() 0.004000000000000000 (4000000000000000) - from: 0x614d071bf to: 0x4dbd4fc53 - txid: 0xb24df57
335
335
  ```
336
336
 
337
337
  and so on.
@@ -32,19 +32,26 @@ module Etherscan
32
32
  text = text.force_encoding( Encoding::UTF_8 )
33
33
 
34
34
  data = JSON.parse( text )
35
- data
36
35
 
37
36
  ## note: "unwrap" result - and auto-check status/message e.g.
38
37
  ## {"status"=>"1",
39
38
  ## "message"=>"OK",
40
39
  ## "result"=> ..
41
40
  ## }
41
+ ##
42
+ ## An API call that encounters an error will return 0 as its status code and display the cause of the error under the result field.
43
+ ## {
44
+ ## "status":"0",
45
+ ## "message":"NOTOK",
46
+ ## "result":"Max rate limit reached, please use API Key for higher rate limit"
47
+ ## }
48
+
42
49
  if data['status'] == '1' && data['message'] == 'OK'
43
- puts "#{data['status']} #{data['message']}"
50
+ ## puts "#{data['status']} #{data['message']}"
44
51
  data['result']
45
52
  else
46
53
  puts "!! ETHERSCAN API ERROR:"
47
- puts "#{data['status']} #{data['message']}"
54
+ puts "#{data['status']} #{data['message']} - #{data['result']}"
48
55
  exit 1
49
56
  end
50
57
  else
@@ -2,8 +2,8 @@
2
2
 
3
3
  module EtherscanLite
4
4
  MAJOR = 0
5
- MINOR = 0
6
- PATCH = 1
5
+ MINOR = 1
6
+ PATCH = 0
7
7
  VERSION = [MAJOR,MINOR,PATCH].join('.')
8
8
 
9
9
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etherscan-lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer