getMarket
The getMarket() method of Nectar instances returns a market of the given symbol.
Usage
import { Nectar } from "@wasd3rplay/nectar-sdk";
const nectar = new Nectar();
const symbol = "ETH_ETHSEPOLIA:USDT_ETHSEPOLIA";
const market = await nectar.getMarket(symbol);Parameters
symbol: stringA market symbol.
It is a combination of a base ticker, a colon, and a quote ticker.
E.g.,
ETH_ETHSEPOLIA:USDT_ETHSEPOLIA
Returns
MarketA market of the given symbol.
Last updated