So I learnt that ERC20 tokens have Transfer
and TransferFrom
event. From my understanding Transfer
event is when a transaction comes from an address to the smart contract instructing the transfer of some of its tokens to another address. TransferFrom
, comes from an address that has been pre approved to transfer tokens from another address.
Here are my questions:
- What event is triggered when normal transfer of Eth from one account to another account occurs?
- What example are there on how to subscribe to these events using the JSON_RPC endpoints? Is subscribing to ERC20 token events different from subscribing to normal Ethereum transfer?
- How will same transactions look like using a library like ethers-rs
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments