Skip to main content

onchainid.issueKycClaim(IssueKycClaim)

Generate and sign a KYC claim for an ONCHAINID identity. This does not broadcast a transaction; it returns the encoded claim payload and the issuer’s signature that can be submitted or verified off-chain/on-chain by downstream contracts.

IssueKycClaim Type Parameters

Returns

Usage

TypeScript

JavaScript

Example outputs

topic is set to ClaimTopics.CT_KYC_APPROVED (666) and scheme to ClaimScheme.ECDSA (1). The claim only validates where your ClaimIssuer contract is a trusted issuer for that topic.