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

core package

Function

ClientLatestHeight

func ClientLatestHeight(clientID string) string

ClientLatestHeight returns the latest (highest) consensus height the given client has been updated to, formatted as "<revision>/<height>". This is the client's latest trusted height. Returns "" if the client is unknown. Intended for read-only callers (UIs) that want to surface how up-to-date a client is.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/aib/ibc/core.ClientLatestHeight()"

Result