#zk-sync #blockchain #api-client

zksync_external_price_api

ZKsync clients for fetching token prices

4 releases (1 unstable)

new 27.0.0-non-semver-compat Mar 21, 2025
26.7.0-non-semver-compat Mar 6, 2025
26.2.1-non-semver-compat Jan 29, 2025
0.1.0 Jul 13, 2024

#981 in Magic Beans

Download history 30/week @ 2024-11-27 38/week @ 2024-12-04 29/week @ 2024-12-11 13/week @ 2024-12-18 8/week @ 2024-12-25 2/week @ 2025-01-01 4/week @ 2025-01-08 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

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

MIT/Apache

630KB
13K 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

~23–37MB
~523K SLoC