import { type EIP1193RequestFn, type EIP1474Methods, type Hash, type Transaction } from "viem"; type GetTransactionByHashParameters = { hash: Hash; }; /** * Retrieves a transaction by its hash. * @param request - The EIP1193 request function. * @param params - The parameters for retrieving the transaction. * @returns A promise that resolves to the transaction. * @throws An error if the transaction is not found. * @rpc * @example * ```ts * import { getRpcClient, eth_getTransactionByHash } from "thirdweb/rpc"; * const rpcRequest = getRpcClient({ client, chain }); * const transaction = await eth_getTransactionByHash(rpcRequest, { * hash: "0x...", * }); * ``` */ export declare function eth_getTransactionByHash(request: EIP1193RequestFn, params: GetTransactionByHashParameters): Promise; export {}; //# sourceMappingURL=eth_getTransactionByHash.d.ts.map