Skip to main content
Verifying a contract publishes its source code on the block explorer, where anyone can read it and confirm it matches the bytecode deployed on chain. Once verified, the source, ABI, and a read/write interface appear on the contract’s page. Verify by calling the API directly, or with the verify support built into Hardhat, Foundry, and Remix. Already verified? Read the published source and ABI back with the API.

Verify with the API

Submit source and check the result, on any chain with one key.

Get Verified Source Code

Read a verified contract’s source and ABI.

Verify with Hardhat

Verify from a Hardhat project with the official verify plugin.

Verify with Foundry

Verify from Foundry, on deploy or for an existing address.

Verify with Remix

Verify from the Remix IDE, right in your browser.

Common Verification Errors

Fix bytecode mismatches and compiler setting failures.