• Verifies that a verification request's anchor has been properly registered on-chain.

    This function checks that:

    1. The transaction referenced in the request is finalized
    2. The transaction is a RegisterData transaction
    3. The registered anchor hash matches the computed hash of the request

    Returns

    The transaction outcome if verification succeeds

    Throws

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

    Parameters

    • verificationRequest: VerificationRequestV1

      The verification request containing the transaction reference

    • grpc: ConcordiumGRPCClient

      The gRPC client for blockchain queries

    Returns Promise<BlockItemSummaryInBlock>

Generated using TypeDoc