Skip to content

Conversation

@jeffbrownn
Copy link
Contributor

@jeffbrownn jeffbrownn commented Jan 29, 2026

Description

Error: await.contract...etc was written, which is an error.

Issue(s) fixed

Fixed: await contract...etc, which is correct.

Fixes #

Preview

Checklist

  • If this PR updates or adds documentation content that changes or adds technical meaning, it has received an approval from an engineer or DevRel from the relevant team.
  • If this PR updates or adds documentation content, it has received an approval from a technical writer.

External contributor checklist

  • I've read the contribution guidelines.
  • I've created a new issue (or assigned myself to an existing issue) describing what this PR addresses.

Note

Low Risk
Low risk documentation-only change that fixes a broken JavaScript snippet; no runtime code or APIs are affected.

Overview
Fixes a typo in the ERC-20 balance retrieval tutorial so the Web3.js example correctly awaits contract.methods.balanceOf(tokenHolder).call() (instead of the invalid await.contract...).

Written by Cursor Bugbot for commit 2d51535. This will update automatically on new commits. Configure here.

@jeffbrownn jeffbrownn requested review from a team as code owners January 29, 2026 16:22
@vercel
Copy link

vercel bot commented Jan 29, 2026

@jeffbrownn is attempting to deploy a commit to the Consensys Team on Vercel.

A member of the Team first needs to authorize it.

@jeffbrownn jeffbrownn changed the title fix: syntax error in nonworking code fix: error in code Jan 30, 2026
@vercel
Copy link

vercel bot commented Jan 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
metamask-docs Ready Ready Preview, Comment Jan 30, 2026 0:47am

Request Review

Copy link
Contributor

@m4sterbunny m4sterbunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@m4sterbunny m4sterbunny merged commit 2f4c639 into MetaMask:main Jan 30, 2026
17 checks passed
@jeffbrownn
Copy link
Contributor Author

LGTM

LTGM Fam!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants