One of the Tron2STEEM transaction shows unconfirmed incorrectly
@ady-was-here (possibly) sent a swap - but the record shows "Awaiting Confirmation" for a few hours.
This is the result from the trongrid API:
BlockNumber 68463950, {"id":"57304383724b0787186d47b441e17261296d8128c39fdd08e8476bbca104deb4","fee":1282000,"blockNumber":68463950,"blockTimeStamp":1736042958000,"contractResult":[""],"receipt":{"net_fee":282000}} Transaction ID: 57304383724b0787186d47b441e17261296d8128c39fdd08e8476bbca104deb4
const isSuccess = (transactionInfo.receipt && transactionInfo.receipt.result === 'SUCCESS') || ((transactionInfo.blockNumber !== undefined) && (transactionInfo.receipt.net_usage > 0);
The boolean is evaluated to false because it has a net_fee
instead of net_usage
. Thus, changing to the following which triggered the swap.
const isSuccess = (transactionInfo.receipt && transactionInfo.receipt.result === 'SUCCESS') || ((transactionInfo.blockNumber !== undefined) && (transactionInfo.receipt.net_usage > 0 || (transactionInfo.receipt.net_fee > 0)));
Steem to the Moon🚀!
- You can rent Steem Power via rentsp!
- You can swap the TRON:TRX/USDT/USDD to STEEM via tron2steem!
- 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