Skip to content
🌐Network: Mainnet

Network Identifiers Reference

This page provides a comprehensive reference for all critical identifiers on o2 Exchange, including contract addresses, asset IDs, and bridge endpoints. All data is fetched live from the o2 API.

Loading network identifiers...

API Access

You can access this data programmatically using the Markets API endpoint:

curl https://api.o2.app/v1/markets

For more information about the API, see the Market Data API documentation.

About Network Identifiers

Network identifiers are critical blockchain addresses that developers need when building applications or interacting with o2 Exchange:

  • Core Contract Identifiers: Essential system contracts like registries, oracles, and bridge contracts
  • Asset Identifiers: Unique addresses for each tradable asset on the platform
  • Market Contract Identifiers: Contract addresses for individual trading pairs and their market IDs

All identifiers are network-specific. Use the network selector in the top navigation to switch between Mainnet, Testnet, and Devnet.

Usage in Your Application

These identifiers are required when:

  • Integrating with o2 Exchange smart contracts
  • Building trading bots or automated strategies
  • Developing frontend applications
  • Implementing asset transfers via the Fast Bridge
  • Querying on-chain data

Example: Using Asset IDs in API Calls

You can use the asset IDs from the table above to query account balances and other data. Try the interactive example below using the USDC asset ID:

Try It Live

Query account balance using asset IDs from the table above

USDC Asset ID from the table above
Request
const USDC_ASSETID = '0x6c91bc65f585da1a238f8ec5e410e62616d2b2c8f2cb4701e225deb51240add6';
const OWNER_ADDRESS = '0x6c49291704aDc561074d887603c0C5E98B162b8662b746A1c945Bb1C71E40f79';
const OWNER_TRADING_ID = '0x5adea7826b1e4c39d2003a37f24453e4312cc97296408502c7f50b633704c67b';

const response = await fetch(
  `https://api.o2.app/v1/balance?asset_id=${USDC_ASSETID}&address=${OWNER_ADDRESS}&contract=${OWNER_TRADING_ID}`,
  {
    method: 'GET',
    headers: {
      'Accept': 'application/json'
    }
  }
);

const balance = await response.json();
console.log(balance);

For more details about the Balance API, see the Account Balance API documentation.

Dynamic Data

All identifiers on this page are pulled dynamically from the o2 API and will automatically update when new markets or assets are added to the exchange. Always prefer fetching this data from the API in production applications rather than hard-coding values.