@reservoir0x/relay-sdk
Version:
Relay is the Fastest and Cheapest Way to Bridge and Transact Across Chains.
39 lines • 1.4 kB
TypeScript
import type { Execute } from '../types/Execute.js';
export declare function canBatchTransactions(steps: Execute['steps']): boolean | undefined;
export declare function prepareBatchTransaction(steps: Execute['steps']): {
id: string;
action: string;
description: string;
kind: "transaction";
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;
}[];
requestId: string | undefined;
};
//# sourceMappingURL=prepareBatchTransaction.d.ts.map