SmartWeave.transaction.origin
This release adds an option to check the transaction origin inside the contract code - via the SmartWeave.transaction.origin
.
Returned values are:
L1
- for the directarweave
transactionsL2
- for the transactions registered via Warp Sequencer
Additionally - SmartWeave.transaction.reward
for L2
transactions is now set to '0'
.
What's Changed
- feat: transaction origin by @ppedziwiatr in #421
Full Changelog: v1.4.9...v1.4.10