Replies: 1 comment
-
@T0BiD hi, do you resolve that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a question:
I have a backend for my app (personal use) which checks every block, goes through the transactions and if there's an incoming/outgoing tx, I'll get a message.
I have a problem with certain kinds of transactions though, where I cannot get all the data I need without doing an extra request for every single transaction.
Take a look at this tx (not mine but a good example):
https://bscscan.com/tx/0x9cbd7bfe7efa97a0601e9802ca0363533fa2b93572b09e64aa633b041a9a7eb8
Neither 'from' nor 'to' contains the address which actually received the BNB. It's happening within the contract.
Now, I can check the input data, decode it and I'll find the address. Unfortunately, the method getBlockWithTransactions doesn't return this data.
I'd have to use getTransactionReceipt() to get the data, but I obviously do not want to call this for every single transaction in every single block.
Does anyone has any idea on how to check this?
Beta Was this translation helpful? Give feedback.
All reactions