Skip to Content

Test against transaction data values in Logic Script

Hello everybody

does anyone have any experience with, or know if it's possible, to test against transaction data/values in Logic Script?

I have an example where I need to test against a flag (created as an account), and depending on the value (they can be 1, 2, or 3), different outcomes are possible.

Here's a little snipped of the script:

*WHEN A1_ACCOUNT
*IS 1

....which of course doesn't work, since there is no account member = 1 -- it's the transaction data value I'm referring. So I tried

*WHEN A1_ACCOUNT.SIGNEDDATA
*IS 1

*WHEN A1_ACCOUNT./CPMB/SDATA
*IS 1

*WHEN A1_ACCOUNT.%VALUE%
*IS 1

etc. but none of these work.

Appreciate any help here!

Thanks and regards

Trond

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers