Skip to main content

Edition By ID

Edition for an id number, if it exists.

Parameters:

  • editionID: The id of the edition

Returns: AllDay.EditionData - An All day Edition data struct.

import AllDay from 0xALLDAYADDRESS

pub fun main(editionID: UInt64): AllDay.EditionData? {
return AllDay.getEditionData(id: editionID)
}