stellar-plus
Version:
beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain
14 lines (13 loc) • 889 B
TypeScript
import { rpc as SorobanRpc } from '@stellar/stellar-sdk';
import { StellarPlusError } from '../../../../stellar-plus/error';
import { ConveyorBeltErrorMeta } from '../../../../stellar-plus/error/helpers/conveyor-belt';
import { BeltMetadata } from '../../../../stellar-plus/utils/pipeline/conveyor-belts/types';
import { SorobanGetTransactionPipelineInput } from './types';
export declare enum ErrorCodesPipelineSorobanGetTransaction {
SGT001 = "SGT001",
SGT002 = "SGT002"
}
export declare const SGTError: {
transactionFailed: (conveyorBeltErrorMeta: ConveyorBeltErrorMeta<SorobanGetTransactionPipelineInput, BeltMetadata>, response: SorobanRpc.Api.GetFailedTransactionResponse) => StellarPlusError;
transactionNotFound: (conveyorBeltErrorMeta: ConveyorBeltErrorMeta<SorobanGetTransactionPipelineInput, BeltMetadata>, timeout: number, hash: string) => StellarPlusError;
};