Each event corresponds to a transaction type in Vertex. See below available events and their event_type mapping:
Event Name
Event Type Value
Event Limits
You can specify 2 types of limit on the query:
raw: the max number of events to return.
txs: the max number of transactions to return. note: one transaction can emit multiple events, by specifying this limit, you will get all the events associated to the transactions in the response.
Request
Query events corresponding to a specific subaccount, ordered by submission index desc. E.g: all MatchOrder events for subaccount xxx specific to spot wBTC.
Query events corresponding to specific products, ordered by submission index desc. Uses txs limit, will only return a single tx and one or more events associated with the tx.
Net cumulative: the net difference in that quantity since the beginning of time. For example, if I want to compute total amount paid out in funding between two events, you can subtract the net_funding_cumulative of the larger event by the net_funding_cumulative of the smaller event.
Net unrealized: similar to net_cumulative, but for net_unrealized, we have the caveat that when the magnitude of your position decreases, the magnitude of net_unrealized decreases by the same amount.