TxnExpr and Expr are both Pyteal Types, in the example you posted its a type hint to convey what is being returned from the function.
Ben
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| I don't know what the problem is | 1 | 604 | March 29, 2022 | |
| Abstract tree parser has return value of `NoneType` | 2 | 557 | February 2, 2022 | |
| Subroutines in PyTeal | 0 | 501 | December 15, 2021 | |
| PyTeal - Logicsig | 4 | 541 | February 8, 2022 | |
| How to return only ASA amount and not Seq? | 3 | 460 | July 12, 2022 |