Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when querying CW20 token balance using terra.js #357

Open
imagine2do opened this issue Jun 20, 2023 · 0 comments
Open

Error when querying CW20 token balance using terra.js #357

imagine2do opened this issue Jun 20, 2023 · 0 comments

Comments

@imagine2do
Copy link

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, });

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

No branches or pull requests

1 participant