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.Columns
Columns
| Column | Type | Description |
|---|---|---|
block_timestamp | TIMESTAMP | Timestamp when the block was produced. UTC timezone, millisecond precision. |
block_number | INT64 | Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain. |
transaction_hash | STRING | Unique identifier for the transaction. 66-character hex string including 0x prefix. |
log_index | INT64 | Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission. |
address | STRING | Contract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string. |
removed | BOOL | Boolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization. |
in_nonce | STRING | Unique numeric identifier for an order, transaction, or operation used to prevent replay attacks. Numeric string representation without leading zeros. |
in_timestamp | STRING | Unix timestamp when the event or operation occurred. Numeric string representation of seconds since epoch. |
in_signerWallet | STRING | Wallet address of the order signer in the swap transaction. Hex-encoded, 0x-prefixed, 42-character string. |
in_signerAmount | STRING | Amount 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_signerId | STRING | User-defined identifier for the signer party in the swap, typically set to zero in standard transactions. This field allows for optional categorization or grouping of signer addresses within the AirSwap protocol. |
in_signerToken | STRING | Contract address of the token being provided by the order signer in the swap. Hex-encoded, 0x-prefixed, 42-character string. |
in_senderWallet | STRING | Wallet address of the sender in the swap transaction. Hex-encoded, 0x-prefixed, 42-character string. |
in_senderAmount | STRING | Amount of tokens provided by the sender in the swap transaction. Numeric string representation without decimals, denominated in the smallest unit of the sender token. |
in_senderId | STRING | Identifier for the sender party in the AirSwap peer-to-peer swap transaction. Typically set to ‘0’ in standard swaps, as seen across all sample transactions. |
in_senderToken | STRING | Contract address of the token being provided by the sender in the swap. Hex-encoded, 0x-prefixed, 42-character string. |
in_affiliateWallet | STRING | Wallet address of the affiliate who facilitated or referred this swap transaction. Appears as zero address when no affiliate was involved in the trade. |
in_affiliateAmount | STRING | Token amount paid to the affiliate as a fee for facilitating the swap, denominated in the smallest unit of the affiliate token. Zero when no affiliate fee is charged for the transaction. |
in_affiliateId | STRING | Unique identifier for the affiliate party in the AirSwap trade, typically ‘0’ when no affiliate referral is involved. This field allows tracking of trades attributed to specific affiliate partners in the AirSwap protocol. |
in_affiliateToken | STRING | Contract address of the affiliate’s fee token in the swap transaction. Zero address (0x0…0) indicates no affiliate fee was charged for this swap. |
Sample Data
Sample Data
| address | removed | in_nonce | log_index | in_senderId | in_signerId | block_number | in_timestamp | in_affiliateId | in_senderToken | in_signerToken | block_timestamp | in_senderAmount | in_senderWallet | in_signerAmount | in_signerWallet | transaction_hash | in_affiliateToken | in_affiliateAmount | in_affiliateWallet |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x4572f2554421bd64bef1c22c8a81840e8d496bea | false | 1672328313669 | 339 | 0 | 0 | 16291423 | 1672329083 | 0 | 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 | 0xf8640b0b79c236b0c14f67344b4d203ffcedc712 | 2022-12-29T15:51:23.000Z | 353000000000000000 | 0x992878fb6d0c74e200aea8620f6506e9841f2a47 | 6945134575900000000000 | 0xdd12c40d8eb5837a959890ea72c993e5c6fed7d3 | 0x8e810fca6a072c96a5dc4de06aabde36af597def977b1c9b0ba1ba6cd4e7d400 | 0x0000000000000000000000000000000000000000 | 0 | 0xff98f0052bda391f8fad266685609ffb192bef25 |
| 0x4572f2554421bd64bef1c22c8a81840e8d496bea | false | 1672340185748 | 43 | 0 | 0 | 16292538 | 1672342535 | 0 | 0xfcfc434ee5bff924222e084a8876eee74ea7cfba | 0x6b175474e89094c44da98b954eedeac495271d0f | 2022-12-29T19:35:35.000Z | 70000000000000000000 | 0x5107ba745f16125d5558b4b14176595b65937158 | 5250000000000000000000 | 0x5b335a6b238e13bbd00a7bc04dfe810534da02f7 | 0x1ee7b40050631cbd521e9c02975ebae38b5bf52653e03df1eae3c5dbd7a1e9b3 | 0x0000000000000000000000000000000000000000 | 0 | 0xff98f0052bda391f8fad266685609ffb192bef25 |
| 0x4572f2554421bd64bef1c22c8a81840e8d496bea | false | 1588429652527368 | 32 | 0 | 0 | 9987294 | 1588429675 | 0 | 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 | 0x27054b13b1b798b345b591a4d22e6562d47ea75a | 2020-05-02T14:27:55.000Z | 764000000000000000 | 0x21639a426a07498c4e7157ba909f92da2d57ce87 | 100000000 | 0x3310b055015a94a2f2e37014b944d8ca6bd2b845 | 0x2e131060ec158e52e204bf9effce806e6d59152b5033aeeb70f65096527c2603 | 0x0000000000000000000000000000000000000000 | 0 | 0x0000000000000000000000000000000000000000 |
Example Query
Example Query
Query with partition filter