---
title: "Odos contract info"
method: GET
path: "/info/contract-info/{version}/{chain_id}"
tags: ["Information"]
---

# Odos contract info

`GET /info/contract-info/{version}/{chain_id}`

All relevant contract information for a given chain and router version.

## Response Body

| Parameter | Description |
| --- | --- |
| `chainId` | ID of the chain this information is relevant for. Can be used to confirm input and output chains match. |
| `routerAddress` | Address of the Odos Router Contract on the given chain and router version |
| `executorAddress` | Address of the Odos Executor Contract currently in use on the given chain and router version. This contract is updated frequently to add support for new liquidity sources. |
| `routerAbi` | ABI of the router |
| `erc20Abi` | ERC20 Token ABI |

## Path parameters

- `version` 'v3' | 'v2', required — Odos API supported versions
- `chain_id` integer, required

## Response `200`

Successful Response

- ContractInfo — Odos Contract Info Schema
  - `deprecated` string, nullable
  - `traceId` string, nullable
  - `chainId` integer, required
  - `routerAddress` string, required
  - `executorAddress` string, required
  - `routerAbi` object, nullable, required
  - `erc20Abi` object, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/odos/apis/odos-api.md) · [All operations](https://skmtc.dev/odos/apis/odos-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/odos/odos-api/revisions/326e35e349c9/schema)
