I am a beginner to solidity and I came across this concept called "Low-Level Calls". What exactly is a Low-level function? and How is it different from others?

2 Answers 2


In Solidity, the address object has a method named call() through which you can call every function you want, and if the address implements it, it will be triggered.

For example:

contract SomeContract {
    function any() public {
        (bool success, bytes memory result) = addr.call(abi.encodeWithSignature("myFunction(uint,address)", 10, msg.sender);
        // if success is `true` the function exists and it had returned some result
        (uint a, uint b) = abi.decode(result, (uint, uint)); // This is an example of how the result might have been decoded

You can also use this syntax:

address.call.gas(50000).value(1 ether)(data);

Here, you forward some ETH and gas. The variable data is something like this:


The first 4 bytes after the 0x symbol represent the function signature - the first 4 bytes of the function signature after encoding it with the keccak256 hash function. In this case, it is the first 4 bytes of


Everything after that is the representation of the calldata which will be parsed as the function arguments.


Low level interactions are used to send funds or calldata or funds & calldata to a contract through the receive() or fallback() function.

Examples of low level functions are call and delegate call.

The difference between low level functions to a regular solidity function is that low level functions only works when fallback/receive are implemented.

Also when a call is being made from a low level function to a regular function, we display "transact to ... (fallback)" instead of writing the name of the function.

For in-depth info check out https://medium.com/remix-ide/low-level-interactions-on-remix-ide-5f79b05ac86

  • Low level interactions can do anything high level interactions can do, and more besides. A low level call can call any externally visible function.
    – Meriadoc
    May 30 at 7:26

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.