round_num
and block
no longer allowed when querying balances
#471
Labels
bug
Something isn't working
round_num
and block
no longer allowed when querying balances
#471
Subject of the issue
Your environment
py-algorand-sdk 2.0.0
Steps to reproduce
asset_balances(asset_id, round_num=number)
orasset_balances(asset_id, block=number)
Expected behaviour
A balance return at the given block/round number according to the docs: https://py-algorand-sdk.readthedocs.io/en/latest/algosdk/v2client/indexer.html
Actual behaviour
It seems like the method got changed, and doesn't allow for this parameter anymore, I believe it's a case of outdated docs or an undocumented change, since I get the following TypeErrors:
TypeError: IndexerClient.indexer_request() got an unexpected keyword argument 'round_num'
TypeError: IndexerClient.indexer_request() got an unexpected keyword argument 'block'
The text was updated successfully, but these errors were encountered: