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

GetProjectTokenPath

func GetProjectTokenPath(projectId string) (string, error)
Ask AI Claude ChatGPT

GetProjectTokenPath returns the token path of a project by its ID.

Parameters:

  • projectId: unique identifier of the launchpad project to inspect.

Returns:

  • tokenPath: reward-token contract path configured for the project.
  • err: non-nil when projectId does not identify a stored project.

Param

Command

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

Result