Are there difference in normal token transfer events and ERC20 Token transfer events?

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
submitted by /u/finlaydotweber
[link] [comments]