Developers
Search…
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();
Copy link
On this page
Qore
Solidity
Ethers.js