Crates.io | zksync_external_price_api |
lib.rs | zksync_external_price_api |
version | 0.1.0 |
source | src |
created_at | 2024-07-13 03:22:27.361604 |
updated_at | 2024-07-13 03:22:27.361604 |
description | ZKsync clients for fetching token prices |
homepage | https://zksync.io/ |
repository | https://github.com/matter-labs/zksync-era |
max_upload_size | |
id | 1302006 |
size | 9,869 |
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.