Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite4d9d7c

Browse files
committed
added get_total_nodes_count()
1 parente059d7c commite4d9d7c

File tree

7 files changed

+31
-0
lines changed

7 files changed

+31
-0
lines changed

‎etherscan/configs/GOERLI-stable.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@
114114
"module":"stats",
115115
"kwargs": {}
116116
},
117+
"get_total_nodes_count": {
118+
"module":"stats",
119+
"kwargs": {}
120+
},
117121
"get_eth_last_price": {
118122
"module":"stats",
119123
"kwargs": {}

‎etherscan/configs/KOVAN-stable.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@
114114
"module":"stats",
115115
"kwargs": {}
116116
},
117+
"get_total_nodes_count": {
118+
"module":"stats",
119+
"kwargs": {}
120+
},
117121
"get_eth_last_price": {
118122
"module":"stats",
119123
"kwargs": {}

‎etherscan/configs/MAIN-stable.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@
114114
"module":"stats",
115115
"kwargs": {}
116116
},
117+
"get_total_nodes_count": {
118+
"module":"stats",
119+
"kwargs": {}
120+
},
117121
"get_eth_last_price": {
118122
"module":"stats",
119123
"kwargs": {}

‎etherscan/configs/RINKEBY-stable.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@
114114
"module":"stats",
115115
"kwargs": {}
116116
},
117+
"get_total_nodes_count": {
118+
"module":"stats",
119+
"kwargs": {}
120+
},
117121
"get_eth_last_price": {
118122
"module":"stats",
119123
"kwargs": {}

‎etherscan/configs/ROPSTEN-stable.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@
114114
"module":"stats",
115115
"kwargs": {}
116116
},
117+
"get_total_nodes_count": {
118+
"module":"stats",
119+
"kwargs": {}
120+
},
117121
"get_eth_last_price": {
118122
"module":"stats",
119123
"kwargs": {}

‎etherscan/enums/actions_enum.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class ActionsEnum:
5252
GET_SOURCE_CODE:str="getsourcecode"
5353
GET_STATUS:str="getstatus"
5454
GET_TX_RECEIPT_STATUS:str="gettxreceiptstatus"
55+
NODE_COUNT:str="nodecount"
5556
TOKEN_BALANCE_HISTORY:str="tokenbalancehistory"
5657
TOKEN_BALANCE:str="tokenbalance"
5758
TOKEN_INFO:str="tokeninfo"

‎etherscan/modules/stats.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,13 @@ def get_eth_nodes_size(
4545
f"{sort}"
4646
)
4747
returnurl
48+
49+
@staticmethod
50+
defget_total_nodes_count()->str:
51+
url= (
52+
f"{fields.MODULE}"
53+
f"{modules.STATS}"
54+
f"{fields.ACTION}"
55+
f"{actions.NODE_COUNT}"
56+
)
57+
returnurl

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp