0
var Block = await web3.eth.getBlock(block_identifier = web3.eth.defaultBlock, full_transactions = true);
var transactions = Block.transactions;

This is how I get transactions on the BSC network, but how do I get transactions in a block with BEP-20 tokens? Like Paraswap?

I tried, but I don't understand how it can be traced

Lower
  • 27
  • 1
  • 4
  • Does this answer your question? [Get USDC (or any non-ETH value) from transaction using web3.js](https://stackoverflow.com/questions/70177717/get-usdc-or-any-non-eth-value-from-transaction-using-web3-js) – Petr Hejda Mar 23 '22 at 14:33
  • @PetrHejda, no. – Lower Mar 23 '22 at 21:25

0 Answers0