> For the complete documentation index, see [llms.txt](https://leandexer.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leandexer.gitbook.io/home/getting-started/tracking-custom-smart-contract.md).

# Tracking Custom Smart Contract

If you want to track a custom smart contract, such as a DeFi liquidity pool, DAO governance contract, or any other type of contract beyond ERC-20, ERC-721, or ERC-3643, you can easily set up a new event stream in just a few simple steps:

1. **Project Categorization:** select the project name under which you would like to categorize this custom smart contract. If no project has been created yet, click on "+ Projects," enter a project name in the field, and click "Add Project."
2. **Network:** Choose the blockchain network where the custom smart contract is deployed.
3. **Smart Contract Address:** Enter the address of the custom smart contract you want to monitor.
4. **Contract Type:** Select the "Track Custom Smart Contract" radio button to specify that you are tracking a non-standard contract.
5. **Custom ABI Name:** Assign a name to your custom smart contract for easy identification.
6. **Custom ABI:** Input the custom ABI (Application Binary Interface) of the custom smart contract in JSON format. For deployed well-known contracts, such as an Uniswap V3 liquidity pool, you can find the ABI directly from the blockchain explorer of the respective network. Simply enter the contract address, navigate to the "Contract" section, and copy the ABI in JSON format.
7. **Event Type:** Define the specific events emitted by the smart contract that you wish to track (e.g., swaps, liquidity additions, governance votes).
8. **Notifications:** Select your preferred notification method to stay informed about events related to the custom smart contract. Options include email or webhook, allowing seamless integration into your workflow for real-time updates.

<figure><img src="/files/oXTyE2dAAQRxzEhkhAzd" alt=""><figcaption><p>Add a New Event Stream for Custom Smart Contract</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://leandexer.gitbook.io/home/getting-started/tracking-custom-smart-contract.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
