From 68cfb5e55362d98e64f1ab721e13add06b67cc62 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Mon, 13 Nov 2023 13:43:05 +0800 Subject: [PATCH] add type definition --- src/types/transaction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/transaction.ts b/src/types/transaction.ts index a4db6187..950518cf 100644 --- a/src/types/transaction.ts +++ b/src/types/transaction.ts @@ -3,7 +3,7 @@ import type { Coin, Key, PaginatedResponse } from "./common" export interface Tx { "@type"?: string, "body": { - "messages": {"@type": string}[], + "messages": {"@type": string, "amount"?: Coin[]}[], "memo": string, "timeout_height": string, "extension_options": any[],