Quotes are prices of the Tezos token price. For more information see the Quotes API documentation on tzKT.
Fetches total number of quotes aligned with blocks from tzKT.
get quotes count.
Fetch total number of quotes
let quoteCount: number = await Quote.count();
Returns the total number of quotes aligned with blocks.
Fetches a list of quotes aligned with blocks from tzKT.
get quotes.
Fetch List of Quotes
let lowerBound: Date = new Date(2021, 0, 1); let upperBound: Date = new Date(2021, 5, 1); let parameters: GetQuoteParameters = {'timestamp.ge': lowerBound, 'timestamp.le': upperBound}; let quotes: Quote[] = await Quote.get(parameters);
Returns a list of quotes aligned with blocks.
Fetches last known quote from tzKT.
get last quote.
Fetch Last Price Quote
let lastQuote: Quote = await Quote.last();
Returns the last known quote.
Generated using TypeDoc
Quotes are prices of the Tezos token price. For more information see the Quotes API documentation on tzKT.