Skip to main content

Tables

Factory_PairCreated_event

Decentralized exchange (DEX) liquidity pool creation events emitted by Automated Market Maker (AMM) factory contracts. Records new trading pair deployments with token addresses, deployed pair contract address, and creation sequence number for tracking pool instantiation across DEX protocols.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_token0STRINGContract address of the first token in the trading pair. Hex-encoded, 0x-prefixed, 42-character string.
in_token1STRINGContract address of the second token in the trading pair. Hex-encoded, 0x-prefixed, 42-character string.
in_pairSTRINGContract address of the liquidity pool pair created for trading between two tokens. Hex-encoded, 0x-prefixed, 42-character string.
in_anon3STRINGSequential counter tracking the total number of pairs created by the factory contract.
addressin_pairremovedin_anon3in_token0in_token1log_indexblock_numberblock_timestamptransaction_hash
0xd03d8d566183f0086d8d09a84e1e30b58dd5619d0x02c362ab72ce14e9fe187f59711ecc70a0e52864false90x5aea5775959fbc2557cc8789bc1bf90a239d9a910xc49fccde799448fb4f306f88905fe01790dd45f31399099182023-07-30T04:57:33.000Z0x2c969c9e20ae79bed99c8cd9e51773a608a159d62910d0ebd399d8e15d3045e6
0xd03d8d566183f0086d8d09a84e1e30b58dd5619d0xd0f4d683ed1653bed0f99ed30a83565551490959false100x0e97c7a0f8b2c9885c8ac9fc6136e829cbc21d420x5aea5775959fbc2557cc8789bc1bf90a239d9a914299110642023-07-30T05:16:45.000Z0x0bd59b469edbe99210838b66f52dee43207af1f1a6fcc80e52c5c7ba8749a68f
0xd03d8d566183f0086d8d09a84e1e30b58dd5619d0x410d9a30853b4e55df53ce3912b90e0ab6c5aad4false810x2050149d278170e3b6aee33dbde29ceb714a1b860x5aea5775959fbc2557cc8789bc1bf90a239d9a91197211785352023-12-11T00:10:54.000Z0x7b1bc7f23ffe17a680199921d6f122db2ee8995141c40f2f084c7bc5acc2014d
Query with partition filter
SELECT *
FROM `tt-contracts.pancakeswap_v2_zksyncera.Factory_PairCreated_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pair_Swap_event

Token swap events from decentralized exchange (DEX) liquidity pairs recording input and output amounts for both tokens. Primary source for tracking DEX trading activity and price discovery.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_senderSTRINGAddress that initiated the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_amount0InSTRINGAmount of token0 transferred into the liquidity pool during a swap operation. Stored as decimal string representing the smallest unit of the token.
in_amount1InSTRINGAmount of token1 transferred into the liquidity pool during a swap operation. Stored as decimal string representing the smallest unit of the token.
in_amount0OutSTRINGAmount of token0 transferred out of the liquidity pool during a swap operation. Stored as decimal string representing the smallest unit of the token.
in_amount1OutSTRINGAmount of token1 transferred out of the liquidity pool during a swap operation. Stored as decimal string representing the smallest unit of the token.
in_toSTRINGDestination address receiving tokens or assets in the operation. Hex-encoded, 0x-prefixed, 42-character string.
in_toaddressremovedin_senderlog_indexblock_numberin_amount0Inin_amount1Inin_amount0Outin_amount1Outblock_timestamptransaction_hash
0x14e12b53458b30fcb9065ebf539aedd0791063d90x6221d55a5da5f89970aa4e3a54142948e5120e1dfalse0x14e12b53458b30fcb9065ebf539aedd0791063d946166734332713946222725487155900201002203814360292023-10-18T06:36:54.000Z0xcbe3d7ade22aa74bb79cd83935e083dfbb563c4f47b48cf8960a0ee5b8de82ee
0x14e12b53458b30fcb9065ebf539aedd0791063d90x63edb9338d81c6d8219856548251bacf2a9b1830false0x14e12b53458b30fcb9065ebf539aedd0791063d96216704259342849276002206614039084892212023-10-18T15:35:42.000Z0x3efb1a4b3b24abf005a5c332b6f163add160c8ac7b84dd5dc683a92f73e77e89
0x14e12b53458b30fcb9065ebf539aedd0791063d90x63edb9338d81c6d8219856548251bacf2a9b1830false0x14e12b53458b30fcb9065ebf539aedd0791063d9361672663310942478100703073684699834392023-10-18T21:56:04.000Z0x4ccb9d5cff5bda71c079aa9eeab9549e87169446965ae86f4cec8ce964b876cd
Query with partition filter
SELECT *
FROM `tt-contracts.pancakeswap_v2_zksyncera.Pair_Swap_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pair_Sync_event

Liquidity pair reserve synchronization events emitted after each swap, mint, or burn operation. Contains updated reserve balances for both tokens in AMM (Automated Market Maker) pools, enabling real-time price calculation and liquidity tracking.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_reserve0STRINGReserve amount of the first token in a liquidity pool after a state-changing operation. Stored as decimal string representing the smallest unit of the token.
in_reserve1STRINGReserve amount of the second token in a liquidity pool after a state-changing operation. Stored as decimal string representing the smallest unit of the token.
addressremovedlog_indexin_reserve0in_reserve1block_numberblock_timestamptransaction_hash
0x1d2fce385d536798036b936139887e825f147d49false7219806818032040987909156363500998112099052023-08-14T11:03:52.000Z0x39e1c590b94b26452ae94b8dfc99d7b6385110075eb426839f36a573adc740fd
0x1d2fce385d536798036b936139887e825f147d49false13221641937834588273339080363500998112068192023-08-14T10:10:57.000Z0x40c83dd52e276ceafd9ad4e415f094e3427d22a21ea4f60b22d501adc4506d44
0x1d2fce385d536798036b936139887e825f147d49false13210657111223604841679555075544464112217502023-08-14T14:25:20.000Z0xd7209e7cec2e4fabbcc83278d3860f3997af6155c982b57bdcbaad2672d77b78
Query with partition filter
SELECT *
FROM `tt-contracts.pancakeswap_v2_zksyncera.Pair_Sync_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100