@thruputchain/client
    Preparing search index...

    Type Alias RpcErrorData

    RpcErrorData:
        | { kind: "invalidParams"; path?: string; reason?: string }
        | {
            admission?: "notAttempted" | "rejected" | "unknown";
            error?: {
                code: number;
                source: "auth" | "scheduler" | "executor" | "other" | UnsupportedRpcValue;
            };
            kind: "backendUnavailable";
            retryAfterMs?: bigint;
            serviceCode?: string;
            transactionHash?: Uint8Array;
        }
        | {
            admission?: "notAttempted"
            | "rejected"
            | "unknown";
            kind: "backendTimeout";
            retryAfterMs?: bigint;
            transactionHash?: Uint8Array;
        }
        | {
            admission?: "notAttempted"
            | "rejected"
            | "unknown";
            error?: {
                code: number;
                source: "auth" | "scheduler" | "executor" | "other" | UnsupportedRpcValue;
            };
            kind: "overloaded";
            retryAfterMs?: bigint;
            transactionHash?: Uint8Array;
        }
        | {
            admission?: "notAttempted"
            | "rejected"
            | "unknown";
            kind: "backendDataInvalid";
            observation?: { blockHeight: bigint; transactionHash: Uint8Array };
            reason?: string;
            transactionHash?: Uint8Array;
        }
        | {
            admission: "notAttempted";
            detail?: | { attached: number; max: number; reason: "tooManyContracts" }
            | {
                index: number;
                maxBytes: number;
                reason: "contractTooLarge";
                sizeBytes: number;
            }
            | { firstIndex: number; index: number; reason: "duplicateContract" }
            | {
                index: number;
                maxBytes: number;
                memoryBytes: number;
                reason: "rv32MemoryTooLarge";
            }
            | {
                codeBytes: number;
                index: number;
                maxBytes: number;
                reason: "rv32CodeTooLarge";
            }
            | { gasLimit: bigint; maxGas: bigint; reason: "gasLimitTooHigh" }
            | UnsupportedRpcValue;
            kind: "transactionInvalid";
            reason?: string;
            transactionHash?: Uint8Array;
        }
        | {
            admission: "notAttempted"
            | "rejected";
            error?: {
                code: number;
                source: "auth" | "scheduler" | "executor" | "other" | UnsupportedRpcValue;
            };
            kind: "transactionRejected";
            reason?: string;
            transactionHash?: Uint8Array;
        }
        | {
            kind: "stateHeightUnavailable";
            observedStateBlockHeight: bigint;
            requestedStateBlockHeight: bigint;
        }
        | { kind: "invalidCursor"; path?: string; reason?: string }
        | {
            kind: "historyUnavailable";
            latestIndexedBlockHeight?: bigint;
            oldestIndexedBlockHeight?: bigint;
            reason?: string;
        }
        | {
            kind: "fundingAttemptStopped";
            receipt?: {
                blockHeight: bigint;
                events: { address: Uint8Array; data: Uint8Array; topics: Uint8Array[] }[];
                execution:
                    | { result: "return"; returnData: Uint8Array }
                    | { abortData: Uint8Array; result: "abort" }
                    | { result: "fault" }
                    | { result: "nonDeterministicError" }
                    | { result: "failedGasSponsorship" }
                    | { result: "other" }
                    | UnsupportedRpcValue;
                gasUsed: bigint;
                transactionHash: Uint8Array;
            };
            serviceCode?: string;
            signedTransaction?: Uint8Array;
            transactionHash?: Uint8Array;
        }
        | {
            cause?: {
                kind: "fundingAttemptStopped";
                receipt?: {
                    blockHeight: bigint;
                    events: { address: Uint8Array; data: Uint8Array; topics: Uint8Array[] }[];
                    execution:
                        | { result: "return"; returnData: Uint8Array }
                        | { abortData: Uint8Array; result: "abort" }
                        | { result: "fault" }
                        | { result: "nonDeterministicError" }
                        | { result: "failedGasSponsorship" }
                        | { result: "other" }
                        | UnsupportedRpcValue;
                    gasUsed: bigint;
                    transactionHash: Uint8Array;
                };
                serviceCode?: string;
                signedTransaction?: Uint8Array;
                transactionHash?: Uint8Array;
            };
            kind: "localFundingUnresolved";
            signedTransaction: Uint8Array;
            transactionHash: Uint8Array;
        }