flutter_web3 icon indicating copy to clipboard operation
flutter_web3 copied to clipboard

How I can get all Transactions of specific address or last 100 ?

Open hm86z opened this issue 2 years ago • 1 comments

hello, is there any function to get all transactions for specifi ether address?

hm86z avatar Mar 10 '22 12:03 hm86z

Hello, @hm86z. Actually, the package does not support that.

From my research so far there is no way to get a transaction list for an address. You should check all the transactions in the blockchain for the given address or relate addresses to transaction hashes in a database. See this thread that confirms the lack of the needed API: ethereum

An alternative to this is to use Etherscan API But it depends on a third-party server. Bad enough that the package does not have an Etherscan provider yet.

Also, since the package depends on ethers.js the same issue was outlined on the package's repository.

4xMafole avatar Jan 17 '23 23:01 4xMafole