You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's your issue translated and formatted for a GitHub issue:
Title: Error when querying CW20 token balance using terra.js
Body:
I am encountering an issue when trying to query the balance of a CW20 token using terra.js. Specifically, I receive an AxiosError: Request failed with status code 501 error.
Interestingly, if I create the LCDClient object with an empty chainID field, I am able to query the balance. However, this leads to another issue where I am unable to send tokens.
Here is the code I am using to create the LCDClient object:
Here's your issue translated and formatted for a GitHub issue:
Title: Error when querying CW20 token balance using terra.js
Body:
I am encountering an issue when trying to query the balance of a CW20 token using terra.js. Specifically, I receive an AxiosError: Request failed with status code 501 error.
Interestingly, if I create the LCDClient object with an empty chainID field, I am able to query the balance. However, this leads to another issue where I am unable to send tokens.
Here is the code I am using to create the LCDClient object:
const client = new LCDClient({ URL: 'https://terra-classic-lcd.publicnode.com', chainID: '', // chainID: 'columbus-5', gasPrices: "0.15uluna", gasAdjustment: 1.4, });
The text was updated successfully, but these errors were encountered: