Skip to main content

Series by ID

This script returns a Series struct for the given id, if it exists.

Parameters:

  • id: The id of the Series.

Returns: AllDay.SeriesData - The AllDay Series Data.

import AllDay from 0xALLDAYADDRESS

pub fun main(id: UInt64): AllDay.SeriesData? {
return AllDay.getSeriesData(id: id)
}