is_ankr

Documentation for eth_defi.provider.ankr.is_ankr function.

is_ankr(web3)[source]

Are we connected to Ankr as a provider.

We use this function to detect and activate Ankr workarounds for their bugs and features.

Parameters

web3 (web3.main.Web3) –

Return type

bool