validateTransaction()
validateTransaction<
T>(tx):void
Defined in: utils/transactionValidation.ts:77
Validates the title, description and payload of a complete transaction with the rules of
validateInitialTransactionParams. Used by addTxToPool, initializeTransactionsPool and
injectExternalPendingTxs.
Type Parameters
T
T extends Transaction
The application transaction type.
Parameters
tx
T
The transaction.
Returns
void
Throws
PulsarTransactionValidationError for the first field that breaks a rule.
Last updated on