#zk-sync #blockchain #external

zksync_external_price_api

ZKsync clients for fetching token prices

8 releases (1 unstable)

new 28.1.0-non-semver-compat May 8, 2025
28.0.0-non-semver-compat May 5, 2025
27.5.1-non-semver-compat May 1, 2025
27.5.0-non-semver-compat Apr 30, 2025
0.1.0 Jul 13, 2024

#606 in Magic Beans

Download history 19/week @ 2025-01-22 137/week @ 2025-01-29 15/week @ 2025-02-05 10/week @ 2025-02-12 4/week @ 2025-02-19 148/week @ 2025-03-05 13/week @ 2025-03-12 116/week @ 2025-03-19 20/week @ 2025-03-26 4/week @ 2025-04-02 16/week @ 2025-04-09 3/week @ 2025-04-16 6/week @ 2025-04-23 391/week @ 2025-04-30

416 downloads per month
Used in 12 crates (2 directly)

MIT/Apache

645KB
14K SLoC

Price API Client

This crate provides a simple trait to be implemented by clients interacting with external price APIs to fetch ETH<->BaseToken ratio.

All clients should be implemented here and used by the node framework layer, which will be agnostic to the number of clients available.

Dependencies

~22–36MB
~517K SLoC