> For the complete documentation index, see [llms.txt](https://docs.blocktorch.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blocktorch.xyz/concepts/data-sources/smart-contracts.md).

# 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="https://4201788747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5vTnL6SrT2qX7rXjH96E%2Fuploads%2F3OrcwKp8pnvq7Rhov9uk%2FScreenshot%202024-02-22%20at%2017.36.06.png?alt=media&amp;token=03aa8ba4-cd41-497d-ab02-e3b639c7a832" 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="https://4201788747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5vTnL6SrT2qX7rXjH96E%2Fuploads%2FTH2HbJP3KPRAzvih1t3k%2FScreenshot%202024-02-22%20at%2017.36.16.png?alt=media&amp;token=c45500a0-a24e-42b3-bb3f-3d7b18c59254" alt=""><figcaption></figcaption></figure>

* The ABI of the smart contract

<figure><img src="https://4201788747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5vTnL6SrT2qX7rXjH96E%2Fuploads%2FFoSxlHoYdxvz5wbgFGQq%2FScreenshot%202024-02-22%20at%2022.52.38.png?alt=media&amp;token=14b37276-e4de-4c0f-9a6e-3801bd1f71e2" alt=""><figcaption></figcaption></figure>

* The source code of the smart contract

<figure><img src="https://4201788747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5vTnL6SrT2qX7rXjH96E%2Fuploads%2FCdTsZnZqWvOkD7IyPJnZ%2FScreenshot%202024-02-22%20at%2017.36.39.png?alt=media&amp;token=95e33ce4-2580-485c-a997-1ec7ab092470" alt=""><figcaption></figcaption></figure>

* All log information related to this smart contract

<figure><img src="https://4201788747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5vTnL6SrT2qX7rXjH96E%2Fuploads%2Fv4sNDgzc9sKK4sK6cBOD%2FScreenshot%202024-02-22%20at%2017.36.52.png?alt=media&amp;token=29787e29-02da-4fa4-b589-09151e203140" alt=""><figcaption></figcaption></figure>
