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
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false1689717103277836670xb31f66aa3c1e785363f0875a1b74e27b85fd66c70xa7d7079b0fead91f3e65f86e8915cb59c1a4c6642023-07-18T21:48:32.000Z68500000000000000000xc590175e458b83680867afd273527ff58f74c02b942163580x2008b6c3d07b061a84f790c035c2f6dc11a0be700xbd36ce48422fa4f4f3a87e6c415b55891e0f290ce515e10f779d085724cf36c5
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false1689706143277302670xb31f66aa3c1e785363f0875a1b74e27b85fd66c70xa7d7079b0fead91f3e65f86e8915cb59c1a4c6642023-07-18T18:49:31.000Z50110000000000000xc590175e458b83680867afd273527ff58f74c02b699680x2008b6c3d07b061a84f790c035c2f6dc11a0be700x96ae2bc9812f9af0dee9ab1036d999cd93fcb55d418e2dfbfe8255fcc44715cd
0xd82fa167727a4dc6d6f55830a2c47abbb4b3a0f8false1689702243277096470xb31f66aa3c1e785363f0875a1b74e27b85fd66c70xa7d7079b0fead91f3e65f86e8915cb59c1a4c6642023-07-18T17:40:39.000Z130060000000000000xc590175e458b83680867afd273527ff58f74c02b1795310x2008b6c3d07b061a84f790c035c2f6dc11a0be700x303d6f7ff595da0f35e79dcce42b491457ea03206be7657b8f12949694018b44
Query with partition filter
SELECT *
FROM `tt-contracts.airswap_v4_avalanche.SwapERC20_SwapERC20_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100