etherscan 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/etherscan/version.rb +1 -1
- data/lib/etherscan.rb +9 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4d5ec6886432a0abcb073b8e17053be4a0f03ce6ad95f956cc2af34d2ece2c3
|
4
|
+
data.tar.gz: a527e4a0a3c221851db4e7d881c4bea20f313ef00ff9ad7c4fbdf5bec26b094b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b643fed3858d01831668d7f6b80aa5bde9c5a7108927282bca291ef276440d79196422f7b2eccabe1599fb47bd7d0c04be9e2370b5f6ccd65b83ac27ccc54016
|
7
|
+
data.tar.gz: 4363b96d1a7aff5e392e9b6f002b0d7305abd997b9ff567daa2e397bc00a931d78eb250f1ab0132314d5d6c560220b938cc2b7a279551bdec8a6aa588a8e6b6a
|
data/lib/etherscan/version.rb
CHANGED
data/lib/etherscan.rb
CHANGED
@@ -40,7 +40,13 @@ module Etherscan
|
|
40
40
|
1111 => 'wemix',
|
41
41
|
534_352 => 'scr',
|
42
42
|
534_351 => 'scr_sepolia',
|
43
|
-
204 => 'obnb'
|
43
|
+
204 => 'obnb',
|
44
|
+
|
45
|
+
728_126_428 => 'tron',
|
46
|
+
2_494_104_990 => 'tron_shasta',
|
47
|
+
43 => 'pangolin',
|
48
|
+
44 => 'crab',
|
49
|
+
46 => 'darwinia'
|
44
50
|
}
|
45
51
|
|
46
52
|
# https://chainid.network/chains.json
|
@@ -84,7 +90,8 @@ module Etherscan
|
|
84
90
|
|
85
91
|
# https://tronscan.org/#/developer/api
|
86
92
|
TRON_CHAINS = {
|
87
|
-
'tron' => 'https://apilist.tronscanapi.com/api'
|
93
|
+
'tron' => 'https://apilist.tronscanapi.com/api',
|
94
|
+
'tron_shasta' => 'https://shastapi.tronscan.org/api'
|
88
95
|
}
|
89
96
|
|
90
97
|
SUBSCAN_CHAINS = {
|