Skip to main content
POST
batchClearinghouseStates

Authorizations

X-API-KEY
string
header
required

API key to access the API (Optional)

Query Parameters

chainId
enum<number>
default:999
required

Unique identifier for a blockchain network.

Available options:
999,
998
Example:

999

provider
enum<string>

Specify which provider to use. The project's provider priority list is used by default if no providers are selected. (Priority list can be managed on Uniblock's dashboard)

Available options:
Alchemy,
Dwellir,
Chainstack,
Covalent

Body

application/json
type
enum<string>
default:batchClearinghouseStates
required
Available options:
batchClearinghouseStates
Example:

"batchClearinghouseStates"

users
string[]
required

The account addresses to read, in order. Uniblock caps the list at 50 users; a longer list is rejected with a 400 before routing.

Required array length: 1 - 50 elements
Example:

Response

200 - application/json

Successful response.

user
string
required

The account address this slot reports on.

Example:

"0x000000000000000000000000000000000000dEaD"

result
object | null
required

This user's perpetuals clearinghouse state, or null if this user failed.

error
string | null
required

Isolated per-user failure message; null when this user succeeded.

Example: