Skip to content

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>

Source

types/global.d.ts:1268