Loading...
Get the balance for the USDC user custody wallet. The user custody wallet allows BringYour to query the balance, but the user must take actions against the wallet.
const response = await fetch('https://api.bringyour.com/wallet/balance', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
{ "wallet_info": { "wallet_id": "text", "token_id": "text", "blockchain": "text", "blockchain_symbol": "text", "create_date": "text", "balance_usdc_nano_cents": 0, "address": "text" } }