UNPKG

stellar-plus

Version:

beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain

14 lines (13 loc) 588 B
import { rpc as SorobanRpc } from '@stellar/stellar-sdk'; import { StellarPlusError } from '../../../stellar-plus/error'; import { RequestPayload } from './types'; export declare enum ValidationCloudRpcHandlerErrorCodes { VCRPC001 = "VCRPC001", VCRPC002 = "VCRPC002", VCRPC003 = "VCRPC003" } export declare const VCRPCError: { invalidApiKey: () => StellarPlusError; failedToInvokeVCApi: (error: Error, payload: RequestPayload) => StellarPlusError; ledgerEntriesMissingFromRpcResponse: (response: SorobanRpc.Api.RawGetLedgerEntriesResponse) => StellarPlusError; };