Series by Name
Series by Name
This script returns a Series struct for the given name, if it exists.
Parameters:
- seriesName: The name of the Series.
Returns: Golazos.SeriesData
- The Golazos Series Data.
import Golazos from 0xGOLAZOSADDRESS
pub fun main(seriesName: String): Golazos.SeriesData? {
return Golazos.getSeriesDataByName(name: seriesName)
}