/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { TransactionHashes, TransactionStatusDTO } from '../models/index'; export interface GetTransactionStatusRequest { hash: string; } export interface GetTransactionStatusesRequest { transactionHashes: TransactionHashes; } /** * */ export declare class TransactionStatusRoutesApi extends runtime.BaseAPI { /** * Returns the current status of the transaction identified by the given transaction hash. When checking status after announcing a transaction, it is best to query the same node that received the announce request. If that node rejects the transaction before propagation, only that node may know the detailed rejection reason. Other nodes may not know the transaction at all because it was never propagated. * Get transaction status */ getTransactionStatusRaw(requestParameters: GetTransactionStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the current status of the transaction identified by the given transaction hash. When checking status after announcing a transaction, it is best to query the same node that received the announce request. If that node rejects the transaction before propagation, only that node may know the detailed rejection reason. Other nodes may not know the transaction at all because it was never propagated. * Get transaction status */ getTransactionStatus(requestParameters: GetTransactionStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns the current statuses of the transactions identified by the given array of transaction hashes. When checking status after announcing transactions, it is best to query the same node that received the announce request. If that node rejects a transaction before propagation, only that node may know the detailed rejection reason. Other nodes may not know the transaction at all because it was never propagated. * Get transaction statuses */ getTransactionStatusesRaw(requestParameters: GetTransactionStatusesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Returns the current statuses of the transactions identified by the given array of transaction hashes. When checking status after announcing transactions, it is best to query the same node that received the announce request. If that node rejects a transaction before propagation, only that node may know the detailed rejection reason. Other nodes may not know the transaction at all because it was never propagated. * Get transaction statuses */ getTransactionStatuses(requestParameters: GetTransactionStatusesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; }