Skip to content

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
Discussion options

You must be logged in to vote

Hello @Apostleasd, The from field you saw when you opened the transaction details of the sendViaTransfer function does not specify the sender of the ETH but instead, the address that initiated the sendViaTransfer transaction. So, the ETH was sent using the SendEth contract. The address displayed in the from field of the sendViaTransfer transaction details is the address your remix was connected to when you clicked on the sendViaTransfer function button.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Apostleasd
Comment options

@EngrPips
Comment options

Answer selected by Apostleasd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants