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
Hi, i have this error when I try to sell a token:
Attempt 1 failed: AsyncClient.send_transaction() got multiple values for argument 'opts'
Error type: TypeError
Error message: AsyncClient.send_transaction() got multiple values for argument 'opts'
Full traceback:
Traceback (most recent call last):
File "/Users/clouddistrict/Documents/devs/pump-fun-bot/learning-examples/manual_sell.py", line 141, in sell_token
tx = await client.send_transaction(
^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AsyncClient.send_transaction() got multiple values for argument 'opts'
reviewing this section of the code it seems to be correct: " tx = await client.send_transaction(
transaction,
[payer],
opts=TxOpts(skip_preflight=True, preflight_commitment=Confirmed),
)"
I'm using this version of solana and solder:
"Name: solana
Version: 0.35.1
Summary: Solana Python API
Home-page: https://github.com/michaelhly/solanapy
Author: Michael Huang
Author-email: [email protected]
License: MIT
Location: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages
Requires: construct-typing, httpx, solders, typing-extensions, websockets
Required-by: anchorpy, pyserum
clouddistrict@MacBook-Pro-de-Cloud-4 learning-examples % pip show solders
Name: solders
Version: 0.21.0
Summary: Python bindings for Solana Rust tools
Home-page: https://github.com/kevinheavey/solders
Author:
Author-email: kevinheavey [email protected]
License: MIT
Location: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages
Requires: jsonalias, typing-extensions
Required-by: anchorpy, solana"
Could you help me with this.
Regard, Juan
The text was updated successfully, but these errors were encountered:
Hi, i have this error when I try to sell a token:
Attempt 1 failed: AsyncClient.send_transaction() got multiple values for argument 'opts'
Error type: TypeError
Error message: AsyncClient.send_transaction() got multiple values for argument 'opts'
Full traceback:
Traceback (most recent call last):
File "/Users/clouddistrict/Documents/devs/pump-fun-bot/learning-examples/manual_sell.py", line 141, in sell_token
tx = await client.send_transaction(
^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AsyncClient.send_transaction() got multiple values for argument 'opts'
reviewing this section of the code it seems to be correct: " tx = await client.send_transaction(
transaction,
[payer],
opts=TxOpts(skip_preflight=True, preflight_commitment=Confirmed),
)"
I'm using this version of solana and solder:
"Name: solana
Version: 0.35.1
Summary: Solana Python API
Home-page: https://github.com/michaelhly/solanapy
Author: Michael Huang
Author-email: [email protected]
License: MIT
Location: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages
Requires: construct-typing, httpx, solders, typing-extensions, websockets
Required-by: anchorpy, pyserum
clouddistrict@MacBook-Pro-de-Cloud-4 learning-examples % pip show solders
Name: solders
Version: 0.21.0
Summary: Python bindings for Solana Rust tools
Home-page: https://github.com/kevinheavey/solders
Author:
Author-email: kevinheavey [email protected]
License: MIT
Location: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages
Requires: jsonalias, typing-extensions
Required-by: anchorpy, solana"
Could you help me with this.
Regard, Juan
The text was updated successfully, but these errors were encountered: