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 in the manual buy example #14

Open
fasogbon opened this issue Nov 24, 2024 · 1 comment
Open

Error in the manual buy example #14

fasogbon opened this issue Nov 24, 2024 · 1 comment

Comments

@fasogbon
Copy link

fasogbon commented Nov 24, 2024

Please, I am having the following error. Do I need to get a better RPC?
I am currently using chainlink one and i am still having this error


`New token created:
{
  "name": "Bill",
  "symbol": "Bill",
  "uri": "https://ipfs.io/ipfs/Qmcj69Qnqq13fJp3ggfraB3bTCNgg3oy16aqsTa8LsQuP7",
  "mint": "AR1hiozJuJSE5bJ51scMeqVSEJa5GunRoSrbgpnRpump",
  "bondingCurve": "AATFWxsGx7zLyW2awd1iQ9PuBA8wqppqHaiveP5BYsu3",
  "associatedBondingCurve": "F2r4B88tw7trf53SKXhyRWnmea7bTuEjR9bzJzzNBcXW",
  "user": "EB11GPWhrJubQ2y21ZfUb2th1SnsVJ3EDwNd7rVGTRkd"
}
Waiting for 15 seconds for things to stabilize...
Bonding curve address: AATFWxsGx7zLyW2awd1iQ9PuBA8wqppqHaiveP5BYsu3
Token price: 0.0000004109 SOL
Buying 0.000010 SOL worth of the new token with 30.0% slippage tolerance...

Traceback (most recent call last):
  File "C:\Users\AppData\Roaming\Python\Python312\site-packages\solana\exceptions.py", line 58, in argument_decorator
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AppData\Roaming\Python\Python312\site-packages\solana\rpc\providers\async_http.py", line 59, in make_request
    raw = await self.make_request_unparsed(body)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AppData\Roaming\Python\Python312\site-packages\solana\rpc\providers\async_http.py", line 66, in make_request_unparsed
    return _after_request_unparsed(raw_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AppData\Roaming\Python\Python312\site-packages\solana\rpc\providers\core.py", line 136, in _after_request_unparsed
    raw_response.raise_for_status()
  File "C:\Users\AppData\Roaming\Python\Python312\site-packages\httpx\_models.py", line 749, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '429 Too Many Requests' for url 'https://solana-mainnet.core.chainstack.com/db6742819b8c3eefd5b614c6a44xxxxxb'
For more information check: https://httpstatuses.com/429

The above exception was the direct cause of the following exception:`
@akegaviar
Copy link
Contributor

Hey there, looks like you are hitting the requests per second (RPS) limit. Are you on the free developer plan? You may want to upgrade to the Growth plan for a higher RPS limit or reduce the number of calls you are making per second.

For the current limits, see our Developer Portal: Limits

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

2 participants