I wrote likeaddress[] payable memory thisAddress in function argument but compiler not passing it

1 Answer 1


Look at my test code and it might help you:

pragma solidity ^0.5.8;

contract Test {
    function multipleTransfer(address payable[] memory _addr, uint256 _amount) public {
        uint256 len = _addr.length;
        for (uint256 i = 0; i < len; i+=1) {

In your case your method parameter will look like address payable[] memory thisAddress.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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