[Ethereum] How to confirm transaction as a receiver in metamask

metamasksolidity

My question is simple
If I want to send some ether to someone in remix like

contract Sender {
  function send(address _receiver) payable {
    _receiver.send(msg.value);
  }
}
  • Metamask asks me as a sender to confirm the transaction and thus
    simply send the amount to receiver without even asking him/her.

How can I make receiver accept the transaction ?

Best Answer

As long as the receiver is a payable address (i.e. a regular Ethereum account or a smart contract with a payable fallback function), they will automatically accept it.

Why do you think the receiver would not accept it, or what use case would there be for a receiver to reject a transaction?

Related Topic