ALGO Check Balance for Multiple Addresses (query)

Hello, how can query multiple addresses? I found a query for one, I’d like to paste a list.

{
algorand {
address(address: {is: “C7RYOGEWDT7HZM3HKPSMU7QGWTRWR3EPOQTJ2OHXGYLARD3X62DNWELS34”}) {
balance
balance_usd: balance(in: USD)
}
}
}

#algo

1 Like

Hi, you can put the address in an array using ‘in’ keyword. For eg:
query MyQuery {
algorand {
address(
address: {in: [“C7RYOGEWDT7HZM3HKPSMU7QGWTRWR3EPOQTJ2OHXGYLARD3X62DNWELS34”,“2UEQTE5QDNXPI7M3TU44G6SYKLFWLPQO7EBZM7K7MHMQQMFI4QJPLHQFHM”]}
) {
address {
address
}
balance
balanceInUSD: balance(in: USD)
}
}
}

2 Likes

رفیق من بلد نیستم از شما کمک میخاهم این ادرس وارد کیف شده واز هر ادرس برداشت کرده من هیچگونه انتقال ندادم