Function verifyTransaction

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

    Parameters

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

      Base64Check-encoded transaction

    • nodeNotCached: Node

      Node to validate transaction against

    Returns Promise<ValidatorResult[]>

    Array with verification errors

    const errors = await verifyTransaction(transaction, node)