/** * @shapeshiftoss/bitcoin-api * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 10.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 { Vin } from './Vin'; import type { Vout } from './Vout'; /** * Contains info about a transaction * @export * @interface Tx */ export interface Tx { /** * * @type {string} * @memberof Tx */ txid: string; /** * * @type {string} * @memberof Tx */ blockHash?: string; /** * * @type {number} * @memberof Tx */ blockHeight: number; /** * * @type {number} * @memberof Tx */ timestamp: number; /** * * @type {Array} * @memberof Tx */ vin: Array; /** * * @type {Array} * @memberof Tx */ vout: Array; /** * * @type {number} * @memberof Tx */ confirmations: number; /** * * @type {string} * @memberof Tx */ value: string; /** * * @type {string} * @memberof Tx */ fee: string; /** * * @type {string} * @memberof Tx */ hex: 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;