(self, peer_id: str, *peer_ids: str, **kwargs: base.CommonArgs)
return self._client.request('/dht/findpeer', args, decoder='json', **kwargs)
Queries the DHT for all of the associated multiaddresses
		
		.. code-block:: python
		
			>>> client.dht.findpeer("QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZN … MTLZ")
			[{'ID': 'QmfVGMFrwW6AV6fTWmD6eocaTybffqAvkVLXQEFrYdk6yc',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmTKiUdjbRjeN9yPhNhG1X38YNuBdjeiV9JXYWzCAJ4mj5',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmTGkgHSsULk8p3AKTAqKixxidZQXFyF7mCURcutPqrwjQ',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 …
			 {'ID': '', 'Extra': '', 'Type': 2,
			  'Responses': [
				{'ID': 'QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ',
				 'Addrs': [
					'/ip4/10.9.8.1/tcp/4001',
					'/ip6/::1/tcp/4001',
					'/ip4/164.132.197.107/tcp/4001',
					'/ip4/127.0.0.1/tcp/4001']}
			  ]}]
		
		Parameters
		----------
		peer_id
			The ID of the peer to search for
		
		Returns
		-------
			dict
				List of multiaddrs
Queries the DHT for all of the associated multiaddresses
		
		.. code-block:: python
		
			>>> client.dht.findpeer("QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZN … MTLZ")
			[{'ID': 'QmfVGMFrwW6AV6fTWmD6eocaTybffqAvkVLXQEFrYdk6yc',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmTKiUdjbRjeN9yPhNhG1X38YNuBdjeiV9JXYWzCAJ4mj5',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmTGkgHSsULk8p3AKTAqKixxidZQXFyF7mCURcutPqrwjQ',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 …
			 {'ID': '', 'Extra': '', 'Type': 2,
			  'Responses': [
				{'ID': 'QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ',
				 'Addrs': [
					'/ip4/10.9.8.1/tcp/4001',
					'/ip6/::1/tcp/4001',
					'/ip4/164.132.197.107/tcp/4001',
					'/ip4/127.0.0.1/tcp/4001']}
			  ]}]
		
		Parameters
		----------
		peer_id
			The ID of the peer to search for
		
		Returns
		-------
			dict
				List of multiaddrs
Queries the DHT for all of the associated multiaddresses .. code - block :: python >>> client . dht . findpeer ( QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZN … MTLZ ) [ { ID : QmfVGMFrwW6AV6fTWmD6eocaTybffqAvkVLXQEFrYdk6yc Extra : Type : 6 Responses : None } { ID : QmTKiUdjbRjeN9yPhNhG1X38YNuBdjeiV9JXYWzCAJ4mj5 Extra : Type : 6 Responses : None } { ID : QmTGkgHSsULk8p3AKTAqKixxidZQXFyF7mCURcutPqrwjQ Extra : Type : 6 Responses : None } … { ID : Extra : Type : 2 Responses : [ { ID : QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ Addrs : [ / ip4 / 10 . 9 . 8 . 1 / tcp / 4001 / ip6 / :: 1 / tcp / 4001 / ip4 / 164 . 132 . 197 . 107 / tcp / 4001 / ip4 / 127 . 0 . 0 . 1 / tcp / 4001 ] } ] } ] Parameters ---------- peer_id The ID of the peer to search for Returns ------- dict List of multiaddrs
def findpeer(self, peer_id: str, *peer_ids: str, **kwargs: base.CommonArgs):
		"""Queries the DHT for all of the associated multiaddresses
		
		.. code-block:: python
		
			>>> client.dht.findpeer("QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZN … MTLZ")
			[{'ID': 'QmfVGMFrwW6AV6fTWmD6eocaTybffqAvkVLXQEFrYdk6yc',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmTKiUdjbRjeN9yPhNhG1X38YNuBdjeiV9JXYWzCAJ4mj5',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmTGkgHSsULk8p3AKTAqKixxidZQXFyF7mCURcutPqrwjQ',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 …
			 {'ID': '', 'Extra': '', 'Type': 2,
			  'Responses': [
				{'ID': 'QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ',
				 'Addrs': [
					'/ip4/10.9.8.1/tcp/4001',
					'/ip6/::1/tcp/4001',
					'/ip4/164.132.197.107/tcp/4001',
					'/ip4/127.0.0.1/tcp/4001']}
			  ]}]
		
		Parameters
		----------
		peer_id
			The ID of the peer to search for
		
		Returns
		-------
			dict
				List of multiaddrs
		"""
		args = (peer_id,) + peer_ids
		return self._client.request('/dht/findpeer', args, decoder='json', **kwargs)
def findpeer ( self , peer_id : str , * peer_ids : str , * * kwargs : base . CommonArgs ) : args = ( peer_id , ) + peer_ids return self . _client . request ( '/dht/findpeer' , args , decoder = 'json' , * * kwargs )