# Smart Contracts

Blocktorch can be used for smart contracts deployed on&#x20;

* any [EVM blockchain](/concepts/data-sources/evm-chains.md) natively supported
* any custom EVM chain added through [your own rpc](https://app.gitbook.com/o/ON0xQpSk4zb6ZKG9umbE/s/5vTnL6SrT2qX7rXjH96E/~/changes/27/concepts/data-sources/evm-chains#bring-your-own-rpc)
* any [roll-ups](/concepts/data-sources/roll-ups.md) added to your blocktorch project
* any [local or managed hardhat fork](/concepts/data-sources/local-forks.md) added to your blocktorch project

Once you add a smart contract to blocktorch, our engine starts indexing the data of that smart contract. For all smart contracts we collect and index:

* transaction receipts
* logs
* events
* errors
* traces
* state changes
* balance changes

{% hint style="info" %}
Blocktorch also handles your contract correctly when using proxy contracts
{% endhint %}

{% content-ref url="/pages/skpjhG3vuKAVPlDUOkcx" %}
[Adding smart contracts](/concepts/data-sources/smart-contracts/adding-smart-contracts.md)
{% endcontent-ref %}

### Smart contract details

Once a smart contract has been added it can be clicked in the contract overview page to access all detailed information about his smart contract.&#x20;

<figure><img src="/files/RPvLsuxQu3DJOvV8BIKG" alt=""><figcaption></figcaption></figure>

The details page includes

* Status of monitors set for the smart contract
* General information like name, address and deployed blockchain of the smart contract
* Out of the box metrics about the smart contract

<figure><img src="/files/tg4UWVrybHbBcYtdoAKX" alt=""><figcaption></figcaption></figure>

* The ABI of the smart contract

<figure><img src="/files/PTpRzGVIdd6C6dqEqIFl" alt=""><figcaption></figcaption></figure>

* The source code of the smart contract

<figure><img src="/files/aZPTmVJwKJ7isJZM6XAb" alt=""><figcaption></figcaption></figure>

* All log information related to this smart contract

<figure><img src="/files/G7dKmAOtEDHbV9ECsSU5" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://docs.blocktorch.xyz/concepts/data-sources/smart-contracts.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.
