@hol-org/adapter-binance
v0.1.2
Published
HOL Flora adapter for HBAR-USD pricing via Binance spot ticker (HCS-21 compliant).
Downloads
17
Readme
@hol-org/adapter-binance
|
| HOL Flora adapter for HBAR→USD pricing sourced from Binance's spot ticker, intended for HCS-21 adapter registries. Built and maintained by Hashgraph Online. |
| :-- | :-- |
Install
npm install @hol-org/adapter-binanceUsage
import adapter from "@hol-org/adapter-binance";
const record = await adapter.discoverPrice();
// { entityId: "HBAR-USD", adapterId: "binance", payload: { price, source: "binance" }, timestamp }Links
- Homepage: https://github.com/hashgraph-online/flora-price-oracle
- Issues: https://github.com/hashgraph-online/flora-price-oracle/issues
- Publisher: Hashgraph Online (https://hol.org)
License
Apache-2.0
