- buildEvent<K>(e, authenticator): Promise<Event<K>>
Parameters
- e: {
content: string;
createdAt?: Date;
kind: K;
tags: string[][];
}content: string
Optional
createdAt?: Date
kind: K
tags: string[][]
- authenticator: Authenticator
Returns Promise<Event<K>>