File tree 4 files changed +48
-0
lines changed
4 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ import requests as req
2
+
3
+
4
+ class Client :
5
+ def __init__ (self , api_key : str ):
6
+ self .api_key = api_key
7
+
8
+ # accounts
9
+ def get_eth_balance (self , wallet : str ):
10
+ pass
11
+
12
+ def get_eth_balance_multiple (self ):
13
+ pass
14
+
15
+ def get_hist_eth_balance (self ):
16
+ # throttled to 2 calls/sec
17
+ pass
18
+
19
+ def get_normal_txs_by_address (self ):
20
+ pass
21
+
22
+ def get_internal_txs_by_address (self ):
23
+ pass
24
+
25
+ def get_internal_txs_by_txhash (self ):
26
+ pass
27
+
28
+ def get_internal_txs_by_block_range (self ):
29
+ pass
30
+
31
+ def get_erc20_transfer_events_by_address (self ):
32
+ pass
33
+
34
+ def get_erc721_transfer_events_by_address (self ):
35
+ pass
36
+
37
+ def get_mined_blocks_by_address (self ):
38
+ pass
39
+
Original file line number Diff line number Diff line change
1
+ from dataclasses import dataclass
2
+
3
+
4
+ @dataclass (frozen = True )
5
+ class TokensEnum :
6
+ DEFAULT : str = ""
7
+ WETH : str = "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
8
+ LINK : str = "0x514910771af9ca656af840dff83e8264ecf986ca"
9
+ OCEAN : str = "0x7AFeBBB46fDb47ed17b22ed075Cde2447694fB9e"
You can’t perform that action at this time.
0 commit comments