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
}