The method to aggregate functions belonging to contracts is given in this library: https://pypi.org/project/web3-multicall/
But my question is, how can I aggregate a basic web3 function (that is not a part of any contract) too using Multicall?
In my case, I want to get multiple transaction receipts/timestamps (using the web3.eth.get_transaction_receipt()
or web3.eth.getBlock().timestamp
function) via a single API call.
Would it be possible for them or any other basic non-contract functions such as web.eth.eth_balance()
to be used with the Multicall feature?