Skip to main content

Tables

SwapERC20_SwapERC20_event

ERC20 token swap execution events containing sender and signer wallet addresses, token contract addresses, exchange amounts, nonces, and protocol fees. Used for tracking decentralized exchange activity and bilateral token trades.
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_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_protocolFeein_senderTokenin_signerTokenblock_timestampin_senderAmountin_senderWalletin_signerAmountin_signerWallettransaction_hash
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false16886571431010848053570xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb90x82af49447d8a07e3bd95bd0d56f35241523fbab12023-07-06T15:26:11.000Z100000x0000ea7fbdeade231816cc098a4d270d8394066b10000000000000000x126c2fe7ec6baaac650544b42d9bd9457a00e24b0xdfe018b735bc8f15460d7dc2ce4d3d344c74182b6bdc8ae2cdb2a9b6414b2745
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false167934039121247188076570x82af49447d8a07e3bd95bd0d56f35241523fbab10xda10009cbd5d07dd0cecc66161fc93d7c9000da12023-03-20T19:57:07.000Z5000000000000000x0000ea7fbdeade231816cc098a4d270d8394066b8762920967147811840x0087bb802d9c0e343f00510000729031ce00bf270x45fcb7776079d75133355eaa809f2e0864fcc17d4427541e1a4ef11b20433aa4
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false167934039121357189727770x82af49447d8a07e3bd95bd0d56f35241523fbab10xda10009cbd5d07dd0cecc66161fc93d7c9000da12023-03-20T21:06:48.000Z5000000000000000x0000ea7fbdeade231816cc098a4d270d8394066b8794190108516030720x0087bb802d9c0e343f00510000729031ce00bf270xca7dfb88dc4bb6f39d5037498fab3778bc30dc667b2b9f25159d1d5b95a487da
Query with partition filter
SELECT *
FROM `tt-contracts.airswap_v4_arbitrum.SwapERC20_SwapERC20_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100