Skip to content

SmartWeave.transaction.origin

Compare
Choose a tag to compare
@ppedziwiatr ppedziwiatr released this 31 May 14:33
· 112 commits to main since this release

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 direct arweave transactions
  • L2 - for the transactions registered via Warp Sequencer

Additionally - SmartWeave.transaction.reward for L2 transactions is now set to '0'.

What's Changed

Full Changelog: v1.4.9...v1.4.10