interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
21 lines (20 loc) • 710 B
JavaScript
import { buildTx } from "../../../../helper-func-types";
import { MsgRegisterCounterparty, MsgUpdateClientConfig } from "./tx";
/**
* RegisterCounterparty defines a rpc handler method for MsgRegisterCounterparty.
* @name registerCounterparty
* @package ibc.core.client.v2
* @see proto service: ibc.core.client.v2.RegisterCounterparty
*/
export const registerCounterparty = buildTx({
msg: MsgRegisterCounterparty
});
/**
* UpdateClientConfig defines a rpc handler method for MsgUpdateClientConfig.
* @name updateClientConfig
* @package ibc.core.client.v2
* @see proto service: ibc.core.client.v2.UpdateClientConfig
*/
export const updateClientConfig = buildTx({
msg: MsgUpdateClientConfig
});