# Contract ABI

The ABI of bfBTC contracts can be categorized into two types, with slight differences between them:

* Contracts that use ERC20 assets as underlying assets
* Contracts that use Gas Tokens as underlying assets

1. Contracts that use ERC20 assets as underlying assets

[Download ERC20 ABI (JSON)](https://github.com/bitfi-labs/BitFi-gitbook/blob/main/.gitbook/assets/bfbtc-contract-abi-erc20.json)

2. Contracts that use Gas Tokens as underlying assets (Only on Bitlayer)

[Download Gas Token ABI (JSON)](https://github.com/bitfi-labs/BitFi-gitbook/blob/main/.gitbook/assets/bfbtc-contract-abi-gastoken.json)

All contracts have been verified on their respective network explorers. You can also interact with the contracts directly through the appropriate block explorer for each network.


---

# 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://bitfi-2.gitbook.io/bitfi/developer/bfbtc-overview/contract-abi.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.
