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
0x132f13c3896eab218762b9e46f55c9c478905849false167342522716224688531167342523470x55d398326f99059ff775485246999027b31979550x1ce0c2827e2ef14d5c4f29a091d735a2047940412023-01-11T08:20:34.000Z992570000000000000000xc590175e458b83680867afd273527ff58f74c02b79514185918113480000x111bb8c3542f2b92fb41b8d913c01d37884311110x3231d949f20f4371a020a76c8bac79b0bc551e2de0706bd07d04bab9d55cca2b
0x132f13c3896eab218762b9e46f55c9c478905849false167347170011224703903167347171170x55d398326f99059ff775485246999027b31979550x1ce0c2827e2ef14d5c4f29a091d735a2047940412023-01-11T21:15:11.000Z198514000000000000000xc590175e458b83680867afd273527ff58f74c02b13742004886787538000x111bb8c3542f2b92fb41b8d913c01d37884311110x0565eef2ac464f47838634642e8afd2d19091662a2a98b9321cd203827909dfc
0x132f13c3896eab218762b9e46f55c9c478905849false16734566859324698981167345681670x8ac76a51cc950d9822d68b83fe1ad97b32cd580d0x1ce0c2827e2ef14d5c4f29a091d735a2047940412023-01-11T17:06:56.000Z992570000000000000000xc590175e458b83680867afd273527ff58f74c02b79819509403601430000x111bb8c3542f2b92fb41b8d913c01d37884311110x983fd462618999612d1e952d9aa5a3b0ec456786d15674143feeabc4634a02d6
Query with partition filter
SELECT *
FROM `tt-contracts.airswap_v3_bsc.Swap_Swap_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100