Balance Updates API
GetBalanceUpdates
- Request: POST /rpc/IndexerGateway/GetBalanceUpdates
- Content-Type: application/json
- Body (in JSON):
chainIds
([]int - optional) -- return results only for the chains that match the given ID.networks
([]string - optional) -- return results only for the chains that match the given names.contractAddress
(string)lastBlockNumber
(int - optional)lastBlockHash
(string - optional)
Get the summary of balances of verified tokens on specific networks
Example: query balance updates of the USDT contract on Ethereum network.
Curl
curl -X POST \
-H "Content-Type: application/json" \
-H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" \
https://indexer.sequence.app/rpc/IndexerGateway/GetBalanceUpdates \
-d '{
"chainIds": [
1
],
"contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}'