I want to understand the script example so please let me know


#1

This is an example in the IDE. I set this script to asset. I do not know how to transfer this asset. please tell me.

match tx {
case tx : TransferTransaction =>
let issuer = Address(base58’3MsZgp7XvTJV7TuqaZ46RJZuG2CtvcxYgC9’)
isDefined(getInteger(issuer, toBase58String(tx.id)))
case m :SetAssetScriptTransaction | SetScriptTransaction => true
case _ => false
}


#2

You can use transfer function in the console of the IDE.


#3

Thank you for always replying. What code do you run on the console?