Skip to main content
🔮 Output PredictionSO Solidity Hard⚡+35 XP

msg.value Usage

What does msg.value contain in a payable function?

Solidity
function deposit() external payable {
  balances[msg.sender] += msg.value;
}

🔮 What is the output?