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
286906595572766920900883265318705545938871555874961919373463963933845871534990xaed16fb2203621bcf4c3894e7941b1c195075e6afalse0xdc75d95bc46fafed33304c470b4810a4ad2b70e9false0x0000000000000000000000000000000000000000420000000000000000true191307006922023-08-09T11:20:54.000Z0xa09287e8c500eca43e4dbdcf0f7172303a215d45a56714bf62da1613106609a3
987195055663850397967760977948929958737650413815090796168386342432418970154000xaed16fb2203621bcf4c3894e7941b1c195075e6afalse0xd975ff1f1035f7b58f2d5347c986c5301addb54afalse0x00000000000000000000000000000000000000002302378697650674444666146734423084false127310240312023-08-20T17:33:00.000Z0x3cc93038d2ed7185578e353bcec615abed51aa60f77332d888ec1c696cb6e9ae
362653635299783147764642100572472757710744462757577215427812149314685165466250xaed16fb2203621bcf4c3894e7941b1c195075e6atrue0xd975ff1f1035f7b58f2d5347c986c5301addb54afalse0x000000000000000000000000000000000000000045000000000000000false56310241382023-08-20T17:38:21.000Z0xd5862905ee6e2f055137282712dfccf5bdcaa6d99c6c054bb1f9304a7801ae7c
Query with partition filter
SELECT *
FROM `tt-contracts.betswirl_v5_bsc.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
110228984564777074325019753570674917795207075356640711140944511025875757882067990x56b112c906e2d78b24bb53fcf534bb774732b5400x60c20a6614abb57f7a304c382bbc5a1067a98d61false0x0557a288a93ed0df218785f2787dac1cd077f8f3586262184597688800000035195277314492023-04-28T02:50:31.000Z0xe99dd9b52a9b9f77a95fde58a9abd14175ca7975da51620c5ab53312e3b87507
38949583712628979324096683059869650326451485289770544193901512723931275126670x56b112c906e2d78b24bb53fcf534bb774732b5400xbcbf9adee33316dc7cf14d967edb68a56a33f1cffalse0x3e0a7c7db7bb21bda290a80c9811de6d477816711000000000000000000104838709677419354953266262610482023-03-07T14:51:00.000Z0xa21a4cb1289218d744968e7cfe0862784f48de46cfcba6c17b3f668c8223bbe7
52616915256293743710300270746183491916303559052344632237086800357273483821573160x56b112c906e2d78b24bb53fcf534bb774732b5400xce6dd2b6557b274ba6cb14a909b5aae9b9be1bccfalse0x0557a288a93ed0df218785f2787dac1cd077f8f3100000000000000000000001148809523809523809523871103262627182023-03-07T16:15:18.000Z0xf496db361be2d9f1a079cb33fdb52d4e75bb6cd30c57981f591994cf6528efeb
Query with partition filter
SELECT *
FROM `tt-contracts.betswirl_v5_bsc.Dice_Roll_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100