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
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false20990223891793895570xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20x1f9840a85d5af5bf1d1762f925bdaddc4201f9842023-08-18T03:18:59.000Z24762527177300000x74de5d4fcbf63e00296fd95d33236b97940166318311936740864222720xb3c839dbde6b96d37c56ee4f9dad3390d49310aa0xc4ccb8d7cdd82c1c45de8083cf1b961bea69d8ee0c95feda9e1d38f47d8044de
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false21082991261794037670xdac17f958d2ee523a2206206994597c13d831ec70x1f9840a85d5af5bf1d1762f925bdaddc4201f9842023-08-18T08:05:35.000Z10000000000x74de5d4fcbf63e00296fd95d33236b97940166311986998839872459898880xb3c839dbde6b96d37c56ee4f9dad3390d49310aa0xcd8746542aeb48456cd733514cdd498b08d0374f8f281a0bcc5477e285820753
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false21034801671793967370x6b175474e89094c44da98b954eedeac495271d0f0x2260fac5e5542a773aa44fbcfedf7c193bc2c5992023-08-18T05:44:23.000Z82330000000000000000000x74de5d4fcbf63e00296fd95d33236b9794016631310335190xb3c839dbde6b96d37c56ee4f9dad3390d49310aa0xc601ed916d1498fc0802646a7b38e9527821eacf09496f58498a57c17ec1ea61
Query with partition filter
SELECT *
FROM `tt-contracts.airswap_v4_ethereum.SwapERC20_SwapERC20_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100