(self, peer: ty.Optional[str] = None, **kwargs: base.CommonArgs)
return self._client.request('/bitswap/wantlist', args, decoder='json', **kwargs)
Returns blocks currently on the bitswap wantlist
		
		.. code-block:: python
		
			>>> client.bitswap.wantlist()
			{'Keys': [
				'QmeV6C6XVt1wf7V7as7Yak3mxPma8jzpqyhtRtCvpKcfBb',
				'QmdCWFLDXqgdWQY9kVubbEHBbkieKd3uo7MtCm7nTZZE9K',
				'QmVQ1XvYGF19X4eJqz1s7FJYJqAxFC4oqh3vWJJEXn66cp'
			]}
		
		Parameters
		----------
		peer
			Peer to show wantlist for
		
		Returns
		-------
			dict
		
		+------+----------------------------------------------------+
		| Keys | List of blocks the connected daemon is looking for |
		+------+----------------------------------------------------+
Returns blocks currently on the bitswap wantlist
		
		.. code-block:: python
		
			>>> client.bitswap.wantlist()
			{'Keys': [
				'QmeV6C6XVt1wf7V7as7Yak3mxPma8jzpqyhtRtCvpKcfBb',
				'QmdCWFLDXqgdWQY9kVubbEHBbkieKd3uo7MtCm7nTZZE9K',
				'QmVQ1XvYGF19X4eJqz1s7FJYJqAxFC4oqh3vWJJEXn66cp'
			]}
		
		Parameters
		----------
		peer
			Peer to show wantlist for
		
		Returns
		-------
			dict
		
		+------+----------------------------------------------------+
		| Keys | List of blocks the connected daemon is looking for |
		+------+----------------------------------------------------+
Returns blocks currently on the bitswap wantlist .. code - block :: python >>> client . bitswap . wantlist () { Keys : [ QmeV6C6XVt1wf7V7as7Yak3mxPma8jzpqyhtRtCvpKcfBb QmdCWFLDXqgdWQY9kVubbEHBbkieKd3uo7MtCm7nTZZE9K QmVQ1XvYGF19X4eJqz1s7FJYJqAxFC4oqh3vWJJEXn66cp ] } Parameters ---------- peer Peer to show wantlist for Returns ------- dict + ------ + ---------------------------------------------------- + | Keys | List of blocks the connected daemon is looking for | + ------ + ---------------------------------------------------- +
def wantlist(self, peer: ty.Optional[str] = None, **kwargs: base.CommonArgs):
		"""Returns blocks currently on the bitswap wantlist
		
		.. code-block:: python
		
			>>> client.bitswap.wantlist()
			{'Keys': [
				'QmeV6C6XVt1wf7V7as7Yak3mxPma8jzpqyhtRtCvpKcfBb',
				'QmdCWFLDXqgdWQY9kVubbEHBbkieKd3uo7MtCm7nTZZE9K',
				'QmVQ1XvYGF19X4eJqz1s7FJYJqAxFC4oqh3vWJJEXn66cp'
			]}
		
		Parameters
		----------
		peer
			Peer to show wantlist for
		
		Returns
		-------
			dict
		
		+------+----------------------------------------------------+
		| Keys | List of blocks the connected daemon is looking for |
		+------+----------------------------------------------------+
		"""
		args = (peer,)
		return self._client.request('/bitswap/wantlist', args, decoder='json', **kwargs)
def wantlist ( self , peer : ty . Optional [ str ] = None , * * kwargs : base . CommonArgs ) : args = ( peer , ) return self . _client . request ( '/bitswap/wantlist' , args , decoder = 'json' , * * kwargs )