verifyTxn
verifyTxn(
txn,params):any
Verifies the fields of a transaction against the given parameters.
Parameters
• txn: AssetTransferParams | AssetFreezeParams | ThisTxnParams | Required<PaymentParams> | AppCallTxn | Required<KeyRegParams> | Required<AssetConfigParams> | Txn
the transaction to verify
• params: TxnVerificationFields
the transaction fields to verify in the given transaction
Returns
any