/** * @shapeshiftoss/solana-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 { AccountData } from './AccountData'; import type { EnrichedTransactionTransactionError } from './EnrichedTransactionTransactionError'; import type { Instruction } from './Instruction'; import type { NativeTransfer } from './NativeTransfer'; import type { Source } from './Source'; import type { TokenTransfer } from './TokenTransfer'; import type { TransactionEvent } from './TransactionEvent'; import type { TransactionType } from './TransactionType'; /** * 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 {string} * @memberof Tx */ description: string; /** * * @type {TransactionType} * @memberof Tx */ type: TransactionType; /** * * @type {Source} * @memberof Tx */ source: Source; /** * * @type {number} * @memberof Tx */ fee: number; /** * * @type {string} * @memberof Tx */ feePayer: string; /** * * @type {string} * @memberof Tx */ signature: string; /** * * @type {number} * @memberof Tx */ slot: number; /** * * @type {Array} * @memberof Tx */ nativeTransfers: Array | null; /** * * @type {Array} * @memberof Tx */ tokenTransfers: Array | null; /** * * @type {Array} * @memberof Tx */ accountData: Array; /** * * @type {EnrichedTransactionTransactionError} * @memberof Tx */ transactionError: EnrichedTransactionTransactionError | null; /** * * @type {Array} * @memberof Tx */ instructions: Array; /** * * @type {TransactionEvent} * @memberof Tx */ events: TransactionEvent; } /** * 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;