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