Data tools for Web3
Project description
web3-data-tools
Install
pip install web3_data_tools
How to use
from web3_data_tools.core import *
w3 = MultiRPCWeb3.from_rpcs('http://fail_rpc', 'http://localhost:5919')
block_timestamps = BlockTimestamps(w3)
interpolation_search(block_timestamps, 1692548195)
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
RPC RPC connection http://fail_rpc failed
Trying RPC RPC connection http://localhost:5919
17957091
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
web3-data-tools-0.0.1.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for web3_data_tools-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fd30607541e6b64358e338086641e140fed01f394ba3885bf537e5e33eb5087 |
|
MD5 | a319fdf486426b01ef106d4a2e50d668 |
|
BLAKE2b-256 | 22ea7e135aaabdeeb7ae7e95079b2c1f2e9c64438cf7a5665f3093527dd9eaab |