Documentation
API Reference
Types
Network

Network

MarketNetwork

This type represents a network.

export type MarketNetwork = {
  name: string;
  network: string;
  withdrawFee?: string;
  withdrawMax?: string;
  withdrawMin?: string;
  withdrawalEnabled: boolean;
  depositEnabled: boolean;
  chainId?: number;
  iconUrl: string;
};
  • name - string
    The network's name.
  • network - string
    The network's internal ID. See Supported Networks for the list of supported networks.
  • withdrawFee - string, optional
    The withdrawal fee on the network.
  • withdrawMax - string, optional
    The maximum withdrawal amount on the network.
  • withdrawMin - string, optional
    The minimum withdrawal amount on the network.
  • withdrawalEnabled - boolean
    true if the network supports withdrawals.
  • depositEnabled - boolean
    true if the network supports deposits.
  • chainId - number, optional
    The chain id in decimal format. The Cede SDK might not be consistent for some chain IDs, resulting in these not being present even for EVM Compatible networks.
  • iconUrl - string
    The network's icon URL, PNG format and 32x32 pixels. The field will always be present but the URL may not match any existing resource.