Function validate

  • Verifies various Transaction Types. Encode/decode and individual type validation.

    Parameters

    • transaction: Record<string, unknown>

      A Transaction.

    Returns void

    Throws

    ValidationError When the Transaction is malformed.

Generated using TypeDoc