I am trying to understand the arguments of the built-in Solidity's (or EVM's: I am not sure) call function. I know it has 4 arguments. I am trying to understand the call function at: Syntax Error in Program

The implicit call method in the above link is:

 a.blah.value(ValueToSend)(2, 3);

I am telling the 4 argumens, kindly let me correct if I am wrong:

  1. Amount of gas: calculated by the EVM system using some formula?
  2. Destination address: a.blah
  3. Ether= Value to send
  4. input/output: input = 2 & 3: output=?

Is the following the explicit version of above call but it would invoke the fallback function instead of blah(...), is this correct?:


Some body please guide me.


  • 3
    Possible duplicate of What does Solidity's "call" function mean? – Hamza Ahmed Jun 21 '19 at 8:05
  • 1
    The sentence a.blah.value(ValueToSend)(2, 3) is interpreted as call function blah from contract a with parameters 2, 3 and send ValueToSend wei. On the other hand a.call.value(ValueToSend)(2,3) is a syntax error on solidity 0.5 because it only accepts bytes as parameter to call. – Ismael Jun 21 '19 at 16:21
  • And the output of call would be true/false along with some argument? – zak100 Jun 22 '19 at 1:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.