docs: def validate_card_transfer_p2th(deck: Deck, vout: dict) -> None:
      '''validate if card_transfer transaction pays to deck p2th in vout[0]'''
  
      error = {"error": "Card transfer is not properly tagged."}
  
      try:
          address = vout["scriptPubKey"].get("addresses")[0]
          if not address == deck.p2th_address:
              raise InvalidCardTransferP2TH(error)
      except TypeError as e:
          raise e