Subgraph
GraphQL Queries
Bets (pre-match, live, freebets) & Events
FreeBet Entity

Freebet Entity

Description

Represents a specific event within the Azuro system, such as new games, bets, or liquidity actions. It stores transaction details, timestamps, and references to related entities like bets and conditions.

Usage

This entity is essential for tracking specific events like new game creations, bets being placed, or conditions being resolved. Use it to build real-time updates or historical event logs in your interface.

Attributes

AttributeTypeDescription
idID!Unique identifier for the event.
contractAddressString!Address of the contract where the event was generated.
nameEventName!Name of the event (e.g., NewGame, BetSettled, LiquidityAdded, etc.).
blockNumberBigInt!Block number where the event occurred.
blockTimestampBigInt!Timestamp of the block when the event occurred.
txHashString!Transaction hash associated with the event.
transactionIndexBigInt!Transaction index within the block.
logIndexBigInt!Log index for the event.
sortOrderBigInt!Sort order for the event.
betIdStringID of the bet related to the event (if applicable).
conditionIdStringID of the condition related to the event (if applicable).
gameIdStringID of the game related to the event (if applicable).
freebetIdStringID of the freebet related to the event (if applicable).
depositIdStringID of the deposit related to the event (if applicable).
gasPriceBigInt!Gas price for the transaction where the event occurred.
gasUsedBigIntAmount of gas used during the event.