spotclearinghouseState

Get the spot clearinghouse state for a single user.

Get the spot clearinghouse state for a single user.

POST Request

Field
Type
Description

type

string

Must be "spotClearinghouseState"

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": "spotClearinghouseState",
    "user": "0x0000000000000000000000000000000000000000"
  }'

Response Fields

Field
Type
Description

balances

array

Array of spot balance objects

balances[n].coin

string

Coin symbol

balances[n].token

int

Token index

balances[n].total

string

Total balance

balances[n].hold

string

Amount on hold

balances[n].entryNtl

string

Entry notional

Response

Last updated