(self, **kwargs: base.CommonArgs)
return self._client.request('/swarm/addrs', decoder='json', **kwargs)
Returns the addresses of currently connected peers by peer id
		
		.. code-block:: python
		
			>>> pprint(client.swarm.addrs())
			{'Addrs': {
				'QmNMVHJTSZHTWMWBbmBrQgkA1hZPWYuVJx2DpSGESWW6Kn': [
					'/ip4/10.1.0.1/tcp/4001',
					'/ip4/127.0.0.1/tcp/4001',
					'/ip4/51.254.25.16/tcp/4001',
					'/ip6/2001:41d0:b:587:3cae:6eff:fe40:94d8/tcp/4001',
					'/ip6/2001:470:7812:1045::1/tcp/4001',
					'/ip6/::1/tcp/4001',
					'/ip6/fc02:2735:e595:bb70:8ffc:5293:8af8:c4b7/tcp/4001',
					'/ip6/fd00:7374:6172:100::1/tcp/4001',
					'/ip6/fd20:f8be:a41:0:c495:aff:fe7e:44ee/tcp/4001',
					'/ip6/fd20:f8be:a41::953/tcp/4001'],
				'QmNQsK1Tnhe2Uh2t9s49MJjrz7wgPHj4VyrZzjRe8dj7KQ': [
					'/ip4/10.16.0.5/tcp/4001',
					'/ip4/127.0.0.1/tcp/4001',
					'/ip4/172.17.0.1/tcp/4001',
					'/ip4/178.62.107.36/tcp/4001',
					'/ip6/::1/tcp/4001'],
				…
			}}
		
		Returns
		-------
			dict
				Multiaddrs of peers by peer id
		
		+-------+--------------------------------------------------------+
		| Addrs | Mapping of PeerIDs to a list its advertised multiaddrs |
		+-------+--------------------------------------------------------+
Returns the addresses of currently connected peers by peer id
		
		.. code-block:: python
		
			>>> pprint(client.swarm.addrs())
			{'Addrs': {
				'QmNMVHJTSZHTWMWBbmBrQgkA1hZPWYuVJx2DpSGESWW6Kn': [
					'/ip4/10.1.0.1/tcp/4001',
					'/ip4/127.0.0.1/tcp/4001',
					'/ip4/51.254.25.16/tcp/4001',
					'/ip6/2001:41d0:b:587:3cae:6eff:fe40:94d8/tcp/4001',
					'/ip6/2001:470:7812:1045::1/tcp/4001',
					'/ip6/::1/tcp/4001',
					'/ip6/fc02:2735:e595:bb70:8ffc:5293:8af8:c4b7/tcp/4001',
					'/ip6/fd00:7374:6172:100::1/tcp/4001',
					'/ip6/fd20:f8be:a41:0:c495:aff:fe7e:44ee/tcp/4001',
					'/ip6/fd20:f8be:a41::953/tcp/4001'],
				'QmNQsK1Tnhe2Uh2t9s49MJjrz7wgPHj4VyrZzjRe8dj7KQ': [
					'/ip4/10.16.0.5/tcp/4001',
					'/ip4/127.0.0.1/tcp/4001',
					'/ip4/172.17.0.1/tcp/4001',
					'/ip4/178.62.107.36/tcp/4001',
					'/ip6/::1/tcp/4001'],
				…
			}}
		
		Returns
		-------
			dict
				Multiaddrs of peers by peer id
		
		+-------+--------------------------------------------------------+
		| Addrs | Mapping of PeerIDs to a list its advertised multiaddrs |
		+-------+--------------------------------------------------------+
Returns the addresses of currently connected peers by peer id .. code - block :: python >>> pprint ( client . swarm . addrs () ) { Addrs : { QmNMVHJTSZHTWMWBbmBrQgkA1hZPWYuVJx2DpSGESWW6Kn : [ / ip4 / 10 . 1 . 0 . 1 / tcp / 4001 / ip4 / 127 . 0 . 0 . 1 / tcp / 4001 / ip4 / 51 . 254 . 25 . 16 / tcp / 4001 / ip6 / 2001 : 41d0 : b : 587 : 3cae : 6eff : fe40 : 94d8 / tcp / 4001 / ip6 / 2001 : 470 : 7812 : 1045 :: 1 / tcp / 4001 / ip6 / :: 1 / tcp / 4001 / ip6 / fc02 : 2735 : e595 : bb70 : 8ffc : 5293 : 8af8 : c4b7 / tcp / 4001 / ip6 / fd00 : 7374 : 6172 : 100 :: 1 / tcp / 4001 / ip6 / fd20 : f8be : a41 : 0 : c495 : aff : fe7e : 44ee / tcp / 4001 / ip6 / fd20 : f8be : a41 :: 953 / tcp / 4001 ] QmNQsK1Tnhe2Uh2t9s49MJjrz7wgPHj4VyrZzjRe8dj7KQ : [ / ip4 / 10 . 16 . 0 . 5 / tcp / 4001 / ip4 / 127 . 0 . 0 . 1 / tcp / 4001 / ip4 / 172 . 17 . 0 . 1 / tcp / 4001 / ip4 / 178 . 62 . 107 . 36 / tcp / 4001 / ip6 / :: 1 / tcp / 4001 ] … }} Returns ------- dict Multiaddrs of peers by peer id + ------- + -------------------------------------------------------- + | Addrs | Mapping of PeerIDs to a list its advertised multiaddrs | + ------- + -------------------------------------------------------- +
def addrs(self, **kwargs: base.CommonArgs):
		"""Returns the addresses of currently connected peers by peer id
		
		.. code-block:: python
		
			>>> pprint(client.swarm.addrs())
			{'Addrs': {
				'QmNMVHJTSZHTWMWBbmBrQgkA1hZPWYuVJx2DpSGESWW6Kn': [
					'/ip4/10.1.0.1/tcp/4001',
					'/ip4/127.0.0.1/tcp/4001',
					'/ip4/51.254.25.16/tcp/4001',
					'/ip6/2001:41d0:b:587:3cae:6eff:fe40:94d8/tcp/4001',
					'/ip6/2001:470:7812:1045::1/tcp/4001',
					'/ip6/::1/tcp/4001',
					'/ip6/fc02:2735:e595:bb70:8ffc:5293:8af8:c4b7/tcp/4001',
					'/ip6/fd00:7374:6172:100::1/tcp/4001',
					'/ip6/fd20:f8be:a41:0:c495:aff:fe7e:44ee/tcp/4001',
					'/ip6/fd20:f8be:a41::953/tcp/4001'],
				'QmNQsK1Tnhe2Uh2t9s49MJjrz7wgPHj4VyrZzjRe8dj7KQ': [
					'/ip4/10.16.0.5/tcp/4001',
					'/ip4/127.0.0.1/tcp/4001',
					'/ip4/172.17.0.1/tcp/4001',
					'/ip4/178.62.107.36/tcp/4001',
					'/ip6/::1/tcp/4001'],
				…
			}}
		
		Returns
		-------
			dict
				Multiaddrs of peers by peer id
		
		+-------+--------------------------------------------------------+
		| Addrs | Mapping of PeerIDs to a list its advertised multiaddrs |
		+-------+--------------------------------------------------------+
		"""
		return self._client.request('/swarm/addrs', decoder='json', **kwargs)
def addrs ( self , * * kwargs : base . CommonArgs ) : return self . _client . request ( '/swarm/addrs' , decoder = 'json' , * * kwargs )