Metadata-Version: 2.1
Name: infura
Version: 0.2.0
Summary: Infura.io wrapper
Home-page: https://github.com/neoctobers/infura
Author: @neoctobers
Author-email: neoctobers@gmail.com
License: UNKNOWN
Description: # Infura.io API wrapper
        
        An Infura.io API wrapper, for Python.
        
        With a default cache supported by [requests-cache](https://github.com/reclosedev/requests-cache)
        
        ## Installation
        ```
        pip3 install infura
        ```
        
        ## Usage
        ```python
        import infura
        
        ifr = infura.Client(
            project_id='your-project-id',
            project_secret='your-project-secret',
            network='mainnet',
            cache_expire_after=5,
        )
        
        gas_price = ifr.eth_get_gas_price()
        
        balance = ifr.eth_get_balance('0x39eB410144784010b84B076087B073889411F878')
        
        block_number = ifr.eth_get_block_number()
        
        block = ifr.eth_get_block_by_number(block_number, show_transaction_details: bool = False)
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
