spotMeta

Returns metadata for spot markets including token names, size decimals, and trading pair information.

Field
Type
Description

type

string

Must be "spotMeta"

Request

curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "spotMeta"
  }'

Response Fields

Field
Type
Description

universe

array

List of spot market metadata objects

universe[].tokens

array

Token pair [base, quote] indices

universe[].name

string

Market name (e.g. "HYPE")

universe[].index

int

Market index

universe[].isCanonical

boolean

Whether this is the canonical spot market

tokens

array

List of token metadata objects

tokens[].name

string

Token symbol (e.g. "USDC")

tokens[].szDecimals

int

Number of decimal places for size

tokens[].weiDecimals

int

Number of wei decimals

tokens[].index

int

Token index

tokens[].tokenId

string

Token identifier

tokens[].isCanonical

boolean

Whether this is the canonical token

tokens[].evmContract

object?

EVM contract details, null if not deployed on EVM

tokens[].evmContract.address

string

EVM contract address

tokens[].evmContract.evm_extra_wei_decimals

int

Extra wei decimals for EVM conversion

tokens[].fullName

string?

Full token name, null if not set

tokens[].deployerTradingFeeShare

string

Deployer's share of trading fees

Response

Last updated