#zk-sync #blockchain #api-client

zksync_external_price_api

ZKsync clients for fetching token prices

1 unstable release

0.1.0 Jul 13, 2024

#74 in #zksync

Download history 15/week @ 2024-07-22 19/week @ 2024-08-12 22/week @ 2024-08-19 8/week @ 2024-08-26 17/week @ 2024-09-02 19/week @ 2024-09-09 41/week @ 2024-09-16 49/week @ 2024-09-23 27/week @ 2024-09-30 12/week @ 2024-10-14 23/week @ 2024-10-21 9/week @ 2024-10-28 13/week @ 2024-11-04

57 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

~37–52MB
~783K SLoC