Skip to content

msg.value #1593

Answered by alymurtazamemon
ghost asked this question in Q&A
Aug 7, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

@Samprokshana msg.value will be in Wei but if you want in Gwei or ETH than divide msg.value by 1e9 or 1e18 respectively.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@krakxn
Comment options

Answer selected by alymurtazamemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants