Adapter
Your dApp or protocol needs adapters if you need to transform the raw on-chain data into meaningful information relevant to the protocol's core logic.
Overview
Structure
type Adapter = {
appKey: string;
transformers?: Record<Chain, Array<Transformer>>;
tvlExtractors?: Record<Chain, Array<TvlExtractor>>;
};Basic adapter
FAQs
1. Which specific data does the adapter actually monitor?
2. Is there a way to monitor data across multiple contracts with identical events?
3. What is the process for verifying the functionality of event handling?
4. What is the process for performing a contract call in an adapter?
Need Help? Contact Our Team
Last updated