There are two swaps this morning, one succeeds and the other failed.
I added the Priority Fee a few days ago, so that shouldn't be a problem anymore. When I looked into the log, I was surprised to find out that:
Error transferring SOL: RangeError: The number 1034197046.9999999 cannot be converted to a BigInt because it is not an integer
So one paramerter to feed into the transfer SOL api is lamports, the smallest unit and it was like:
amountSOL * solanaWeb3.LAMPORTS PER SOL
The amountSOL is 1.0341970473037272 which multiples 1000000000 somehow becomes 1034197046.9999999 However, I check the console in Chrome, the multiplication answer is different: 1034197047.3037271
Anyway, I just have to truncate the decima values and this should fix the problem.
Thank you for using the Swap tool!
Steem to the Moon🚀!
- You can swap the STEEM/SBD to SOL Solana via steem2sol!
- You can swap the STEEM/SBD to ETH Ethereum via steem2eth!
- You can swap the STEEM/SBD to Tether USDT (TRC-20) via steem2usdt!
- You can swap the STEEM/SBD to TRX (TRON) via steem2trx!
- You can swap the STEEM/SBD to BTS (BitShares) via steem2bts!
- Register a free STEEM account at SteemYY!
- Steem Block Explorer
- ChatGPT/Steem Integration: You can type !ask command to invoke ChatGPT
- Steem Witness Table and API
- Other Steem Tools
Thanks @justyy for the update and the fix!!
I will give it a try tomorrow Monday😀
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit