verifyTxn
verifyTxn(
txn,params):any
Verifies the fields of a transaction against the given parameters.
Parameters
• txn: AssetTransferParams | AssetFreezeParams | PayTxn | AppCallTxn | KeyRegTxn | AssetConfigTxn | Txn | ThisTxnParams
the transaction to verify
• params: TxnVerificationFields
the transaction fields to verify in the given transaction
Returns
any