(self, **kwargs: base.CommonArgs)
return self._client.request('/swarm/peers', decoder='json', **kwargs)
Returns the addresses & IDs of currently connected peers
		
		.. code-block:: python
		
			>>> client.swarm.peers()
			{'Strings': [
				'/ip4/101.201.40.124/tcp/40001/ipfs/QmZDYAhmMDtnoC6XZ … kPZc',
				'/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYER … uvuJ',
				'/ip4/104.223.59.174/tcp/4001/ipfs/QmeWdgoZezpdHz1PX8 … 1jB6',
				…
				'/ip6/fce3: … :f140/tcp/43901/ipfs/QmSoLnSGccFuZQJzRa … ca9z'
			]}
		
		Returns
		-------
			dict
		
		+---------+----------------------------------------------------+
		| Strings | List of Multiaddrs that the daemon is connected to |
		+---------+----------------------------------------------------+
Returns the addresses & IDs of currently connected peers
		
		.. code-block:: python
		
			>>> client.swarm.peers()
			{'Strings': [
				'/ip4/101.201.40.124/tcp/40001/ipfs/QmZDYAhmMDtnoC6XZ … kPZc',
				'/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYER … uvuJ',
				'/ip4/104.223.59.174/tcp/4001/ipfs/QmeWdgoZezpdHz1PX8 … 1jB6',
				…
				'/ip6/fce3: … :f140/tcp/43901/ipfs/QmSoLnSGccFuZQJzRa … ca9z'
			]}
		
		Returns
		-------
			dict
		
		+---------+----------------------------------------------------+
		| Strings | List of Multiaddrs that the daemon is connected to |
		+---------+----------------------------------------------------+
Returns the addresses & IDs of currently connected peers .. code - block :: python >>> client . swarm . peers () { Strings : [ / ip4 / 101 . 201 . 40 . 124 / tcp / 40001 / ipfs / QmZDYAhmMDtnoC6XZ … kPZc / ip4 / 104 . 131 . 131 . 82 / tcp / 4001 / ipfs / QmaCpDMGvV2BGHeYER … uvuJ / ip4 / 104 . 223 . 59 . 174 / tcp / 4001 / ipfs / QmeWdgoZezpdHz1PX8 … 1jB6 … / ip6 / fce3 : … : f140 / tcp / 43901 / ipfs / QmSoLnSGccFuZQJzRa … ca9z ] } Returns ------- dict + --------- + ---------------------------------------------------- + | Strings | List of Multiaddrs that the daemon is connected to | + --------- + ---------------------------------------------------- +
def peers(self, **kwargs: base.CommonArgs):
		"""Returns the addresses & IDs of currently connected peers
		
		.. code-block:: python
		
			>>> client.swarm.peers()
			{'Strings': [
				'/ip4/101.201.40.124/tcp/40001/ipfs/QmZDYAhmMDtnoC6XZ … kPZc',
				'/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYER … uvuJ',
				'/ip4/104.223.59.174/tcp/4001/ipfs/QmeWdgoZezpdHz1PX8 … 1jB6',
				…
				'/ip6/fce3: … :f140/tcp/43901/ipfs/QmSoLnSGccFuZQJzRa … ca9z'
			]}
		
		Returns
		-------
			dict
		
		+---------+----------------------------------------------------+
		| Strings | List of Multiaddrs that the daemon is connected to |
		+---------+----------------------------------------------------+
		"""
		return self._client.request('/swarm/peers', decoder='json', **kwargs)
def peers ( self , * * kwargs : base . CommonArgs ) : return self . _client . request ( '/swarm/peers' , decoder = 'json' , * * kwargs )