verifyPayTxn
verifyPayTxn(
txn
,params
):txn is Required<PaymentParams>
Verifies the fields of a pay transaction against the given parameters.
Parameters
• txn: Required
<PaymentParams
> | Txn
the transaction to verify
• params: PayTxnVerificationFields
the transaction fields to verify in the given transaction
Returns
txn is Required<PaymentParams>