Open Sednaoui opened 2 years ago
Note: Public API is no longer available and this key is no longer working. People need to request a private API key now.
Note: Public API is no longer available and this key is no longer working. People need to request a private API key now.
@CherryDT you're right. I just noticed that the public APIs aren't available anymore. We do have a private API internally that we will be using in production, we will use it one we migrate to zapper v2.
Zapper Account Balance endpoint:
Currently Candide uses Zapper V1 to check for account balances on V1 for mainnet, optimism and arbitrum. The returned balance only returns ETH at the moment. The goal is to migrate to v2, and display ERC-20s as well (since the new endpoints also displays erc-20s). The balances are shown by network, and not across all networks.
https://github.com/Sednaoui/Candide/blob/59abe61e79f66b461082b007429e1eacf6b50b94/wallet/src/lib/zapper/index.ts#L12