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
| Parameter | Type | Required | Description |
|---|---|---|---|
| subjectIdentity | string | Required | The ONCHAINID identity contract address to modify. |
| identityController | Signer | Required | The signer authorized to remove claims from the identity (controller). |
| claimId | string | Required | The claim identifier, computed as keccak256(abi.encode(issuer, topic)). |
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
| Field | Type | Description |
|---|---|---|
| status | removed | Status of the removal. |
| claimId | string | Claim ID removed from the identity. |
| receipt | TransactionReceipt | The transaction receipt confirming claim removal. |

