live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/sdk


@orangecheck/sdk / getAttestationsForAddress

Function: getAttestationsForAddress()

function getAttestationsForAddress(address: string, relays?: string[]): Promise<AttestationEnvelope[]>;

Defined in: attestation.ts:278

Get all attestations for a Bitcoin address

Parameters

ParameterTypeDefault value
addressstringundefined
relaysstring[]DEFAULT_RELAYS

Returns

Promise&lt;AttestationEnvelope[]>