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
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false16967638543842023242253770x55d398326f99059ff775485246999027b31979550x1ce0c2827e2ef14d5c4f29a091d735a2047940412023-10-08T11:17:46.000Z1520462265412088572330xc590175e458b83680867afd273527ff58f74c02b150678404366891900000x111bb8c3542f2b92fb41b8d913c01d37884311110x0c0aba4db167fcfaffe322b373fa3e1f72596721f3c251e6b3d1e2ef4abd62a3
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false16967243010022573240939470x8ac76a51cc950d9822d68b83fe1ad97b32cd580d0x1ce0c2827e2ef14d5c4f29a091d735a2047940412023-10-08T00:18:37.000Z19851400000000000000xc590175e458b83680867afd273527ff58f74c02b1914219353150681000x111bb8c3542f2b92fb41b8d913c01d37884311110x39c2d1e0b4451eac4abfb5ea3c9350e983ff73c3c93fbc791eb4f2b9c06e199a
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false16967708090892553242484870xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c0x1ce0c2827e2ef14d5c4f29a091d735a2047940412023-10-08T13:13:33.000Z104458066800000000xc590175e458b83680867afd273527ff58f74c02b2182819678840189600x111bb8c3542f2b92fb41b8d913c01d37884311110xecb43071b700035ed2f8c88e630f7d93f921271a11501d4ce2aa8ceeffeabe7d
Query with partition filter
SELECT *
FROM `tt-contracts.airswap_v4_bsc.SwapERC20_SwapERC20_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100