patch_web3

Documentation for eth_defi.event_reader.fast_json_rpc.patch_web3 function.

patch_web3(web3)[source]

Monkey-patch web3.py provider for faster JSON decoding.

This greatly improves JSON-RPC API access speeds, when fetching multiple and large responses.

Parameters

web3 (web3.main.Web3) –