Need Help Urgent : How can i send ether inside the contract to an adress via call method confusion in Units(wei,gwei,eth) #4685
-
I wnat to send for eg: 1.8 eth to an address via call method inside lottery contract. what unit I should use (wei,gwei,eth) (bool success,) = recentWinner.call{value:uint256(1.8*e8)}(""); is this correct |
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Feb 2, 2023
Replies: 2 comments 5 replies
-
@alymurtazamemon @pacelliv @rin-st @mattjaf @Koowah @DorianDaSilva @Neftyr @notmhyr |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ritesh798 You are use |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
ritesh798
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ritesh798 You are use
ether
unit.1.8 ether