Module: Hyperliquid::Constants

Defined in:
lib/hyperliquid/constants.rb

Overview

Constants for Hyperliquid API

Constant Summary collapse

MAINNET_API_URL =

API URLs

'https://api.hyperliquid.xyz'
TESTNET_API_URL =
'https://api.hyperliquid-testnet.xyz'
INFO_ENDPOINT =

API endpoints

'/info'
EXCHANGE_ENDPOINT =
'/exchange'
DEFAULT_TIMEOUT =

Request timeouts (seconds)

30
DEFAULT_READ_TIMEOUT =
30