/** * Thorchain Unchained API * Provides access to thorchain chain data. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Message } from './Message'; import type { Value } from './Value'; /** * Contains info about a transaction * @export * @interface Tx */ export interface Tx { /** * * @type {string} * @memberof Tx */ blockHash?: string; /** * * @type {number} * @memberof Tx */ blockHeight: number; /** * * @type {number} * @memberof Tx */ timestamp: number; /** * * @type {string} * @memberof Tx */ txid: string; /** * * @type {number} * @memberof Tx */ confirmations: number; /** * Contains info about transaction events keyed by message index * @type {{ [key: string]: { [key: string]: { [key: string]: string; }; }; }} * @memberof Tx */ events: { [key: string]: { [key: string]: { [key: string]: string; }; }; }; /** * * @type {Value} * @memberof Tx */ fee: Value; /** * * @type {string} * @memberof Tx */ gasUsed: string; /** * * @type {string} * @memberof Tx */ gasWanted: string; /** * * @type {number} * @memberof Tx */ index: number; /** * * @type {string} * @memberof Tx */ memo?: string; /** * * @type {Array} * @memberof Tx */ messages: Array; /** * * @type {string} * @memberof Tx */ value: string; } /** * Check if a given object implements the Tx interface. */ export declare function instanceOfTx(value: object): boolean; export declare function TxFromJSON(json: any): Tx; export declare function TxFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tx; export declare function TxToJSON(value?: Tx | null): any;