     private let txHashHeader = UILabel(font: .customBold(size: 14.0), color: .grayTextTint)
     private let availability = UILabel(font: .customBold(size: 13.0), color: .txListGreen)
     private let blockHeight = UILabel(font: .customBody(size: 13.0), color: .darkText)
+    private var scrollViewHeight: NSLayoutConstraint?
 
     private func setup() {
         addSubviews()


    private func addConstraints() {
        header.constrainTopCorners(height: headerHeight)
        scrollView.constrain(toSuperviewEdges: UIEdgeInsets(top: headerHeight, left: 0, bottom: 0, right: 0))
        scrollViewContent.constrain([
            scrollViewContent.topAnchor.constraint(equalTo: scrollView.topAnchor),
            scrollViewContent.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor),

    override init(frame: CGRect) {
        super.init(frame: frame)
        setup()
        NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillShow(notification:)), name: .UIKeyboardWillShow, object: nil)
        NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillHide(notification:)), name: .UIKeyboardWillHide, object: nil)
    }

    deinit {
        NotificationCenter.default.removeObserver(self)
    }

    func set(transaction: Transaction, isBtcSwapped: Bool, rate: Rate, rates: [Rate], maxDigits: Int) {
