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

pool package

Function

GetToken1Path

func GetToken1Path(poolPath string) (string, error)

GetToken1Path returns the path of token1 in the pool. Parameters:

  • poolPath: Canonical pool path identifying the pool to query.

Returns:

  • string: Canonical token1 contract path stored by the pool.
  • error: Non-nil when poolPath does not identify an existing pool.

Param

Command

gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetToken1Path()"

Result