Skip to main content

Tables

Swap_Swap_event

Executed swap events recording bilateral token exchanges between sender and signer wallets. Contains token addresses, exchange amounts, nonces for replay protection, and optional protocol fees or affiliate compensation depending on contract version.
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_nonceSTRINGUnique numeric identifier for an order, transaction, or operation used to prevent replay attacks. Numeric string representation without leading zeros.
in_timestampSTRINGUnix timestamp when the event or operation occurred. Numeric string representation of seconds since epoch.
in_signerWalletSTRINGWallet address of the order signer in the swap transaction. Hex-encoded, 0x-prefixed, 42-character string.
in_signerTokenSTRINGContract address of the token being provided by the order signer in the swap. Hex-encoded, 0x-prefixed, 42-character string.
in_signerAmountSTRINGAmount of tokens provided by the order signer in the swap. Numeric string representation without decimals, denominated in the smallest unit of the signer token.
in_protocolFeeSTRINGFee collected by the protocol from the transaction or operation. Numeric string representation without decimals.
in_senderWalletSTRINGWallet address of the sender in the swap transaction. Hex-encoded, 0x-prefixed, 42-character string.
in_senderTokenSTRINGContract address of the token being provided by the sender in the swap. Hex-encoded, 0x-prefixed, 42-character string.
in_senderAmountSTRINGAmount of tokens provided by the sender in the swap transaction. Numeric string representation without decimals, denominated in the smallest unit of the sender token.
addressremovedin_noncelog_indexblock_numberin_timestampin_protocolFeein_senderTokenin_signerTokenblock_timestampin_senderAmountin_senderWalletin_signerAmountin_signerWallettransaction_hash
0x6713c23261c8a9b7d84dd6114e78d9a7b9863c1afalse167130944418236952391167130945370x0d500b1d8e8ef31e21c99d1db9a6444d3adf12700xc2132d05d31c914a87c6611c10748aeb04b58e8f2022-12-17T20:37:33.000Z29777100000000000000xc590175e458b83680867afd273527ff58f74c02b23809230x945bcf562085de2d5875b9e2012ed5fd5cfab9270xd7a86947ce798f811b76d8dd315480953563f3469810d966ec379e6aa5072c89
0x6713c23261c8a9b7d84dd6114e78d9a7b9863c1afalse167131330622736954141167131331870x0d500b1d8e8ef31e21c99d1db9a6444d3adf12700xc2132d05d31c914a87c6611c10748aeb04b58e8f2022-12-17T21:41:58.000Z99257000000000000xc590175e458b83680867afd273527ff58f74c02b79640x945bcf562085de2d5875b9e2012ed5fd5cfab9270xd58247abc16cf1abf48a03a5efa3cb4262675b6d41dc2b6c6a358ff62412e1ab
0x6713c23261c8a9b7d84dd6114e78d9a7b9863c1afalse167125684429636927970167125686170x0d500b1d8e8ef31e21c99d1db9a6444d3adf12700xc2132d05d31c914a87c6611c10748aeb04b58e8f2022-12-17T06:01:01.000Z99257000000000000000xc590175e458b83680867afd273527ff58f74c02b79950630x945bcf562085de2d5875b9e2012ed5fd5cfab9270x5f1ba6bc0a657cde39de43eba3a2969dafcd92bd66caff99f78e7ad9f90489fa
Query with partition filter
SELECT *
FROM `tt-contracts.airswap_v3_polygon.Swap_Swap_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100