Response from the GET /v1/markets endpoint.

Contains global registry IDs and the list of all available markets.

interface MarketsResponse {
    accounts_registry_id: ContractId;
    base_asset_id: AssetId;
    books_registry_id: ContractId;
    chain_id: string;
    markets: Market[];
    trade_account_oracle_id: ContractId;
}

Properties

accounts_registry_id: ContractId

Accounts registry contract ID.

base_asset_id: AssetId

The native base asset ID (e.g., ETH on Fuel).

books_registry_id: ContractId

Books registry contract ID.

chain_id: string

The Fuel chain ID (may be hex or decimal string).

markets: Market[]

All available markets.

trade_account_oracle_id: ContractId

Trade account oracle contract ID.