• Validates if the signerAddress matches the requestAddress. The comparison is done in a case-insensitive manner.

    Throws

    Throws an error if the signerAddress does not match the requestAddress.

    Returns

    This function can be used to ensure that the signer of a transaction is the same as the requester. It is useful in preventing unauthorized access to sensitive data or assets. Note: It is assumed that the addresses are in the correct format and have already been validated for length and character set.

    Parameters

    • signerAddress: string

      The address of the signer.

    • requestAddress: string

      The address of the requester.

    Returns void

Generated using TypeDoc