Skip to content

Commit b378489

Browse files
committed
Update curl example to use x-secret-key header
Replaces the 'x-client-id' header with 'x-secret-key' in the curl example for contract read API, ensuring the correct authentication method is demonstrated.
1 parent 6650dd9 commit b378489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dashboard/src/@/components/contracts/code-overview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ const data = await response.json();`,
361361
read: `curl https://api.thirdweb.com/v1/contracts/read \\
362362
--request POST \\
363363
--header 'Content-Type: application/json' \\
364-
--header 'x-client-id: <YOUR_CLIENT_ID>' \\
364+
--header 'x-secret-key: <YOUR_SECRET_KEY>' \\
365365
--data '{
366366
"calls": [
367367
{

0 commit comments

Comments
 (0)