add packet detail types

This commit is contained in:
BitcoinVM 2024-01-31 10:27:18 +08:00
parent aad4c8ea72
commit 7b4379c902

View File

@ -3,7 +3,7 @@ import type { Coin, Key, PaginatedResponse } from "./common"
export interface Tx { export interface Tx {
"@type"?: string, "@type"?: string,
"body": { "body": {
"messages": {"@type": string, "amount"?: Coin[]}[], "messages": {"@type": string, "amount"?: Coin[], packet?: { data: string }}[],
"memo": string, "memo": string,
"timeout_height": string, "timeout_height": string,
"extension_options": any[], "extension_options": any[],