Skip to main content

Tables

OffchainExchange_FillOrder_event

Off-chain exchange order fill events recording executed trades with subaccount balances, order parameters, and settlement deltas. Contains base and quote asset changes, execution price with 18-decimal precision, maker/taker designation, order digest for verification, and product identifier for trading pairs.
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_productIdSTRINGIdentifier for the financial product or trading pair involved in the transaction. Numeric string representation of the product ID in the protocol’s internal indexing system.
in_digestSTRINGCryptographic hash of the order being filled. 66-character hex string including 0x prefix.
in_subaccountSTRINGSubaccount identifier for the order participant. 66-character hex string including 0x prefix, encoding both the wallet address and subaccount name.
in_priceX18STRINGExecution price for the order scaled by 10^18. Numeric string representation of the price with 18 decimal places of precision.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_expirationSTRINGOrder expiration timestamp. Unix timestamp in seconds, or 0 for orders without expiration.
in_nonceSTRINGUnique numeric identifier for an order, transaction, or operation used to prevent replay attacks. Numeric string representation without leading zeros.
in_isTakerBOOLBoolean flag indicating whether the order was executed as a taker order in the exchange match.
in_feeAmountSTRINGFee amount charged for the flash loan or transaction. Numeric string representation of fee quantity in smallest denomination.
in_baseDeltaSTRINGChange in base asset quantity for the order fill. Numeric string representation in smallest denomination, positive for buys and negative for sells.
in_quoteDeltaSTRINGChange in quote asset quantity for the order fill. Numeric string representation in smallest denomination, negative when buying base and positive when selling base.
addressremovedin_noncein_amountin_digestlog_indexin_isTakerin_priceX18block_numberin_baseDeltain_feeAmountin_productIdin_expirationin_quoteDeltain_subaccountblock_timestamptransaction_hash
0xd0899a1235771733e89b674633981e422aa45b1afalse0-1300000000000000000000xec32c7a972202dfc8cae313b0826690a6071d81f95b227553a8e4af5dc60b124419false240420000000000000021443774-130000000000000000000010403125460000000000000000x00000000000000000000000000000000000000000000000000000000000000012024-10-23T09:48:15.000Z0x65ebfe872162d4286d2c1f7f94526f1bca8f50c14b26b0a3f951736793db03d6
0xd0899a1235771733e89b674633981e422aa45b1afalse0-2400000000000000000000x779c34bc68afe5ba0da27482ab07dbf920ac705e3300988dc26ab458acb022c9417false240410000000000000021443774-240000000000000000000010405769840000000000000000x00000000000000000000000000000000000000000000000000000000000000012024-10-23T09:48:15.000Z0x65ebfe872162d4286d2c1f7f94526f1bca8f50c14b26b0a3f951736793db03d6
0xd0899a1235771733e89b674633981e422aa45b1afalse18136970605530975723700000000000000000000xcb3ad1a4567e4db5850c87f4db505eb781b3f23eaf19901773a365cbe91af67b418true24230000000000000002144377424000000000000000000011541988397679535910411529216775744685485-5770994198839767953590xee33e09ae46d84587a8a89bb7a74e70f8961058b64656661756c7400000000002024-10-23T09:48:15.000Z0x65ebfe872162d4286d2c1f7f94526f1bca8f50c14b26b0a3f951736793db03d6
Query with partition filter
SELECT *
FROM `tt-contracts.vertex_v1_base.OffchainExchange_FillOrder_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

OffchainExchange_Initialized_event

Contract initialization events for the Vertex protocol OffchainExchange contract, capturing version information and deployment metadata. Emitted once per contract deployment to mark the contract’s operational state activation.
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_versionINT64Version identifier for the contract or event schema. String or integer value indicating the initialization or state version.
addressremovedlog_indexin_versionblock_numberblock_timestamptransaction_hash
0xd0899a1235771733e89b674633981e422aa45b1afalse41193437212024-09-04T19:06:29.000Z0x5e1a8d7219fec12b875aced230fa882ad43e52ebd9b84a8284b213044c0857c4
Query with partition filter
SELECT *
FROM `tt-contracts.vertex_v1_base.OffchainExchange_Initialized_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

OffchainExchange_OwnershipTransferred_event

Ownership transfer events from OffchainExchange contracts recording changes in contract ownership. Contains previous owner, new owner addresses, and transaction metadata for tracking administrative control transitions.
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_previousOwnerSTRINGAddress of the prior owner in an ownership transfer event. Hex-encoded, 0x-prefixed, 42-character string.
in_newOwnerSTRINGAddress of the newly assigned owner in an ownership transfer event. Hex-encoded, 0x-prefixed, 42-character string.
addressremovedlog_indexin_newOwnerblock_numberblock_timestampin_previousOwnertransaction_hash
0xd0899a1235771733e89b674633981e422aa45b1afalse00x4dfdffae13ca8bfc339398b586dcc1cac14beb80193835552024-09-05T17:14:17.000Z0xece5f68e5fae5cff2f231c185ac4db83d50abe0c0x669db89d6cf30e206195d552690eef89146b0e1882ea3baa6129bf5bf5406ae4
0xd0899a1235771733e89b674633981e422aa45b1afalse30xece5f68e5fae5cff2f231c185ac4db83d50abe0c193437212024-09-04T19:06:29.000Z0x00000000000000000000000000000000000000000x5e1a8d7219fec12b875aced230fa882ad43e52ebd9b84a8284b213044c0857c4
Query with partition filter
SELECT *
FROM `tt-contracts.vertex_v1_base.OffchainExchange_OwnershipTransferred_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100