batchClearinghouseStates
Get clearinghouse states for multiple users in a single request.
POST Request
Field
Type
Description
Limits
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "batchClearinghouseStates",
"users": [
"0x0000000000000000000000000000000000000001",
"0x0000000000000000000000000000000000000002"
]
}'import requests
import os
response = requests.post(
'https://api.hydromancer.xyz/info',
json={
'type': 'batchClearinghouseStates',
'users': [
'0x0000000000000000000000000000000000000001',
'0x0000000000000000000000000000000000000002'
]
},
headers={
'Authorization': f'Bearer {os.environ.get("HYDROMANCER_API_KEY")}',
'Content-Type': 'application/json'
}
)
print(response.json())Response Fields
Field
Type
Description
Last updated