Interface AnchorProviderResult

Result returned by an AnchorProvider after external publishing.

interface AnchorProviderResult {
    providerId: string;
    success: boolean;
    externalRef?: string;
    metadata?: Record<string, unknown>;
    error?: string;
    publishedAt?: string;
}

Properties

providerId: string

Provider identifier (e.g., 'rekor', 'worm-snapshot').

success: boolean

Whether the external publishing succeeded.

externalRef?: string

External reference string (CID, UUID, tx hash, URL, etc.).

metadata?: Record<string, unknown>

Provider-specific metadata (e.g., block number, log index).

error?: string

Error message if success is false.

publishedAt?: string

ISO 8601 timestamp of when the external publish completed.