viem
Version:
12 lines • 651 B
TypeScript
import type { ErrorType } from '../../errors/utils.js';
import type { Log } from '../../types/log.js';
import type { Withdrawal } from '../types/withdrawal.js';
import { type ExtractWithdrawalMessageLogsErrorType } from './extractWithdrawalMessageLogs.js';
export type GetWithdrawalsParameters = {
/** The L2 transaction receipt logs. */
logs: Log[];
};
export type GetWithdrawalsReturnType = Withdrawal[];
export type GetWithdrawalsErrorType = ExtractWithdrawalMessageLogsErrorType | ErrorType;
export declare function getWithdrawals({ logs, }: GetWithdrawalsParameters): GetWithdrawalsReturnType;
//# sourceMappingURL=getWithdrawals.d.ts.map