Function verifyTransaction

  • Transaction Validator This function validates some of transaction properties, to make sure it can be posted it to the chain

    Returns

    Array with verification errors

    Example

    const errors = await verifyTransaction(transaction, node)
    

    Parameters

    • transaction: `tx_${string}` | `pi_${string}`

      Base64Check-encoded transaction

    • node: Node

      Node to validate transaction against

    • parentTxTypes: Tag[] = []

      Types of parent transactions

    Returns Promise<ValidatorResult[]>

Generated using TypeDoc