UNPKG

redstone-api

Version:

Javascript library for fetching trusted token pricing data from Redstone data ecosystem

9 lines (8 loc) 321 B
import ArweaveProxy from "./proxies/arweave-proxy"; import { PriceDataWithSignature } from "./types"; export default class SignatureVerifier { private arweaveProxy; constructor(arweaveProxy: ArweaveProxy); assertValidSignature(_price: PriceDataWithSignature): Promise<void>; private getPriceSignedData; }