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