Closed karelianpie closed 2 years ago
Use the new zapper endpoints.
v2/apps/tokens/balances
https://medium.com/zapper-protocol/updates-to-zappers-public-apis-4933a2967f57
Old endpoints have been deprecated
src/utils/encode.spec.ts
... more in the files
What do we think about using https://github.com/colinhacks/zod here?
Description
Use the new zapper endpoints.
v2/apps/tokens/balances
now has the addresses inside "balances" (https://github.com/yearn/yearn-sdk/pull/284/commits/4e3371078c6681cd67390ccc9e34eb66ec12832c addresses that)Related Issue
https://medium.com/zapper-protocol/updates-to-zappers-public-apis-4933a2967f57
Motivation and Context
Old endpoints have been deprecated
How Has This Been Tested?
src/utils/encode.spec.ts
to test the base64 encoding.Screenshots (if appropriate):
... more in the files