Skip to main content wrapper

Project description API wrapper

An API wrapper, for Python.

With a default cache supported by requests-cache


pip3 install infura


import infura

ifr = infura.Client(

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)

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

infura-0.2.0.tar.gz (2.3 kB view hashes)

Uploaded source

Built Distribution

infura-0.2.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page