Track positions on Morpho

Learn how to query Morpho, on-chain via a Smart Contract & off-chain via ethers.js, TheGraph or the REST API.
In order to efficiently query data from the protocol, Morpho-Compound is equipped with a Lens that exposes on-chain & off-chain view endpoints. You can find simple, concrete examples in the following subsections or deep dive into the query endpoints here.


Morpho uses delegatecalls to delegate logic to implementation contract and thus does not have an ABI with all existing events.
Please find below the complete ABIs addressing this issue: