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
TKWJdrQkqHisa1X8HUdHEfREvTzw4pMAaYTYkCuKKD14hDW94yjcK9LGRVMnRX5qUL3Gfalse937TDcep6TUw5b1CYnccQqadEb7iXf49PqJ49TXRunbazkVWfwtEyqe6jQkbxTVp4KCERxQ4406842322022-05-15T09:10:21.000Z0x7eef88ae159e76e2eb25f12c6bb4bd727ebadaee512fea53069cc831503b849f
TKWJdrQkqHisa1X8HUdHEfREvTzw4pMAaYTKto9ZzFHkWM8YMVJP9yNKXZkoHETfnKcxfalse938TJEf9hmq3Nzb4SHzp1hdqyf6umcQHtezYdTR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t5406930062022-05-15T16:29:42.000Z0xb8017dd2b07f38f8220c9089f19733a99abafc81f04569dce37dba833ac47e44
TKWJdrQkqHisa1X8HUdHEfREvTzw4pMAaYTJE4fBkyn4JMPuFz5DK3UV8Ht3dwXqTwixfalse296TG2DUXPsSgYDvwhv9ePYqAaJxhrieX2d7WTGcjhDQ9d5d8DqkHgcdyUF6KsTSikYLUsE4370995012022-01-10T16:59:09.000Z0x492419f2d6dee91949b6a498fc33e6f1013da09ed85e337606f564d867024e68
Query with partition filter
SELECT *
FROM `tt-contracts.sunswap_v2_tron.Factory_PairCreated_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pair_Burn_event

Liquidity removal events from DEX (Decentralized Exchange) trading pairs recording amounts of both tokens withdrawn when liquidity providers burn LP tokens. Used for tracking liquidity provision activity and calculating total value locked (TVL) changes in automated market maker (AMM) pools.
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_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_toSTRINGDestination address receiving tokens or assets in the operation. Hex-encoded, 0x-prefixed, 42-character string.
in_toaddressremovedin_senderlog_indexin_amount0in_amount1block_numberblock_timestamptransaction_hash
TAeTAbt8NrB1zKeAjqWS3m49ABK5fxAP8QTBcDQHSyvChBqJNPYXxvxc3t2WPQLX5NaifalseTKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax61624926783248366158475035380383502022-02-12T10:04:54.000Z0x12dc00f181222eff45450fe17663d2c8faa40c24576333302a77f588bcf02989
TBKR3efrVzMBbmgDmGeU621zqq4AiAXrnXTXFpue4nqvVptJEv4o8JXko5W6yCWpZZaRfalseTKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax593783742147136079382643380462352022-02-12T16:39:15.000Z0x8ce8dd1ef9d1496f48d9e38adf2e41bae429d072aa33c78f66f211c35c393c38
TBpiQ8ko5FFdCj3qiGTqvZFfxBRXV2RPdqTC1GhhC5iGFLuuUthriuUu183P8YWPmQsKfalseTKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax35369882952260119259543380547592022-02-12T23:45:42.000Z0x0f9ada07f3b61c0292089fa67d0257f7cb7ca4aeece5a2a443789dc48d959f85
Query with partition filter
SELECT *
FROM `tt-contracts.sunswap_v2_tron.Pair_Burn_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pair_Mint_event

Liquidity provision events emitted when users add tokens to a DEX pair contract. Records sender address and token amounts deposited for liquidity pool operations.
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_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_senderlog_indexin_amount0in_amount1block_numberblock_timestamptransaction_hash
TC1GhhC5iGFLuuUthriuUu183P8YWPmQsKfalseTKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax7025000000000017646900560040902023-10-30T05:35:24.000Z0xf9c22d98fffb3b2cf1f03094712c201f6d27c53dc6fe961307654efd3eeae115
TC1GhhC5iGFLuuUthriuUu183P8YWPmQsKfalseTKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax151920580580306136026210559990642023-10-30T01:23:45.000Z0xc0a004cb211423c50ee2fffce1a1195f230282e4696337029f092301f7477c5b
TFGDbUyP8xez44C76fin3bn3Ss6jugoUwJfalseTKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax3069479083757366008551574559980602023-10-30T00:33:33.000Z0x0e3925d88ecccab85129e15d181cb65a65a770092c877972011b7674114d4b89
Query with partition filter
SELECT *
FROM `tt-contracts.sunswap_v2_tron.Pair_Mint_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
TSAhTHzE1xKn7DJwQ6eiWYpGkTjcoFftApTA2PXALQsnCZ9KGAFaZrbPrWeG54Jp15ywfalseTKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax1538732762072209581200000000000000000002022-03-08T14:02:39.000Z0x654714c9109427d71eb8290070c9252f34d3a612a347305db4d656217b391a61
TGgBGgET7KSYqYqmeaVAV4N7xF8Z6UaBWXTA2PXALQsnCZ9KGAFaZrbPrWeG54Jp15ywfalseTKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax3738727430052423275145000000000000000002022-03-08T09:35:54.000Z0x34d7d92acf721440234b63f8011fbf123643397c2a056024b49d0db06c946644
TRPj2QKQM4zqQfUcYyuoW6gvYQ8FvDkLbVTA2PXALQsnCZ9KGAFaZrbPrWeG54Jp15ywfalseTKzxdSv2FZKQrEqkKVgp5DcwEXBEKMg2Ax838730742046882516130000000000000000002022-03-08T12:21:36.000Z0x872bc8e23b0b70141d41a72d679a44c0c084babdb8f9aaf3849892b23a86d662
Query with partition filter
SELECT *
FROM `tt-contracts.sunswap_v2_tron.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
T9zMDQW61oKA8iSBYUbF3EExC5EdhzJnPdfalse1099964526757421451580446591303780757433085902022-08-14T18:59:30.000Z0x8448b90b50fad79ec289a748a433560a05c7c81618208e03080f1c627d98a103
T9zMDQW61oKA8iSBYUbF3EExC5EdhzJnPdfalse7998905105941491467082386788400015415432993462022-08-14T11:17:00.000Z0x09a5b05c4c5bd03ee1349dd9c255ba4e80a3f3e4fa9b5724faaddd3bc09486ce
TAQCLN5kbhRUrNDQ3AVmaiXJfchc7cEBVWfalse710167174536951014843634487433140042022-08-14T23:30:15.000Z0x1366d2f09d424f6bd968bcb935503de6bbb1f0bb0caedb124fb94708e64d3f6a
Query with partition filter
SELECT *
FROM `tt-contracts.sunswap_v2_tron.Pair_Sync_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100