Get list of accounts sorted descending by balance.
cURL
curl --request GET \ --url https://toncenter.com/api/v3/topAccountsByBalance
[ { "account": "<string>", "balance": "<string>" } ]
import asyncio from toncenter.rest import ToncenterRestClient from toncenter.types import Network async def main() -> None: async with ToncenterRestClient(network=Network.MAINNET) as client: result = await client.v3.stats.get_top_accounts_by_balance() for account in result: print(account.model_dump_json(indent=4)) if __name__ == "__main__": asyncio.run(main())
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
OK