spotDeployState

Get the spot deploy state for a user.

Get the spot deploy state for a user.

POST Request

Field
Type
Description

type

string

Must be "spotDeployState"

user

string

Ethereum address (0x-prefixed, 42 characters)

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

Response Fields

Field
Type
Description

states

array

List of spot deploy states

states[].token

int

Token index

states[].spec

object

Token spec

states[].spec.name

string

Token name

states[].spec.szDecimals

int

Size decimals

states[].spec.weiDecimals

int

Wei decimals

states[].fullName

string

Full token name

states[].spots

array

Spot pair indices

states[].maxSupply

int

Maximum supply

states[].hyperliquidityGenesisBalance

string

Hyperliquidity genesis balance

states[].totalGenesisBalanceWei

string

Total genesis balance in wei

states[].userGenesisBalances

array

List of [address, balance] pairs

states[].existingTokenGenesisBalances

array

List of [tokenIndex, balance] pairs

gasAuction

object

Gas auction state

gasAuction.startTimeSeconds

int

Auction start time (unix seconds)

gasAuction.durationSeconds

int

Auction duration in seconds

gasAuction.startGas

string

Starting gas price

gasAuction.currentGas

string?

Current gas price (null if auction ended)

gasAuction.endGas

string

Ending gas price

Response (truncated)

Last updated