Answers for ""send" and "transfer" are only available for objects of type "address payable", not "address"."

1

"send" and "transfer" are only available for objects of type "address payable", not "address".

// You need to mark the request.recipient as payable

payable(request.recipient).transfer(request.value);
Posted by: Guest on February-02-2022

Code answers related to ""send" and "transfer" are only available for objects of type "address payable", not "address"."

Code answers related to "TypeScript"

Browse Popular Code Answers by Language