---
title: "POST /v1/contracts/{id}/verify"
method: POST
path: "/v1/contracts/{id}/verify"
---

# POST /v1/contracts/{id}/verify

`POST /v1/contracts/{id}/verify`

Verify a deployed contract's source code on block explorer (Etherscan, Basescan, etc.)

## Path parameters

- `id` string, required

## Request body

- union
  - object
  - VerifyContractParams
    - `chainId` integer, required
    - `contractAddress` string — Optional - uses address from deployment if not provided

## Response `200`

OK

- VerifyContractResponse
  - `contractAddress` string
  - `explorerUrl` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.dev/b3os/apis/b3os-workflow-api.md) · [All operations](https://skmtc.dev/b3os/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/b3os/apis/b3os-workflow-api/revisions/05b9c5de7836?raw)
