Subaccount Snapshots
Query latest subaccount snapshots.
Use this query to get a summary of the latest actions per product on Vertex for provided subaccounts. Tracked variables (ex. net interest) are extrapolated to the timestamp or set of timestamps provided.
Rate limits
480 requests/min or 80 requests/10secs per IP address. (weight = 5)
Request
Request Parameters
subaccounts
array
Yes
A list of bytes32
sent as a hex string; includes the address and the subaccount identifier.
timestamp
array
Yes
A list of timestamps to retrieve multiple subaccount snapshots (one per timestamp).
isolated
boolean
No
A filter to include only isolated or cross margin events.
If
true
: returns only isolated margin events.If
false
: returns only cross margin events.If omitted: returns both isolated and cross events.
Response
Response Fields
Events
submission_idx
Used to uniquely identify the blockchain transaction that generated the event; you can use it to grab the relevant transaction in the txs
section.
product_id
The id of of the product the event is associated with.
event_type
Name of the transaction type this event corresponds to.
subaccount
The subaccount associated to the event.
pre_balance
The state of your balance before the event happened.
post_balance
The state of your balance after the event happened.
product
The state of the product throughout the event.
Last updated