Module events

Module events 

Modules§

funding_event_v1
Nested message and enum types in FundingEventV1.
market_event_v1
Nested message and enum types in MarketEventV1.
order_fill_event_v1
Nested message and enum types in OrderFillEventV1.
source_of_funds
Nested message and enum types in SourceOfFunds.
stateful_order_event_v1
Nested message and enum types in StatefulOrderEventV1.

Structs§

AddressTradingReward
AddressTradingReward contains info on an instance of an address receiving a reward
AssetCreateEventV1
AssetCreateEventV1 message contains all the information about an new Asset on the dYdX chain.
DeleveragingEventV1
DeleveragingEvent message contains all the information for a deleveraging on the dYdX chain. This includes the liquidated/offsetting subaccounts and the amount filled.
FundingEventV1
FundingEvent message contains a list of per-market funding values. The funding values in the list is of the same type and the types are: which can have one of the following types:
FundingUpdateV1
FundingUpdate is used for funding update events and includes a funding value and an optional funding index that correspond to a perpetual market.
LiquidationOrderV1
LiquidationOrder represents the liquidation taker order to be included in a liquidation order fill event.
LiquidityTierUpsertEventV1
LiquidityTierUpsertEventV1 message contains all the information to create/update a Liquidity Tier on the dYdX chain.
LiquidityTierUpsertEventV2
LiquidationEventV2 message contains all the information needed to update the liquidity tiers. It contains all the fields from V1 along with the open interest caps.
MarketBaseEventV1
shared fields between MarketCreateEvent and MarketModifyEvent
MarketCreateEventV1
MarketCreateEvent message contains all the information about a new market on the dYdX chain.
MarketEventV1
MarketEvent message contains all the information about a market event on the dYdX chain.
MarketModifyEventV1
MarketModifyEvent message contains all the information about a market update on the dYdX chain
MarketPriceUpdateEventV1
MarketPriceUpdateEvent message contains all the information about a price update on the dYdX chain.
OpenInterestUpdate
OpenInterestUpdate contains a single open interest update for a perpetual Deprecated.
OpenInterestUpdateEventV1
OpenInterestUpdateEventV1 is used for open interest update events Deprecated.
OrderFillEventV1
OrderFillEvent message contains all the information from an order match in the dYdX chain. This includes the maker/taker orders that matched and the amount filled.
PerpetualMarketCreateEventV1
PerpetualMarketCreateEventV1 message contains all the information about a new Perpetual Market on the dYdX chain. Deprecated. See PerpetualMarketCreateEventV2 for the most up to date message for the event to create a new Perpetual Market.
PerpetualMarketCreateEventV2
PerpetualMarketCreateEventV2 message contains all the information about a new Perpetual Market on the dYdX chain. Deprecated. Use PerpetualMarketCreateEventV3 for the most up to date message
PerpetualMarketCreateEventV3
PerpetualMarketCreateEventV3 message contains all the information about a new Perpetual Market on the dYdX chain.
RegisterAffiliateEventV1
Event emitted when a referee is registered with an affiliate.
SourceOfFunds
SourceOfFunds is the source of funds in a transfer event.
StatefulOrderEventV1
StatefulOrderEvent message contains information about a change to a stateful order. Currently, this is either the placement of a long-term order, the placement or triggering of a conditional order, or the removal of a stateful order.
SubaccountUpdateEventV1
SubaccountUpdateEvent message contains information about an update to a subaccount in the dYdX chain. This includes the list of updated perpetual and asset positions for the subaccount. Note: This event message will contain all the updates to a subaccount at the end of a block which is why multiple asset/perpetual position updates may exist.
TradingRewardsEventV1
TradingRewardsEventV1 is communicates all trading rewards for all accounts that receive trade rewards in the block.
TransferEventV1
TransferEvent message contains all the information about a transfer, deposit-to-subaccount, or withdraw-from-subaccount on the dYdX chain. When a subaccount is involved, a SubaccountUpdateEvent message will be produced with the updated asset positions.
UpdateClobPairEventV1
UpdateClobPairEventV1 message contains all the information about an update to a clob pair on the dYdX chain.
UpdatePerpetualEventV1
UpdatePerpetualEventV1 message contains all the information about an update to a perpetual on the dYdX chain. Deprecated. See UpdatePerpetualEventV2 for the most up to date message for the event to update a perpetual.
UpdatePerpetualEventV2
UpdatePerpetualEventV2 message contains all the information about an update to a perpetual on the dYdX chain. Deprecated. Use UpdatePerpetualEventV3.
UpdatePerpetualEventV3
UpdatePerpetualEventV3 message contains all the information about an update to a perpetual on the dYdX chain.
UpsertVaultEventV1
Event emitted when a vault is created / updated.