Crates.io | zksync_external_price_api |
lib.rs | zksync_external_price_api |
version | 27.0.0-non-semver-compat |
source | src |
created_at | 2024-07-13 03:22:27.361604+00 |
updated_at | 2025-03-21 17:09:23.930181+00 |
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 | 34,177 |
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.