Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Search CoinVoyage currencies and retrieve balances for up to ten wallets with ApiClient.
const { data, error } = await apiClient.currencySearch({ q: "usdc", chain_ids: [ChainId.SUI, ChainId.SOL], limit: 10, });
data.portfolio
data.errors
const { data, error } = await apiClient.portfolio({ wallets: [ { address: "0xFirstPayerWallet", chain_type: ChainType.EVM, chain_ids: [ChainId.ETH, ChainId.BASE], }, { address: "0xSecondPayerWallet", chain_type: ChainType.EVM, chain_ids: [4663], // Robinhood Chain }, ], filter: { min_balance_usd: 1 }, force_refresh: false, }); if (error) throw new Error(error.message); for (const result of data?.portfolio ?? []) { console.log(result.wallet.address, result.currencies); } for (const walletError of data?.errors ?? []) { console.warn(walletError.wallet.address, walletError.code); }
wallets
force_refresh: true
wallet: { ... }
wallets: [{ ... }]
portfolio
errors
Was this page helpful?