Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

launchpad package

Function

GetProjectActiveStatus

func GetProjectActiveStatus(projectId string) (bool, error)
Ask AI Claude ChatGPT

GetProjectActiveStatus returns whether a project is currently active.

Parameters:

  • projectId: unique identifier of the project to inspect.

Returns:

  • active: true when the project is active at the current Unix time; false when it is inactive.
  • err: non-nil when projectId does not identify a stored project.

Param

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/launchpad.GetProjectActiveStatus()"

Result