add type definition

This commit is contained in:
liangping 2023-11-13 13:43:05 +08:00
parent 7b82ec2b59
commit 68cfb5e553

View File

@ -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[],