install_poa_middleware

Documentation for eth_defi.compat.install_poa_middleware function.

install_poa_middleware(web3, layer=0)

Install proof-of-authority middleware.

Parameters
  • web3 (web3.main.Web3) –

  • layer (int) –