Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

TypeError: "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);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #objects #type
ADD COMMENT
Topic
Name
1+6 =