hi guys! anyone knows how to only listen to verified smart contracts on eth blockchain

Jul 21, 2023, 10:08 AM
you can use eth api
Jul 21, 2023, 10:09 AM
eth api provides that? i went thru the documentation, they only have a website version
https://etherscan.io/contractsVerified
Jul 21, 2023, 10:09 AM
https://docs.etherscan.io/getting-started/creating-an-account
Jul 21, 2023, 10:17 AM
create an account?
Jul 21, 2023, 10:17 AM
you should get api key
then you can read api endpoint etc
Jul 21, 2023, 10:18 AM
i have an api key and i know how it all works, but my situation is that i would want to listen to verified source code of token creation using web socket / hook
Jul 21, 2023, 10:19 AM
if you know abi of the contract you can listen that you want specific function etc
Jul 21, 2023, 10:21 AM
currently i am only listening to new blocks and then filter out token creation
Jul 21, 2023, 10:21 AM
https://docs.etherscan.io/api-endpoints/logs
Jul 21, 2023, 10:22 AM
before getting the abi of the contract, the contract needs to be verified via the deployer
Jul 21, 2023, 10:22 AM

© 2024 Draquery.com All rights reserved.