UNPKG

@reservoir0x/relay-sdk

Version:

Relay is the Fastest and Cheapest Way to Bridge and Transact Across Chains.

76 lines 2.69 kB
import type { Execute } from '../types/index.js'; export declare const getCurrentStepData: (steps: Execute['steps']) => { currentStep: { error?: string | undefined; errorData?: any; action: string; description: string; kind: "transaction" | "signature"; id: string; requestId?: string | undefined; depositAddress?: string | undefined; items?: { status: "complete" | "incomplete"; progressState?: "confirming" | "validating" | "validating_delayed" | "complete" | "signing" | "posting" | undefined; data?: any; check?: { endpoint?: string | undefined; method?: string | undefined; } | undefined; orderIndexes?: number[] | undefined; orderIds?: string[] | undefined; error?: string | undefined; txHashes?: { txHash: string; chainId: number; isBatchTx?: boolean | undefined; }[] | undefined; internalTxHashes?: { txHash: string; chainId: number; isBatchTx?: boolean | undefined; }[] | undefined; errorData?: any; orderData?: { crossPostingOrderId?: string | undefined; orderId: string; orderIndex: string; }[] | undefined; isValidatingSignature?: boolean | undefined; }[] | undefined; } | null; currentStepItem: { status: "complete" | "incomplete"; progressState?: "confirming" | "validating" | "validating_delayed" | "complete" | "signing" | "posting" | undefined; data?: any; check?: { endpoint?: string | undefined; method?: string | undefined; } | undefined; orderIndexes?: number[] | undefined; orderIds?: string[] | undefined; error?: string | undefined; txHashes?: { txHash: string; chainId: number; isBatchTx?: boolean | undefined; }[] | undefined; internalTxHashes?: { txHash: string; chainId: number; isBatchTx?: boolean | undefined; }[] | undefined; errorData?: any; orderData?: { crossPostingOrderId?: string | undefined; orderId: string; orderIndex: string; }[] | undefined; isValidatingSignature?: boolean | undefined; } | undefined; txHashes: { txHash: string; chainId: number; }[]; }; //# sourceMappingURL=getCurrentStepData.d.ts.map