sigit.io/src/types/nostr.ts

20 lines
302 B
TypeScript

export interface SignedEvent {
kind: number
tags: string[][]
content: string
created_at: number
pubkey: string
id: string
sig: string
}
export interface RelaySet {
read: string[]
write: string[]
}
export interface NostrJoiningBlock {
block: number
encodedEventPointer: string
}