Skip to main content

Tables

Factory_PoolCreated_event

Factory contract event emitted when a new liquidity pool is created, recording token pairs and pool configuration parameters. Used for tracking DEX pool deployments and liquidity market initialization.
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_feeSTRINGFee amount charged for the transaction or operation. String-encoded integer value representing the fee in the smallest unit of the relevant token or currency.
in_tickSpacingINT64Minimum price movement increment between adjacent ticks in a concentrated liquidity pool.
in_poolSTRINGContract address of the pool being referenced in the event. Hex-encoded, 0x-prefixed, 42-character string.
in_poolLengthSTRINGCurrent total count of liquidity pools created by the Sunswap V3 factory contract at the time of this pool’s creation. Increments sequentially with each new pool deployment.
in_feeaddressin_poolremovedin_token0in_token1log_indexblock_numberin_poolLengthin_tickSpacingblock_timestamptransaction_hash
10000TThJt8zaJzJMhCEScH7zWKnp5buVZqys9xTHcVBYFgBcV7kqXzYzUknAX4PA88Kzr9PNfalseTNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFRTNi4M1p9Q5VP6VkWveswLhuKFLSaMzhytK1658668254502002024-01-30T18:29:42.000Z0x7cc9f03a7c95bd344e5d85966014efc8ded6d9f757eafb2855ebd7f3852556e0
3000TThJt8zaJzJMhCEScH7zWKnp5buVZqys9xTSkAX8y4NrmBaHgfT568b6dZAWiMWomnibfalseTR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6tTSdJ6yX5h9giKGFPH2d8pF7rSjiqTj9WxQ15364021315602023-08-09T01:05:30.000Z0xd05a7a04dae6dbaa68cc8ce44d8f28cfa0cce78db6dbb04a588b29532c06d36b
100TThJt8zaJzJMhCEScH7zWKnp5buVZqys9xTRZV1dh9mcwMZu5aksq2NSQwZyoLoNLAcgfalseTR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6tTUF3a6J5UXFcnqTK8eEk4wViM7Gn5MQRWp24559048773312023-10-26T18:52:27.000Z0x49aac50c77bd91b653b6acc157e8c33c70040ec1487acbd372306942c02af39b
Query with partition filter
SELECT *
FROM `tt-contracts.sunswap_v3_tron.Factory_PoolCreated_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pool_Burn_event

Liquidity removal events from concentrated liquidity pools recording withdrawn token amounts and position tick ranges. Contains owner address, liquidity amount burned, token amounts withdrawn (amount0/amount1), and tick boundaries for tracking position liquidations and TVL changes.
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_ownerSTRINGAddress that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.
in_tickLowerINT64Lower tick boundary of a concentrated liquidity position in a Uniswap V3-style pool. Signed integer representing a discrete price point on the logarithmic tick scale.
in_tickUpperINT64Upper tick boundary of a concentrated liquidity position in a Uniswap V3-style pool. Signed integer representing a discrete price point on the logarithmic tick scale.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_amount0STRINGAmount of token0 involved in the liquidity pool operation. Numeric string representation of token quantity in smallest denomination.
in_amount1STRINGAmount of token1 involved in the liquidity pool operation. Numeric string representation of token quantity in smallest denomination.
addressremovedin_ownerin_amountlog_indexin_amount0in_amount1block_numberin_tickLowerin_tickUpperblock_timestamptransaction_hash
TPTQhJMAe9hZoeMkhdeQ8CSQKzVqp7oiQHfalseTLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF2220200627334401112273364722163421065138140503930576748113172003378002023-12-27T06:18:42.000Z0xf1434f59d2a6cf9be9413d98ca9f2ca98341ff53e860e4be39341e61da1b6d4e
TPTQhJMAe9hZoeMkhdeQ8CSQKzVqp7oiQHfalseTLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF2338841099437593770131829421345312819892012407554991374952576839163274003376002023-12-27T13:54:21.000Z0xa9dfdfcbf0c63af8138d4be68983201e1349c37c4e89e9ab90015767d0e58503
TPTQhJMAe9hZoeMkhdeQ8CSQKzVqp7oiQHfalseTLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF88065735144501680681469953459822825370117024899576748043338003344002023-12-27T06:18:21.000Z0x2cdff8b251c3973271ca31d7840dd3580206c7a367040922f7de41398ea4cdea
Query with partition filter
SELECT *
FROM `tt-contracts.sunswap_v3_tron.Pool_Burn_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pool_Mint_event

