Unions and Interfaces
All union types, interface types, and custom scalar types in the GraphQL schema
Union Types
EnhancedContract
Metadata for a contract.
This union can be one of the following types:
- EnhancedToken
- EnhancedNftContract
EventData
Event-specific data for a token transaction.
This union can be one of the following types:
- BurnEventData
- MintEventData
- SwapEventData
- PoolBalanceChangedEventData
EventLabelData
Specific data for an event label.
This union can be one of the following types:
- FrontRunLabelData
- SandwichedLabelData
NftEventTradeItem
An item that was either offered or received as part of an NFT trade.
This union can be one of the following types:
- NftEventNftTradeItem
- NftEventTokenTradeItem
NftPoolEventData
Event-specific data for an NFT pool transaction.
This union can be one of the following types:
- NewPoolEventData
- SwapNftOutPoolEventData
- SwapNftInPoolEventData
- NftPoolNftDepositEventData
- NftPoolNftWithdrawalEventData
- NftPoolTokenDepositEventData
- NftPoolTokenWithdrawalEventData
- NftPoolSpotPriceUpdateEventData
- NftPoolDeltaUpdateEventData
- NftPoolFeeUpdateEventData
- NftPoolAssetRecipientUpdateEventData
- NewPoolEventDataV2
- SwapNftOutPoolEventDataV2
- SwapNftInPoolEventDataV2
- NftPoolNftDepositEventDataV2
- NftPoolNftWithdrawalEventDataV2
- NftPoolTokenDepositEventDataV2
- NftPoolTokenWithdrawalEventDataV2
- NftPoolSpotPriceUpdateEventDataV2
- NftPoolOwnershipTransferredEventDataV2
PrimePoolEventData
Event-specific data for a Prime pool transaction.
This union can be one of the following types:
- PrimePoolCacheData
- PrimePoolCachingPausedData
- PrimePoolClaimEthData
- PrimePoolClaimPrimeData
- PrimePoolEmergencyWithdrawData
- PrimePoolEndTimestampUpdatedEthData
- PrimePoolEndTimestampUpdatedPrimeData
- PrimePoolEthRewardsAddedData
- PrimePoolEthRewardsSetData
- PrimePoolLogPoolAdditionData
- PrimePoolLogPoolSetAllocPointData
- PrimePoolLogSetPerSecondData
- PrimePoolLogUpdatePoolData
- PrimePoolRewardDecreaseData
- PrimePoolRewardIncreaseData
- PrimePoolTimeCachePeriodUpdateData
- PrimePoolWithdrawData
TokenLifecycleEventData
Event data for a token’s lifecycle.
This union can be one of the following types:
- TokenBurnEventData
- TokenMintEventData
UnconfirmedEventData
This union can be one of the following types:
- UnconfirmedSwapEventData
- UnconfirmedLiquidityChangeEventData
WebhookCondition
Webhook conditions that must be met for each webhook type.
This union can be one of the following types:
- PriceEventWebhookCondition
- MarketCapEventWebhookCondition
- TokenPairEventWebhookCondition
- NftEventWebhookCondition
- RawTransactionWebhookCondition
Interface Types
NftEventTradeItemBase
Fields that are common in all items offered or received as part of an nft trade.
The contract address for the item.
The number of items transferred.
The recipient of the items.
The type of item involved in the trade. (NFT or TOKEN)