<filename>examples/indexer/python/accounts_assets_min_balance.py
# accounts_assets_min_balance.py
import json
# requires Python SDK version 1.3 or higher
from algosdk.v2client import indexer

# instantiate indexer client
myindexer = indexer.IndexerClient(indexer_token="", indexer_address="http://localhost:8980")

# gets accounts that have a particular AssetID with a min asset balance of 100
response = myindexer.accounts(
    asset_id=312769, min_balance=100)
print("Account Info: " + json.dumps(response, indent=2, sort_keys=True))


<filename>examples/indexer/python/accounts_assets_min_balance.py
# accounts_assets_min_balance.py
import json
# requires Python SDK version 1.3 or higher
from algosdk.v2client import indexer

# instantiate indexer client
myindexer = indexer.IndexerClient(indexer_token="", indexer_address="http://localhost:8980")

# gets accounts that have a particular AssetID with a min asset balance of 100
response = myindexer.accounts(
    asset_id=312769, min_balance=100)
print("Account Info: " + json.dumps(response, indent=2, sort_keys=True))


# accounts_assets_min_balance.py # requires Python SDK version 1.3 or higher # instantiate indexer client # gets accounts that have a particular AssetID with a min asset balance of 100