• Verifies that an audit record's anchor has been properly registered on-chain.

    This function checks that:

    1. The transaction is finalized
    2. The transaction is a RegisterData transaction
    3. The registered anchor hash matches the computed hash of the audit record

    Returns

    The transaction outcome if verification succeeds

    Throws

    Error if the transaction is not finalized, has wrong type, or hash mismatch

    Parameters

    • auditRecord: VerificationAuditRecordV1

      The audit record to verify

    • anchorTransactionRef: TransactionHash

      The transaction hash of the anchor registration

    • grpc: ConcordiumGRPCClient

      The gRPC client for blockchain queries

    Returns Promise<BlockItemSummaryInBlock>

Generated using TypeDoc