Metamask Transactions – Send Value with Transaction Using Metamask and Browser-Solidity

blockchaindapp-developmentmetamaskremixtransactions

Using browser-solidity in combination with metamask I am testing a new contract on testnet https://testnet.etherscan.io/address/0xc03db39c18b6056f8c3a3a5495a1e11f3ff8885a but when trying to call refillFunds() method:

/* Refill SC funds to feed faucet requests */
function refillFunds() payable returns (uint256) {
    calledRefillFunds(msg.sender, timestamp(), msg.value); // Log

    return 1;
}

I got this screen to perform a transaction

enter image description here

but there is no option (or I cannot find where it is) to transfer 1 ether for example. The only option seems to be to transfer 0 ethers and pay the fees.

Any reason why I cannot send non-zero value with metamask interface in this transaction? Thx!

Best Answer

In Browser Solidity, there is a tab where you can set the parameters to use when sending a transaction enter image description here

Related Topic