Quadrata Integration
  • INTRODUCTION
    • Introduction to Quadrata
    • Passport Attributes
  • HOW TO INTEGRATE
    • Quadrata SDK
      • Get Started Quickly
      • Advanced
        • Installation
        • SDK Configuration
        • Onboarding Example
        • Client Libraries
          • Client Configuration
          • Client Lazy Loading
          • Client Eager Loading
          • Client Helper Component
          • Client React Hooks
            • useOnboardStatus
          • Client Examples
            • With Wagmi Connect
            • KYC Only
            • KYB Only
            • All In One
        • API Libraries
          • API Configuration
          • API Service Options
          • API Service Libraries
            • Create Access Token
            • Create Privacy Access Token
            • Fetch Attribute Values
            • Fetch Onboard Status
            • Fetch Passport List
            • Fetch Privacy Data
            • Fetch Privacy Grants
            • Fetch Wallet Screening
            • Revoke Privacy Grants
    • Onboard users
      • Individual Passport Onboarding
        • 1. Installation
        • 2. API Authentication
        • 3. API Onboard Status
        • 4. QuadClient Package
        • 5. Privacy Data Permissions
        • 6. Full Example
      • Business Passport Onboarding
        • 1. Installation
        • 2. API Authentication
        • 3. QuadrataKyb Package
        • 4. Privacy Data Permissions
        • 5. Full Example
      • All-In-One Passport Onboarding
        • 1. Installation
        • 2. API Authentication
        • 3. QuadrataReact Package
        • 4. Full Example
    • Request Privacy Data
      • List of Privacy Data
      • Privacy Data Permissions
      • API Requests
        • How to sign API
          • Full Example
          • Generate ECDSA Key Pair
        • API Get Privacy Permissions
        • API Privacy Access Token
        • API Get Privacy Data
        • API Revoke Permissions
    • Query attributes
      • Via Smart Contract
        • Query a single attribute
        • Query multiple attributes
        • Query Helper
      • Via API
    • On-Chain Wallet Screening
      • How to sign API
        • Full Example
        • Generate ECDSA Key Pair
      • API Get On-Chain AML Score
    • Webhooks
      • Onboarding Webhooks
      • Ongoing Monitoring Webhooks
      • Webhook Request Signature
    • Burn Passports
  • additional information
    • Smart contracts
    • Quadrata Sandbox
    • Passport Issuers
    • Privileged Roles & Ownership
    • Constants
    • Flex Kit Attributes
      • Smart Contract Addresses
Powered by GitBook
On this page
  1. HOW TO INTEGRATE
  2. Quadrata SDK
  3. Advanced
  4. API Libraries

API Service Libraries

Quadrata SDK API Service Libraries

PreviousAPI Service OptionsNextCreate Access Token

Last updated 11 months ago

On the following pages are examples for how to work with each of the API services.

The response from each API endpoint is mapped in @quadrata/sdk/types under the API.DTO namespace.

The parameters and parsed responses for each service are mapped in @quadrata/sdk/types under the API.Services namespace.

  • - Create a JWT authentication token for use in the onboarding client components and other API services.

  • - Create a Privacy Access Token to access PII data for an individual or business. This feature must be enabled for your dApp.

  • - Fetch underlying attribute values for a given wallet address. This is an attribute query and incurs Quad Unit charges.

  • - Fetch attribute status and PII consent data for a wallet address, to determine if attributes need to be claimed or privacy needs to be consented.

  • - Fetch, filter, and paginate through passports onboarded by your dApp.

  • - Fetch underlying PII for an individual or business by a known wallet address. This is a privacy data query and incurs Quad Unit charges. This feature must be enabled for your dApp.

  • - Fetch which privacy data has been granted consent to your dApp by a known wallet address. This feature must be enabled for your dApp.

  • - Fetch the on-chain wallet screening score for a wallet address. This is an attribute query and incurs Quad Unit charges. This feature must be enabled for your dApp.

  • - Revoke previously consented privacy grants from a wallet address. This feature must be enabled for your dApp.

Create Access Token
Create Privacy Access Token
Fetch Attribute Values
Fetch Onboard Status
Fetch Passport List
Fetch Privacy Data
Fetch Privacy Grants
Fetch Wallet Screening
Revoke Privacy Grants