Hello,
I’m wondering about the difference between some of PyTeal’s transaction fields.
PyTeal’s transaction fields include:
Txn.sender() as well as Txn.asset_sender()
Txn.receiver() as well as Txn.asset_receiver()
(and many other almost duplicates)
When the transaction itself is an AssetTransferTxn, is there any difference between these fields? The AssetTransferTxn object has a sender attribute, but not an asset_sender attribute, so what is PyTeal accessing when I call Txn.asset_sender()?
I tried a few tests, and Assert(Txn.sender() == Txn.asset_sender()) always seems to pass. If the transaction itself is an AssetTransferTxn are the fields equivalent?
Thanks