Skip to main content

entities

sidebar_position: 2 Entities

Entities

  • fiveMinBlock
  • hourBlock
  • dayBlock
  • weekBlock

fiveMinBlock

Description: Provides the start and end block of 5 minute intervals

FieldTypeDescription
idID!block number - hour (Timestamp / 300)
fiveMinInt!Unix 5 Minute (Timestamp / 300 * 300)
startBlockNumBigInt!First Block for the 5 Minute interval
endBlockNumBigInt!Last Block for the 5 Minute interval

hourBlock

Description: Provides the start and end block of Hour intervals

FieldTypeDescription
idID!block number - hour (Timestamp / 3600)
hourInt!Unix Hour (Timestamp / 3600 * 3600)
startBlockNumBigInt!First Block for the Hour interval
endBlockNumBigInt!Last Block for the Hour interval

dayBlock

Description: Provides the start and end block of Day intervals

FieldTypeDescription
idID!block number - day (Timestamp / 86400)
dayInt!Unix Day (Timestamp / 86400 * 86400)
startBlockNumBigInt!First Block for the Day interval
endBlockNumBigInt!Last Block for the Day interval

weekBlock

Description: Provides the start and end block of Week intervals

FieldTypeDescription
idID!block number - week (Timestamp / 604800)
fiveMinInt!Unix Week (Timestamp / 604800 * 604800)
startBlockNumBigInt!First Block for the Week interval
endBlockNumBigInt!Last Block for the Week interval