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

@orangecheck/sdk


@orangecheck/sdk / getVerificationUrl

Function: getVerificationUrl()

function getVerificationUrl(attestationId: string, baseUrl?: string): string;

Defined in: attestation.ts:311

Build the canonical shareable URL for an attestation. Matches the live /attest/[id] route on attest.ochk.io. Pass a different baseUrl for forks / self-hosted verifiers.

Parameters

ParameterTypeDefault value
attestationIdstringundefined
baseUrlstring'https://attest.ochk.io'

Returns

string