Set By ID
Set By ID
This script returns a Set struct for the given id, if it exists.
Parameters:
- id: The id of the Set.
Returns: Golazos.SetData
- A Set struct.
import Golazos from 0xGOLAZOSADDRESS
pub fun main(id: UInt64): Golazos.SetData? {
return Golazos.getSetData(id: id)
}