Developers
Search…
Market List
Get all markets listed in Qubit Protocol.

Qore

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

Solidity

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

Ethers.js

1
const qore = await ethers.getContractAt(<qoreABI>, <qoreAddress>);
2
const markets = await qore.allMarkets();
Copied!
Last modified 2mo ago
Copy link