import type { Address } from 'abitype' import type { Hash } from '../../types/misc.js' import type { ZircuitRpcMethods } from '../constants.js' import type { RPCQuarantine } from './quarantine.js' export type ZircuitRpcSchema = [ { Method: typeof ZircuitRpcMethods.GET_QUARANTINED Parameters?: [from: Address | undefined] ReturnType: RPCQuarantine[] }, { Method: typeof ZircuitRpcMethods.IS_QUARANTINED Parameters?: [hash: Hash] ReturnType: { IsQuarantined: boolean Quarantine?: RPCQuarantine } }, ]