From 80198db84278e39f6196cd419b9661873d258b24 Mon Sep 17 00:00:00 2001 From: 0x0v4 <20mitchellthomas02@gmail.com> Date: Sat, 7 Feb 2026 10:04:12 +0100 Subject: [PATCH] Update verify-contract-with-basescan.md --- docs/learn/foundry/verify-contract-with-basescan.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/learn/foundry/verify-contract-with-basescan.md b/docs/learn/foundry/verify-contract-with-basescan.md index 1fbe9da20..42bec4946 100644 --- a/docs/learn/foundry/verify-contract-with-basescan.md +++ b/docs/learn/foundry/verify-contract-with-basescan.md @@ -161,7 +161,7 @@ async function verifySourceCode() { const params = new URLSearchParams({ module: 'contract', action: 'verifysourcecode', - apikey: 'DK8M329VYXDSKTF633ABTK3SAEZ2U9P8FK', //remove hardcode + apikey: '', }); const data = new URLSearchParams({ @@ -258,7 +258,7 @@ Result is the GUID and is a unique identifier for checking the status of your co To verify the contract, let's create a curl request with the following parameters ```bash -curl "https://api.basescan.org/api?module=contract&action=checkverifystatus&guid=cqjzzvppgswqw5adq4v6iq4xkmf519pj1higvcxsdiwcvwxemd&apikey=DK8M329VYXDSKTF633ABTK3SAEZ2U9P8FK" +curl "https://api.basescan.org/api?module=contract&action=checkverifystatus&guid=cqjzzvppgswqw5adq4v6iq4xkmf519pj1higvcxsdiwcvwxemd&apikey=" ``` Run the command and you will see a that the contract should already be verified based on the `result` field