The template looks like normal definition but may include references to variables in the syntax @param1, @param2. Definition templates enable code reuse. They may in turn reference other templates.
Returns
Returns the unit hash.
Example
This template depends on two variables: $address and $ts.
1
const params =['and',[
2
['address','$address'],
3
['in data feed',[['MO7ZZIU5VXHRZGGHVSZWLWL64IEND5K2'],'timestamp','>=','$ts']]