Skip to content
On this page

Function: readAttestations()

TypeScript
function readAttestations(options: DiscoverAttestationOptions): Promise<AttestationsRead>;

Defined in: attestation.ts:289 (opens in a new tab)

Discover attestations from Nostr relays, and say whether the relays finished the read. Read unread before taking an empty list as "none", or a list as every attestation there is.

ParametersLink to this section

ParameterType
optionsDiscoverAttestationOptions

ReturnsLink to this section

Promise<AttestationsRead>