---
title: "Import deployed contract trying to fetch metadata and files form IPFS"
method: POST
path: "/session/input-contract"
tags: ["(Deprecated) Session Verification"]
deprecated: true
---

# Import deployed contract trying to fetch metadata and files form IPFS

`POST /session/input-contract`

> **Deprecated.**

## Request body

- object
  - `address` string, address, required
  - `chainId` string, supported-chainId, required

## Response `200`

Response is sent when the upload is successful under different conditions.

- object
  - `contracts` object[]
    - `compiledPath` string
    - `name` string
    - `compilerVersion` string
    - `files` object
      - `found` string[]
      - `missing` string[]
    - `verificationId` string
    - `status` 'perfect' | 'partial' | 'error'
  - `unused` string[]

## Other responses

- `413` — Payload Too Large

---

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