# Type Alias NetContext

NetContext: {
authMode: AuthMode ;
getExecutor: (relays: string[]) => Executor ;
isDeleted: (url: string, event: TrustedEvent ) => boolean;
isValid: (url: string, event: TrustedEvent ) => boolean;
matchFilters: (
url: string,
filters: Filter [],
event: TrustedEvent ,
) => boolean;
onEvent: (url: string, event: TrustedEvent ) => void;
optimizeSubscriptions: (subs: Subscription []) => RelaysAndFilters [];
pool: Pool ;
signEvent: (event: StampedEvent ) => Promise< SignedEvent | undefined>;
}

- Defined in packages/net/src/Context.ts:10