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

api not work #1

Open
uranik777 opened this issue Jul 31, 2023 · 0 comments
Open

api not work #1

uranik777 opened this issue Jul 31, 2023 · 0 comments

Comments

@uranik777
Copy link

import { useGetLivePrice } from "react-pancakeswap-token-price";

let useGetLivePriceObj = useGetLivePrice();
useGetLivePriceObj.getPrice('0x55d398326f99059fF775485246999027B3197955').then(console.log).catch(console.error);

RESULT:

{
  error: {
    code: 500,
    message: 'Network error: Unexpected token i in JSON at position 0'
  }
}
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