From this, I know how to send ether to contract address itself. But I have a function defined as payable, then how can I call and send ether at the same time?
for example, my contract is like this,
contract MyTest {
function DepositEther(address _to, string _title) payable external {
//do something inside..
}
}
Thank you.