Learn how to use metadata in Numscript to store and retrieve additional information
"coupon_value"
from the coupon
account:
type
of the object stored under the metadata key.
Its value is read from the value of the key value
. Here are all the available types:
set_account_meta(_account_, "key", _value_)
statement.
The statement takes a string-type key and a value which can be of any type, either as a variable or a literal.
set_tx_meta("key", _value_)
statement.
The statement takes a string-type key and a value which can be of any type, either as a variable or a literal.