import type { Address } from 'abitype'; import type { Account } from '../../accounts/types.js'; import type { Client } from '../../clients/createClient.js'; import type { Transport } from '../../clients/transports/createTransport.js'; import type { ErrorType } from '../../errors/utils.js'; import type { Chain } from '../../types/chain.js'; import type { RpcSchema } from '../../types/eip1193.js'; import type { Hash } from '../../types/misc.js'; import type { RequestErrorType } from '../../utils/buildRequest.js'; export type GetQuarantinedParameters = { /** The account address. */ from?: Address; }; export type GetQuarantinedReturnType = { transactionHash: Hash; quarantinedAt: Date; expiresOn: Date; releasedReason: string; quarantinedBy: string; quarantinedReason: string; releasedBy: string; }[]; export type GetQuarantinedErrorType = RequestErrorType | ErrorType; /** * Returns the transactions from an account that have been quarantined. * * - Docs: Docs: https://docs.zircuit.com/info/architecture/sls-deep-dive#building-with-sls * * @param client - Client to use * @param parameters - {@link GetQuarantinedParameters} * @returns If the transaction is quarantined. {@link GetQuarantinedReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * import { GetQuarantined } from 'viem/public' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const GetQuarantined = await getQuarantined(client, { * from: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', * }) */ export declare function getQuarantined(client: Client, { from }: GetQuarantinedParameters): Promise; //# sourceMappingURL=getQuarantined.d.ts.map