RedstoneQuery

redstone-api / Exports / RedstoneQuery

Class: RedstoneQuery

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Parameters:

Returns: RedstoneQuery

Properties

params

Protected params: QueryParams

Methods

allSymbols

allSymbols(): RedstoneQueryForSeveralSymbols

Configures query to fetch prices for all supported tokens. It doesn't support any params

Returns: RedstoneQueryForSeveralSymbols

query object

symbol

symbol(symbol: string): RedstoneQueryForSingleSymbol

Sets a token symbol to fetch

Parameters:

Returns: RedstoneQueryForSingleSymbol

query object

symbols

symbols(symbols: string[]): RedstoneQueryForSeveralSymbols

Sets token symbols to fetch

Parameters:

Returns: RedstoneQueryForSeveralSymbols

query object

Last updated