Skip to main content

Tables

CoinToss_Roll_event

Coin toss game outcome events from BetSwirl protocol contracts. Records each roll with bet details (amount, chosen face, token address), result (actual face rolled), payout amount, and player address for gambling analytics and game settlement tracking.
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_idSTRINGUnique identifier for the position, record, or entity within the protocol. Numeric string representation.
in_userSTRINGAddress of the user account associated with the transaction or protocol operation. Hex-encoded, 0x-prefixed, 42-character string.
in_tokenSTRINGToken address involved in the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_faceBOOLPlayer’s chosen coin face side for the coin toss game. Boolean value where true represents one side (heads) and false represents the other side (tails).
in_rolledBOOLRandomly generated outcome value from the gaming protocol’s verifiable randomness system.
in_payoutSTRINGPayout amount awarded to the player or winner. Numeric string representation of token quantity in smallest denomination.
in_idaddressin_facein_userremovedin_tokenin_amountin_payoutin_rolledlog_indexblock_numberblock_timestamptransaction_hash
1063072427299270389339204258645487285122377529668764457945967577526586127027580x272b4dd8e842be1012c9ccbb89b636996f9bae98true0x8157b9805e2c984774374740c569f58211e6f8eefalse0x0000000000000000000000000000000000000000100000000000000000194000000000000000true24334827732023-08-04T12:34:01.000Z0x04c15e230efc523631c987f85817853278695e28e7040aee27f84fe43f2a7d84
243496237082863356489029945315071815150287376567323103307917976854292450986050x272b4dd8e842be1012c9ccbb89b636996f9bae98true0x8157b9805e2c984774374740c569f58211e6f8eefalse0x8f47416cae600bccf9530e9f3aeaa06bdd1caa791000000000000000000019300000000000000000true32334829792023-08-04T12:40:51.000Z0xc297bcc6a7597abaffd82725589ebe75c48208bfc0193ceabba00967d63cac1f
306103262081554311201050501595776034881062943527826973450816773524203330354840x272b4dd8e842be1012c9ccbb89b636996f9bae98true0x0fdf52317361121b869cc4b415cecc15ab480cecfalse0x00000000000000000000000000000000000000009999999990000000000false1334975112023-08-04T20:49:07.000Z0x0893edac97880d56b595def61e689aad3030a7bcda18086386b85480dddcaff3
Query with partition filter
SELECT *
FROM `tt-contracts.betswirl_v4_avalanche.CoinToss_Roll_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Dice_Roll_event

Dice game outcome events from BetSwirl protocol contracts containing bet parameters, rolled result, cap threshold, and payout amount. Used for tracking dice game activity and settlement across decentralized gambling platforms.
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_idSTRINGUnique identifier for the position, record, or entity within the protocol. Numeric string representation.
in_userSTRINGAddress of the user account associated with the transaction or protocol operation. Hex-encoded, 0x-prefixed, 42-character string.
in_tokenSTRINGToken address involved in the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_capINT64Player’s chosen winning threshold value in the dice game. Integer representing the upper bound for a winning roll outcome.
in_rolledINT64Randomly generated outcome value from the gaming protocol’s verifiable randomness system.
in_payoutSTRINGPayout amount awarded to the player or winner. Numeric string representation of token quantity in smallest denomination.
in_idin_capaddressin_userremovedin_tokenin_amountin_payoutin_rolledlog_indexblock_numberblock_timestamptransaction_hash
9732341795065905753807616115217055680816089869743229977663226363591045420253880x8d940a4859570754d364b86ccc05052ea5068ea60xb78aa826f41d126d9f99022a282c9f5b9f704f1bfalse0x00000000000000000000000000000000000000005000000000000000005271739130434782613910332484162023-07-30T00:16:52.000Z0xcd8ed6a721d80055b97b959ce1f776b082a8ea8d409812a17c3451854390f886
9062777530054608052795749234979676671778855968550570011433432242927972866276280x8d940a4859570754d364b86ccc05052ea5068ea60xb78aa826f41d126d9f99022a282c9f5b9f704f1bfalse0x00000000000000000000000000000000000000005000000000000000005271739130434782612616332487142023-07-30T00:27:02.000Z0x606c1a72f466b8b17eb1c7983068478085de8c88a2566e4e7aad682b7a95c4e1
5508322462931898434536601449866733281303270295203730121870899116185204087062890x8d940a4859570754d364b86ccc05052ea5068ea60xb78aa826f41d126d9f99022a282c9f5b9f704f1bfalse0x00000000000000000000000000000000000000005000000000000000005329670329670329676518332482242023-07-30T00:10:06.000Z0xa8d3e3eab38f672d9d74ab0bfc2f69f5bbf0b3f2a3e6200f03dd50c2f08cb123
Query with partition filter
SELECT *
FROM `tt-contracts.betswirl_v4_avalanche.Dice_Roll_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100