docs: def find_deck_spawns(provider: Provider, prod: bool=True) -> Iterable[str]:
      '''find deck spawn transactions via Provider,
      it requires that Deck spawn P2TH were imported in local node or
      that remote API knows about P2TH address.'''
  
      pa_params = param_query(provider.network)
  
      if isinstance(provider, RpcNode):
  
          if prod:
              decks = (i["txid"] for i in provider.listtransactions("PAPROD"))
          else:
              decks = (i["txid"] for i in provider.listtransactions("PATEST"))
  
      if isinstance(provider, Cryptoid) or isinstance(provider, Explorer):
  
          if prod:
              decks = (i for i in provider.listtransactions(pa_params.P2TH_addr))
          else:
              decks = (i for i in provider.listtransactions(pa_params.test_P2TH_addr))
  
      return decks