Interface IDEXExchange

Basic exchange info

interface IDEXExchange {
    timeZone: "UTC";
    serverTime: number;
    exchangeContractAddress: string;
    stargateBridgeAdapterContractAddress: string;
    chainId: number;
    quoteTokenAddress: string;
    totalOpenInterest: string;
    volume24h: string;
    totalVolume: string;
    totalTrades: number;
    idexTokenAddressEthereum: string;
    idexTokenAddressArbitrum: string;
    idexTokenAddressPolygon: string;
    idexTokenPrice: string;
    idexMarketCap: string;
    defaultMakerFeeRate: string;
    defaultTakerFeeRate: string;
    withdrawalMinimum: string;
    insuranceFundBalance?: string;
}

Properties

timeZone: "UTC"

Server time zone, always UTC

serverTime: number

Current server time

exchangeContractAddress: string

XCHAIN address of the exchange smart contract for deposits

stargateBridgeAdapterContractAddress: string

Stargate bridge adapter contract address

  • Used to define the stargateBridgeAdapterAddress properties in withdrawals
chainId: number

XCHAIN chain identifier

quoteTokenAddress: string

Address of the quote asset (USDC) on XCHAIN

totalOpenInterest: string

Total open interest across all markets in USD

volume24h: string

Total exchange trading volume for the trailing 24 hours in USD

totalVolume: string

Total exchange trading volume for IDEX in USD

totalTrades: number

Total number of trade executions for IDEX

idexTokenAddressEthereum: string

Token contract address for the IDEX token on Ethereum

idexTokenAddressArbitrum: string

Token contract address for the IDEX token on L2 Arbitrum

idexTokenAddressPolygon: string

Token contract address for the IDEX token on Polygon PoS

idexTokenPrice: string

Current price of the IDEX token in USD

idexMarketCap: string

Market capitalization of the IDEX token in USD

defaultMakerFeeRate: string

Default exchange-wide maker trade fee rate

defaultTakerFeeRate: string

Default exchange-wide taker trade fee rate

withdrawalMinimum: string

Minimum withdrawal amount in USD

insuranceFundBalance?: string

Balance of the insurance fund in USD