0

I am interested in this tx hash:

0x526b21b2bb3556a199a5794b053a8be229ddae99aa222bc300b0efaba1f1fc01

As you can tell from Etherscan, the Ether value is 0. However, the contract it was sent to (0x94b18793b93b524b110fead408b955422b982fa4) says there is a transfer worth 585 Ether. My question is why does the value appear as 0?

I understand the value being 0 when no Ether is transferred, but rather a different token. However, I cannot understand why the value, in this case, is 0 when the transaction has been handled in Eth.

Can someone please help me understand? Cheers.

1 Answer 1

1

The transaction you ask about is a smart contract call with no msg.value set. The "Value" field on etherscan is set only if there is some ETH sent with the smart contract call, it does not take any ETH sending / receiving done by the contract into account.

5
  • Hey man, thanks for your answer. I appreciate your time. Are you able to help me understand a bit more what a smart contract call is? Cheers Commented Oct 27, 2022 at 14:25
  • Let me rephrase that. I understand a smart contract call is merely a way of interacting with the contract. My confusion is understanding it from the practical POV. Company A interacts with contract X in order to transfer money to Company B. In this case, contract x only interacted with other contracts Y and Z. How is the transfer from Company A and Company B possible if no Ether is actually transferred at all? Hope you can give me a hand here. Cheers Commented Oct 27, 2022 at 14:44
  • You can send the ETH to the contract address beforehand, as they did in the given contract (example transaction can be found here) Commented Oct 27, 2022 at 14:55
  • Nice. Thanks for sharing that txid. Now, going back to the same example. Company A sends eth to contract X beforehand. Meaning that company B can now interact with contract X without requiring Company A to interact directly with Company B? Did I understand that correctly? Commented Oct 27, 2022 at 15:54
  • Yes, these companies can communicate through the contract X without communicating directly to each other. Commented Oct 27, 2022 at 20:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.