Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Blockchain CBDE Exam - Topic 2 Question 128 Discussion

You need to use ____________ to get the address that initiated the transaction.
A) Tx.origin
B) Msg.sender

Blockchain CBDE Exam - Topic 2 Question 128 Discussion

Actual exam question for Blockchain's CBDE exam
Question #: 128
Topic #: 2
[All CBDE Questions]

You need to use ____________ to get the address that initiated the transaction.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Kanisha
1 day ago
Msg.sender gives the right address for the transaction.
upvoted 0 times
...
Jacklyn
7 days ago
I feel like Tx.origin is too broad.
upvoted 0 times
...
Dick
12 days ago
Msg.sender is safer for contract interactions.
upvoted 0 times
...
Tricia
17 days ago
Tx.origin can be misleading sometimes.
upvoted 0 times
...
Gertude
22 days ago
I prefer B) Msg.sender. It's more reliable for the current context.
upvoted 0 times
...
Paulene
27 days ago
I think it's A) Tx.origin. It shows the original sender.
upvoted 0 times
...
Jerlene
1 month ago
B) Msg.sender is the way to go, no doubt!
upvoted 0 times
...
Marquetta
1 month ago
Wait, are you guys sure about that? Sounds off.
upvoted 0 times
...
Ronnie
1 month ago
Nah, it’s A) Tx.origin for sure.
upvoted 0 times
...
Tamar
2 months ago
I thought it was A) Tx.origin, but I see the point.
upvoted 0 times
...
Cathern
2 months ago
Definitely B) Msg.sender!
upvoted 0 times
...
Mila
2 months ago
I remember reading that Msg.sender is generally preferred to avoid security issues, but I can't recall the exact reason.
upvoted 0 times
...
Idella
2 months ago
I’m not entirely sure, but I feel like Tx.origin is used for getting the original sender's address.
upvoted 0 times
...
Alline
2 months ago
I practiced a question like this, and I chose Msg.sender because it refers to the immediate sender of the message.
upvoted 0 times
...
Lizette
2 months ago
I think it's Tx.origin, but I remember something about Msg.sender being more secure in certain contexts.
upvoted 0 times
...

Save Cancel