# getAllMarkets

The `getAllMarkets()` method of `Nectar` instances returns all markets available to trade on.

### Usage

```typescript
import { Nectar } from "@wasd3rplay/nectar-sdk";

const nectar = new Nectar();

const markets = await nectar.getAllMarkets();
```

### Returns

* **`Market[]`**
  * All markets available to trade on.
