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

Transaction fees and rental calculations #1293

Open
querli opened this issue Mar 3, 2024 · 0 comments
Open

Transaction fees and rental calculations #1293

querli opened this issue Mar 3, 2024 · 0 comments
Labels

Comments

@querli
Copy link

querli commented Mar 3, 2024

Hello, I am currently having problems sending transactions. I have read the test case in the example, but there are still questions:
1, the transaction fee is composed of several parts, see the document is charged according to the signature, a signature is charged a fixed 5000 lamport, or according to the byte charge? I see that the transaction SOL coin is charged a fixed 0.000005 SOL, but I don't know what the fee is for trading tokens.
2, the transaction into the token, first determine whether the user has an account, there is no need to create and pay fees, how to calculate and charge this fee?
3. How to determine whether the balance of SOL is enough to pay the transaction fee when the transaction is transferred to token?

@querli querli added the library label Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant