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

GetChannelOwner

func GetChannelOwner(channelId types.ChannelId) (string, error)

GetChannelOwner returns the port that owns channelId, or an error when the channel is missing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.sapphire.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.GetChannelOwner()"

Result