HashKey DID
  • Introduction
  • FAQ
  • Terminology
  • Developers
    • Guides
      • Register
      • Query
      • Libraries
      • Credential API Rule
    • API Reference
      • OpenAPI
      • OpenAPI For Dfinity
  • Protocol
    • Resolver
    • KYC
    • Multi-Chain
    • Credential
    • DID as NFT
    • Deployment
    • Contract API Reference
      • Registry
      • BasicInfo
      • PublicResolver
      • KYC
      • LayerZero
      • Credential
  • How to
    • Become an issuer
    • Edit issuer info
    • Issue a credential
      • Step 1: Deploy a contract
      • Step 2: Create a credential and submit
        • Claim rules
      • Step 3: Issue a credential
    • Manage your credentials
  • Support
    • Brand Kit
Powered by GitBook
On this page
  1. Protocol
  2. Contract API Reference

KYC

PreviousPublicResolverNextLayerZero

Last updated 2 years ago

Add KYC

Add KYC information obtained from a KYC provider.

function addKYC(uint256 tokenId, address KYCProvider, uint256 KYCId, bool status, uint256 updateTime, uint256 expireTime, bytes memory evidence);
  • tokenId: DID token id

  • KYCProvider: KYC provider address

  • KYCId: KYC level

  • status: is KYCed or not

  • updateTime: update time

  • expireTime: expire time

  • evidence: signature provided by KYCProvider

Get KYC Information

Retrieve the KYC information for a specific DID.

function getKYCInfo(uint256 tokenId, address KYCProvider, uint256 KYCId);
  • tokenId: DID token id

  • KYCProvider: KYC provider address(you can find the )

  • KYCId: KYC level

provider list