Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3cd8bfb

Browse files
author
Kotsias, Panagiotis-Christos
committed
Removed get_hist_eth_balance_by_block
1 parent 3676f17 commit 3cd8bfb

File tree

2 files changed

+0
-121
lines changed

2 files changed

+0
-121
lines changed

etherscan/modules/accounts.py

-16
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,6 @@ def get_eth_balance_multiple(wallets: List[WalletAddress]) -> str:
4343
# r = requests.get(url)
4444
# return [conversions.to_ticker_unit(r["balance"]) for r in parser.get_result(r)]
4545

46-
@staticmethod
47-
def get_hist_eth_balance_by_block(wallet: WalletAddress, block: int) -> str:
48-
# throttled to 2 calls/sec
49-
# BUG: returns 'Error! Missing Or invalid Action name'
50-
url = (
51-
f"{fields.MODULE}"
52-
f"{modules.ACCOUNT}"
53-
f"{fields.ACTION}"
54-
f"{actions.BALANCE_HISTORY}"
55-
f"{fields.ADDRESS}"
56-
f"{wallet}"
57-
f"{fields.BLOCKNO}"
58-
f"{str(block)}"
59-
)
60-
return url
61-
6246
@staticmethod
6347
def get_normal_txs_by_address(
6448
wallet: WalletAddress,

test/configs/stable.json

-105
This file was deleted.

0 commit comments

Comments
 (0)