Every column the Data API returns, grouped by category, with the ones Velocity has since removed marked inline.
The Data API is live at https://data.velocity.exchange. See Data API. Some columns below describe features Velocity removed (noted inline) and are kept here only for reference until Velocity's own Data API schema is confirmed.
This is an extensive list covering every API endpoint. Pick the category of
historical data to analyse from the right sidebar for quick access. ➡️ ➡️
➡️
Columns in the table below are part of each category:
Column
Unit
Precision
Description
ts
int
seconds(since 1970)
Unix timestamp of the event.
txSig
pubkey
Transaction signature.
slot
int
Slot number of the event.
user
pubkey
amount
int
programId
pubkey
Solana program identifier. On Velocity this is vELoC1audYbSYVRXn1vPaV8Axoa9oU6BYmNGZZBDZ1P on both devnet and mainnet-beta.
marketType
perp/spot
Type of market where the order was filled ("Spot", "Perpetual"). Note: spot order-book trading (the DLOB) is disabled on Velocity: spot fill events no longer occur.
marketIndex
int
Perpetual contract market index. See the SDK's market config (@velocity-exchange/sdkconfigs) for the current index-to-symbol mapping.
spotMarketIndex
int
Index of the spot market.
perpMarketIndex
int
Index of the perpetual contract market.
userAuthority
pubkey
Public key of the user's authority account (wallet).
oraclePrice
int
Oracle price at the time of an event (provided by Pyth or Pyth Lazer on Velocity, legacy Pyth pull and Switchboard are deprecated, see Account Model).
Reward received by the filler for filling the order.
baseAssetAmountFilled
int
Amount of the base asset filled in the order.
quoteAssetAmountFilled
int
Amount of the quote asset filled in the order.
takerFee
int
Fee charged to the taker for filling the order.
makerRebate
int
Rebate provided to the maker for placing the order.
referrerReward
int
Reward received by the referrer for referring the order.
quoteAssetAmountSurplus
int
The vAMM's quote surplus on the fill, kept by the LPs: its spread capture (the curve versus the reference price), plus, when it shaded its price toward the book, the gap it held back between the price the taker paid and the live curve. Not related to unfilled size.
takerOrderBaseAssetAmount
int
Total amount of the base asset the taker ordered to buy or sell.
takerOrderCumulativeBaseAssetAmountFilled
int
Cumulative amount of the base asset filled for the taker's order.
takerOrderCumulativeQuoteAssetAmountFilled
int
Cumulative amount of the quote asset filled for the taker's order.
makerOrderBaseAssetAmount
int
Total amount of the base asset the maker ordered to buy or sell.
makerOrderCumulativeBaseAssetAmountFilled
int
Cumulative amount of the base asset filled for the maker's order.
makerOrderCumulativeQuoteAssetAmountFilled
int
Cumulative amount of the quote asset filled for the maker's order.
makerFee
int
Fee charged to the maker for placing the order (if not a maker rebate).
action
fill
Action type for the order fill event (e.g., "Fill").
actionExplanation
orderExpired/orderFilledWithMatch
Explanation of the action type.
filler
pubkey
Address of the entity that filled the order.
fillRecordId
int
Unique identifier for the order fill record.
taker
pubkey
Address of the taker who placed the order.
takerOrderId
int
Unique identifier for the taker's order.
takerOrderDirection
long/short
Direction of the taker's order (e.g., "Buy", "Sell").
maker
pubkey
Address of the maker who placed the opposing order.
makerOrderId
int
Unique identifier for the maker's order.
makerOrderDirection
long/short
Direction of the maker's order (e.g., "Buy", "Sell").
spotFulfillmentMethodFee
int
Removed on Velocity. External spot fulfillment (Serum/Phoenix/OpenBook v2) was deleted and the spot DLOB is disabled (SpotDlobTradingDisabled); this column no longer applies.
Reward received by the filler for filling the order.
baseAssetAmountFilled
int
Amount of the base asset filled in the order.
quoteAssetAmountFilled
int
Amount of the quote asset filled in the order.
takerFee
int
Fee charged to the taker for filling the order.
makerRebate
int
Rebate provided to the maker for placing the order.
referrerReward
int
Reward received by the referrer for referring the order.
quoteAssetAmountSurplus
int
The vAMM's quote surplus on the fill, kept by the LPs: its spread capture (the curve versus the reference price), plus, when it shaded its price toward the book, the gap it held back between the price the taker paid and the live curve. Not related to unfilled size.
takerOrderBaseAssetAmount
int
Total amount of the base asset the taker ordered to buy or sell.
takerOrderCumulativeBaseAssetAmountFilled
int
Cumulative amount of the base asset filled for the taker's order.
takerOrderCumulativeQuoteAssetAmountFilled
int
Cumulative amount of the quote asset filled for the taker's order.
makerOrderBaseAssetAmount
int
Total amount of the base asset the maker ordered to buy or sell.
makerOrderCumulativeBaseAssetAmountFilled
int
Cumulative amount of the base asset filled for the maker's order.
makerOrderCumulativeQuoteAssetAmountFilled
int
Cumulative amount of the quote asset filled for the maker's order.
makerFee
int
Fee charged to the maker for placing the order (if not a maker rebate).
action
fill
Action type for the order fill event (e.g., "Fill").
The insurance fund is now 100% staker-owned on Velocity: the protocol-owned-shares path and IF rebalance instructions (transferProtocolIfSharesToRevenuePool, beginInsuranceFundSwap/endInsuranceFundSwap, IfRebalanceConfig) were removed. userIfFactor/totalIfFactor below map to the per-market insuranceFund.ifFeeFactor concept rather than a protocol/user split.
Column
Unit
Precision
Description
vaultAmountBefore
int
Total amount deposited into the vault before the event.
insuranceVaultAmountBefore
int
Total amount in the insurance vault before the event.
totalIfSharesBefore
int
Total number of IF shares in circulation before the event.
totalIfSharesAfter
int
Total number of IF shares in circulation after the event.