<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vaibhav</title>
    <description>The latest articles on DEV Community by Vaibhav (@truevaibhav).</description>
    <link>https://dev.to/truevaibhav</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F478477%2Fc2d92699-ee2e-46c2-91cb-0704556d3f7a.jpg</url>
      <title>DEV Community: Vaibhav</title>
      <link>https://dev.to/truevaibhav</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/truevaibhav"/>
    <language>en</language>
    <item>
      <title>Please Help!</title>
      <dc:creator>Vaibhav</dc:creator>
      <pubDate>Thu, 02 Feb 2023 06:38:46 +0000</pubDate>
      <link>https://dev.to/truevaibhav/please-help-pf8</link>
      <guid>https://dev.to/truevaibhav/please-help-pf8</guid>
      <description>&lt;p&gt;Hey!&lt;br&gt;
Does anyone know how to get balance of token deployed on thirdweb into React app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My code is:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const balance = await token.balanceOf(walletAddress);
console.log(balance.displayValue);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I'm getting this error: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhztq9rlchbio5wnws4i2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhztq9rlchbio5wnws4i2.png" alt="Error Image" width="800" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am taking reference from &lt;br&gt;
&lt;a href="https://portal.thirdweb.com/solana-sdk/sdk.token.balanceof" rel="noopener noreferrer"&gt;Link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks in advance!&lt;/p&gt;

</description>
      <category>offers</category>
      <category>cryptocurrency</category>
      <category>web3</category>
    </item>
  </channel>
</rss>
