Market List

Get all markets listed in Qubit Protocol.

Qore

function allMarkets() external view returns (address[] memory);
  • RETURN: The addresses of all markets.

Solidity

Qore qore = Qore(<qoreAddress>);
address[] memory markets = qore.allMarkets();

Ethers.js

const qore = await ethers.getContractAt(<qoreABI>, <qoreAddress>);
const markets = await qore.allMarkets();

Last updated