Gateway
cURL
curl --request POST \ --url https://gateway-api-testnet.circle.com/v1/balances \ --header 'Content-Type: application/json' \ --data ' { "token": "USDC", "sources": [ { "depositor": "<string>", "domain": 0 } ] } '
{ "token": "USDC", "balances": [ { "domain": 0, "depositor": "<string>", "balance": "<string>" } ] }
Returns the current available balance of each specified address across different domains
Token type to query balances for
USDC
List of sources to query balances from. If domain is omitted from any source, the balances from all domains for that depositor will be returned.
Show child attributes
Address of the depositor to query balance for
Domain to query balance from
0
1
2
3
6
7
10
Successfully retrieved balances
Response containing token balances for specified sources
Token type that was queried
List of balance responses for each source
Domain where the balance was queried
Address of the depositor
Current available balance for the depositor
Was this page helpful?