diff --git a/types/txMsg.ts b/types/txMsg.ts index a58614f..cd8cdb7 100644 --- a/types/txMsg.ts +++ b/types/txMsg.ts @@ -7,7 +7,8 @@ export type MsgType = | "redelegate" | "claimRewards" | "setWithdrawAddress" - | "createVestingAccount"; + | "createVestingAccount" + | "msgTransfer"; export type TxMsg = | TxMsgSend @@ -16,7 +17,8 @@ export type TxMsg = | TxMsgRedelegate | TxMsgClaimRewards | TxMsgSetWithdrawAddress - | TxMsgCreateVestingAccount; + | TxMsgCreateVestingAccount + | TxMsgTransfer; export interface TxMsgSend { readonly typeUrl: "/cosmos.bank.v1beta1.MsgSend"; @@ -81,3 +83,16 @@ export interface TxMsgCreateVestingAccount { readonly delayed: boolean; }; } + +export interface TxMsgTransfer { + readonly typeUrl: "/ibc.applications.transfer.v1.MsgTransfer"; + readonly value: { + readonly sourcePort: string; + readonly sourceChannel: string; + readonly token: Coin; + readonly sender: string; + readonly receiver: string; + readonly timeoutTimestamp: number; + readonly memo: string; + }; +}