#zk-sync #blockchain #api-client

zksync_external_price_api

ZKsync clients for fetching token prices

1 unstable release

0.1.0 Jul 13, 2024

#58 in #zksync

Download history 138/week @ 2024-07-12 18/week @ 2024-07-19 10/week @ 2024-07-26 10/week @ 2024-08-09 24/week @ 2024-08-16 15/week @ 2024-08-23 11/week @ 2024-08-30 18/week @ 2024-09-06 37/week @ 2024-09-13 51/week @ 2024-09-20 26/week @ 2024-09-27 10/week @ 2024-10-04 10/week @ 2024-10-11

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

MIT/Apache

545KB
12K 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

~34–50MB
~775K SLoC