{"library":"multicall","title":"Multicall","description":"Aggregate results from multiple Ethereum contract calls into a single RPC call, using the MakerDAO Multicall contract. Current version 0.15.2, compatible with Python >=3.10 and <4. Release cadence is irregular.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install multicall"],"cli":null},"imports":["from multicall import Multicall","from multicall import Call"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from multicall import Multicall, Call\nfrom web3 import Web3\n\nw3 = Web3(Web3.HTTPProvider('https://mainnet.infura.io/v3/YOUR-PROJECT-ID'))\nmulti = Multicall([\n    Call(('0x...', 'balanceOf(address)(uint256)'), [['0x...', None]]),\n], _w3=w3)\nresult = multi()\nprint(result)","lang":"python","description":"Create a Multicall instance with a list of Call objects, then call it to aggregate results.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}