You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For ABI methods overloaded with a particular type of TX reference, say AssetTransferTransactionReference, I believe it should unmarshall to handle the type checking automatically. I really can't see a reason why this flexibility might not be desired. Maybe the default transaction reference, TransactionReference can be a bare bones flexible transaction handler for a case where the dev wants to break out of the flow.
string txTypeCheck = "axfer";
if (txn.TxType != txTypeCheck.ToByteArray()) return 0;
Kind regards.
The text was updated successfully, but these errors were encountered:
Agreed. This functionality is not there simply because it wasnt in the roadmap prior and wasnt sure if the preference would be to have the plumbing do it for us or not. Will tag as feature request
For ABI methods overloaded with a particular type of TX reference, say
AssetTransferTransactionReference
, I believe it should unmarshall to handle the type checking automatically. I really can't see a reason why this flexibility might not be desired. Maybe the default transaction reference,TransactionReference
can be a bare bones flexible transaction handler for a case where the dev wants to break out of the flow.Kind regards.
The text was updated successfully, but these errors were encountered: