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

GetChannel

func GetChannel(channelId types.ChannelId) (types.Channel, error)

GetChannel returns the stored channel record for channelId. Apps need this to look up the counterparty channel id when constructing packets to send via BatchSend (the core no longer auto-derives it from a sender-side helper).

Param

Command

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

Result