import { Coin } from "@cosmjs/stargate"; import { Log } from "@cosmjs/stargate/build/logs"; import Long from "long"; import { PaginationPage } from "./page"; export interface StargateTxBody { messages: ReadonlyArray; memo?: string; timeoutHeight?: Long; extensionOptions?: any[]; nonCriticalExtensionOptions?: any[]; } export interface StargateTx { "@type": string; body: StargateTxBody; auth_info: { signer_infos: ReadonlyArray<{ public_key: { "@type": string; key: string; }; mode_info: { single: { mode: string; }; }; sequence: string; }>; fee: { amount: ReadonlyArray; gas_limit: string; payer: string; granter: string; }; }; signatures: ReadonlyArray; } export interface StargateBaseTx { height: string; gas_used: string; gas_wanted: string; logs: ReadonlyArray; raw_log: string; timestamp: string; tx: StargateTx; txhash: string; data: string; codespace: string; code: string; info: string; } export interface StargateSearchTxResponse { txs: ReadonlyArray; tx_responses: ReadonlyArray>; pagination: PaginationPage; }