Liquidity provision events emitted when liquidity providers add tokens to concentrated liquidity pools. Records deposited token amounts, tick ranges, liquidity shares, and position owner for DEX pool analytics.
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_ownerSTRINGAddress that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.
in_tickLowerINT64Lower tick boundary of a concentrated liquidity position in a Uniswap V3-style pool. Signed integer representing a discrete price point on the logarithmic tick scale.
in_tickUpperINT64Upper tick boundary of a concentrated liquidity position in a Uniswap V3-style pool. Signed integer representing a discrete price point on the logarithmic tick scale.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_amount0STRINGAmount of token0 involved in the liquidity pool operation. Numeric string representation of token quantity in smallest denomination.
in_amount1STRINGAmount of token1 involved in the liquidity pool operation. Numeric string representation of token quantity in smallest denomination.
addressremovedin_ownerin_amountin_senderlog_indexin_amount0in_amount1block_numberin_tickLowerin_tickUpperblock_timestamptransaction_hash
TY9SHr1oMRqxQDmPkCyHGKuvU5wuHmCUWLfalseTLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF2812666008603728097TLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF829999999999974503856511767595640804652591371-269460-2624402023-07-03T14:46:03.000Z0x4ced3457f0a35cb963308bed8c93bacfa911f35953393302ee9d0cd218e4ec89
TLVDozYEBgeaJXH7oKBsougzEJKNrogFunfalseTLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF92896890343TLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF92150506856340500000000052592022-41000-270002023-07-03T15:18:36.000Z0x49d4ff6e3d103a5812614ab0c1dd791d14860438a84fb35ec5923082c4078ff7
TC9QmgR8MUwRCYe3kCLwH8MW2WtxiLd6AVfalseTLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF955485084TLSWrv7eC1AZCXkRjpqMZUmvgd99cj7pPF228699999968998212156828495-29640-157802023-11-27T20:49:27.000Z0x6ac068280206342356a67f36a877d4a67b582009b43b41b68658bc95549f52ae
Query with partition filter
SELECT *
FROM `tt-contracts.sunswap_v3_tron.Pool_Mint_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pool_Swap_event

Decentralized exchange (DEX) swap execution events recording token exchanges within liquidity pools. Contains sender, recipient, token amounts, liquidity depth, price data (sqrtPriceX96 or tick), and transaction metadata for tracking trading activity and price movements.
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_recipientSTRINGAddress designated to receive the output tokens from a swap or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_amount0STRINGAmount of token0 involved in the liquidity pool operation. Numeric string representation of token quantity in smallest denomination.
in_amount1STRINGAmount of token1 involved in the liquidity pool operation. Numeric string representation of token quantity in smallest denomination.
in_sqrtPriceX96STRINGSquare root of the price ratio between token1 and token0 encoded as a Q64.96 fixed-point number. Numeric string representation used in concentrated liquidity automated market makers.
in_liquiditySTRINGTotal liquidity available in the pool at the time of the event. Numeric string representation of liquidity in smallest denomination.
in_tickINT64Current tick index of the concentrated liquidity pool after the swap or operation. Integer value representing the price point on the pool’s tick spacing grid.
addressin_tickremovedin_senderlog_indexin_amount0in_amount1block_numberin_liquidityin_recipientblock_timestampin_sqrtPriceX96transaction_hash
TTFc7puyspGNvKNxcdeRi1QmYgZEcia4VM23843falseTGKLeTRMJyzpHq9ypyukxc3ee4DAyyfbqB10424855469-281306910550282321850955538TGKLeTRMJyzpHq9ypyukxc3ee4DAyyfbqB2023-09-26T08:06:30.000Z2609858728523885255428375162140x1b3bafb3efafd8533cbf61474b1b215a686d7805adb9651f41374485343c6f81
TTFc7puyspGNvKNxcdeRi1QmYgZEcia4VM24873falseTQAvWQpT9H916GckwWDJNhYZvQMkuRL7PN9-8420067100000000550425201850955538TY6ySgXFr98FGeS9NCCML7rMuhvMt6EE6F2023-09-26T20:01:09.000Z2747694419818435082751580186870x4a9911b7c19e09a05a7322f47128a66e1e7f57c747aee8dc9e756f463d30b941
TTFc7puyspGNvKNxcdeRi1QmYgZEcia4VM24560falseTGKLeTRMJyzpHq9ypyukxc3ee4DAyyfbqB113-19767125222985432550282331850955538TS1TcGJJxLcvhMk73L3vsnUpVzMQceMPkm2023-09-26T08:06:33.000Z2705018906330913620428500161340xc338b5269c660f4d4396b067e2d7ac5371642b956c488fcf026079909b25ba84
Query with partition filter
SELECT *
FROM `tt-contracts.sunswap_v3_tron.Pool_Swap_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100