#zk-sync #blockchain #api-client

zksync_external_price_api

ZKsync clients for fetching token prices

2 releases (1 unstable)

26.2.1-non-semver-compat Jan 29, 2025
0.1.0 Jul 13, 2024

#39 in #zksync

Download history 17/week @ 2024-10-22 14/week @ 2024-10-29 8/week @ 2024-11-05 3/week @ 2024-11-12 21/week @ 2024-11-19 25/week @ 2024-11-26 24/week @ 2024-12-03 48/week @ 2024-12-10 12/week @ 2024-12-17 11/week @ 2024-12-24 1/week @ 2024-12-31 5/week @ 2025-01-07 19/week @ 2025-01-21 131/week @ 2025-01-28 21/week @ 2025-02-04

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

MIT/Apache

605KB
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

~32–47MB
~708K SLoC