I encountered a problem while writing a smart contract to send ETH. Please provide me with an answer #1727
Answered
by
EngrPips
Apostleasd
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
EngrPips
May 17, 2024
Replies: 1 comment 2 replies
-
Hello @Apostleasd, The |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Apostleasd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @Apostleasd, The
from
field you saw when you opened the transaction details of thesendViaTransfer
function does not specify the sender of the ETH but instead, the address that initiated thesendViaTransfer
transaction. So, the ETH was sent using theSendEth
contract. The address displayed in thefrom
field of thesendViaTransfer
transaction details is the address your remix was connected to when you clicked on thesendViaTransfer
function button.