openOrders

Returns the open orders for a user.

Field
Type
Description

type

string

Must be "openOrders"

user

string

Ethereum address (0x-prefixed, 42 characters)

Request

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

Response Fields

Field
Type
Description

coin

string

Asset symbol

limitPx

string

Limit price

oid

int

Order ID

side

string

"A" (sell) or "B" (buy)

sz

string

Order size

timestamp

int

Order creation timestamp (ms)

Response

Last updated