Tables
Router_Executed_event
Token swap execution event emitted by the Zerion Router contract. Records swap parameters including input/output tokens, amounts exchanged, protocol and marketplace fees charged, and swap routing details via callerCallData.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_inputToken | STRING | Contract address of the token being deposited or transferred. Hex-encoded, 0x-prefixed, 42-character string. |
in_absoluteInputAmount | STRING | Amount of input tokens specified for the swap operation. String-encoded integer representing the quantity in the smallest denomination of the input token. |
in_inputBalanceChange | STRING | Actual change in the sender’s input token balance for the swap operation. String-encoded integer representing the quantity in the smallest denomination of the input token. |
in_outputToken | STRING | Contract address of the token to be received on the destination chain. Hex-encoded, 0x-prefixed, 42-character string. |
in_absoluteOutputAmount | STRING | Amount of output tokens expected from the swap operation before fees are deducted. String-encoded integer representing the quantity in the smallest denomination of the output token. |
in_returnedAmount | STRING | Amount of tokens returned to the user after completing the swap or settlement operation. String-encoded integer representing the quantity in the smallest denomination of the output token. |
in_protocolFeeAmount | STRING | Amount of fees collected by the protocol from the transaction. String-encoded integer representing the fee in the smallest denomination of the token. |
in_marketplaceFeeAmount | STRING | Amount of fees collected by a marketplace partner or third-party integrator from the swap transaction. String-encoded integer representing the fee in the smallest denomination of the token. |
in_swapDescription | STRUCT<swapType INT64, protocolFee STRUCT<share STRING, beneficiary STRING>, marketplaceFee STRUCT<share STRING, beneficiary STRING>, account STRING, caller STRING, callerCallData STRING> | Structured data describing the swap operation parameters and fee configuration. Contains swap type identifier, protocol and marketplace fee structures with beneficiary addresses, user account address, caller contract address, and hex-encoded calldata for the swap execution. |
in_sender | STRING | Address that initiated the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string. |
Sample Data
Sample Data
| address | removed | in_sender | log_index | block_number | in_inputToken | in_outputToken | block_timestamp | transaction_hash | in_returnedAmount | in_swapDescription | in_protocolFeeAmount | in_inputBalanceChange | in_absoluteInputAmount | in_absoluteOutputAmount | in_marketplaceFeeAmount |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xd7f1dd5d49206349cae8b585fcb0ce3d96f1696f | false | 0x58fb614ac8e6dde30ab99b81b22724696b9dee6f | 18 | 68116432 | 0xff970a61a04b1ca14834a43f5de4533ebddb5cc8 | 0x5575552988a3a80504bbaeb1311674fcfd40ad4b | 2023-03-09T05:40:35.000Z | 0x2e40802e4286a9959f0dedfe3e5e844c8c6da5170ffbc1dabaec5b438221797c | 22117615821553285 | {“caller”:“0xc629bf86f02ef13e8f1f5f75ade8a8165587998f”,“account”:“0x58fb614ac8e6dde30ab99b81b22724696b9dee6f”,“swapType”:1,“protocolFee”:{“share”:“5000000000000000”,“beneficiary”:“0x4a183b7ed67b9e14b3f45abfb2cf44ed22c29e54”},“callerCallData”:“0x000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000a00000000000000000000000005575552988a3a80504bbaeb1311674fcfd40ad4b0000000000000000000000000000000000000000000000000000000000000104414bf389000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc80000000000000000000000005575552988a3a80504bbaeb1311674fcfd40ad4b0000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000d7f1dd5d49206349cae8b585fcb0ce3d96f1696f000000000000000000000000000000000000000000000000000000006409784e00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000”,“marketplaceFee”:{“share”:“0”,“beneficiary”:“0x0000000000000000000000000000000000000000”}} | 110588079107766 | 100 | 100 | 22007027742445516 | 0 |
| 0xd7f1dd5d49206349cae8b585fcb0ce3d96f1696f | false | 0x58fb614ac8e6dde30ab99b81b22724696b9dee6f | 12 | 68118845 | 0xff970a61a04b1ca14834a43f5de4533ebddb5cc8 | 0x62c7e128e7c3205964429f58a0c6f63a776d10d1 | 2023-03-09T05:51:52.000Z | 0x213a3761dc6b77e40f1298f0f1773b290002098a0202fcb374b826b4d6ad8658 | 20596190446881240 | {“caller”:“0xc629bf86f02ef13e8f1f5f75ade8a8165587998f”,“account”:“0x58fb614ac8e6dde30ab99b81b22724696b9dee6f”,“swapType”:1,“protocolFee”:{“share”:“5000000000000000”,“beneficiary”:“0x4a183b7ed67b9e14b3f45abfb2cf44ed22c29e54”},“callerCallData”:“0x000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000062c7e128e7c3205964429f58a0c6f63a776d10d1000000000000000000000000000000000000000000000000000000000000014ac04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d7f1dd5d49206349cae8b585fcb0ce3d96f1696f0000000000000000000000000000000000000000000000000000000064097af300000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042ff970a61a04b1ca14834a43f5de4533ebddb5cc80001f482af49447d8a07e3bd95bd0d56f35241523fbab100271062c7e128e7c3205964429f58a0c6f63a776d10d10000000000000000000000000000000000000000000000000000000000007a6572696f6e00000000000000000000000000000000000000000000”,“marketplaceFee”:{“share”:“0”,“beneficiary”:“0x0000000000000000000000000000000000000000”}} | 102980952234406 | 1000 | 1000 | 20493208936931399 | 0 |
| 0xd7f1dd5d49206349cae8b585fcb0ce3d96f1696f | false | 0x88581d95204b7ef4eaf5b4b7698fd59f3b0e0619 | 28 | 68323188 | 0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9 | 0xa0b862f60edef4452f25b4160f177db44deb6cf1 | 2023-03-09T20:56:28.000Z | 0x31550fe479b9463c43b8f92506f5b03a72cb046c43f32d408cb166c63264cff4 | 1672162547657128 | {“caller”:“0xc629bf86f02ef13e8f1f5f75ade8a8165587998f”,“account”:“0x88581d95204b7ef4eaf5b4b7698fd59f3b0e0619”,“swapType”:1,“protocolFee”:{“share”:“5000000000000000”,“beneficiary”:“0x4a183b7ed67b9e14b3f45abfb2cf44ed22c29e54”},“callerCallData”:“0x000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a0b862f60edef4452f25b4160f177db44deb6cf10000000000000000000000000000000000000000000000000000000000000b48415565b0000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9000000000000000000000000a0b862f60edef4452f25b4160f177db44deb6cf10000000000000000000000000000000000000000000000000000000000030d400000000000000000000000000000000000000000000000000005eb459bc8d44300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000042000000000000000000000000000000000000000000000000000000000000008e000000000000000000000000000000000000000000000000000000000000000130000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb900000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab100000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000030d40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000012556e69737761705633000000000000000000000000000000000000000000000000000000000000000000000000030d400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156400000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000042fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9000064ff970a61a04b1ca14834a43f5de4533ebddb5cc80001f482af49447d8a07e3bd95bd0d56f35241523fbab10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000004600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000a0b862f60edef4452f25b4160f177db44deb6cf100000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000042000000000000000000000000000000000000000000000000000000000000003e0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000001942616c616e6365725632000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000005eb459bc8d442000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000204a3a22a3e7fee0ffbb66f1c28bfac50f75546fc700020000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000a0b862f60edef4452f25b4160f177db44deb6cf10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb900000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000007cba0eb7a94068324583be7771c5ecda25e4c4d100000000000000000000000000000000000000000000006941cfcded640a47f1000000000000000000000000000000000000000000000000”,“marketplaceFee”:{“share”:“0”,“beneficiary”:“0x0000000000000000000000000000000000000000”}} | 8360812738285 | 200000 | 200000 | 1657769796965057 | 0 |
Example Query
Example Query
Query with partition filter