Vault historical data reading
An example notebook how to - Read historical data of various ERC-4262 vaults. Example protocols include Morpho, Beefy, IPOR, Lagoon. - How to compare net and gross performance of these vaults in a notebook - In this notebook, we will read data from Base
Setting up
Make sure we have JSON-RPC connection
[ ]:
from urllib.parse import urlparse
import os
JSON_RPC_BASE = os.environ.get("JSON_RPC_BASE")
if JSON_RPC_BASE is None:
JSON_RPC_BASE = input("Give URL to Base JSON-RPC server")
try:
urlparse(JSON_RPC_BASE)
except ValueError:
raise ValueError(f"Invalid JSON-RPC Base URL: {JSON_RPC_BASE}")