UNPKG

@reservoir0x/relay-sdk

Version:

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

17 lines 787 B
import type { AdaptedWallet, ProgressData, Execute } from '../types/index.js'; import { type WalletClient } from 'viem'; export type ExecuteActionParameters = { quote: Execute; wallet: AdaptedWallet | WalletClient; depositGasLimit?: string; onProgress?: (data: ProgressData) => any; }; /** * Execute crosschain using Relay * @param data.quote A Relay quote retrieved using {@link getQuote} * @param data.depositGasLimit A gas limit to use in base units (wei, etc) * @param data.wallet Wallet object that adheres to the AdaptedWakket interface or a viem WalletClient * @param data.onProgress Callback to update UI state as execution progresses */ export declare function execute(data: ExecuteActionParameters): Promise<Execute>; //# sourceMappingURL=execute.d.ts.map