Skip to main content

onchainid.removeClaimFromIdentity(RemoveClaimFromIdentity)

Remove a claim from an ONCHAINID identity by claimId. This sends a transaction to the identity contract and requires the identity owner’s signer.

RemoveClaimFromIdentity Type Parameters

Note: The claimId uniquely identifies a claim for an identity. It is derived from the issuer contract address and the claim topic: in Solidity keccak256(abi.encode(_issuer, _topic)). In ethers this can be reproduced with keccak256(new AbiCoder().encode(["address","uint256"], [issuer, topic])).

Returns

Usage

TypeScript

JavaScript

Example outputs