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
Tamar
3 days ago
I thought it was A) Tx.origin, but I see the point.
upvoted 0 times
...
Cathern
8 days ago
Definitely B) Msg.sender!
upvoted 0 times
...
Mila
13 days 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
18 days 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
23 days 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
29 days 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