KIP Protocol Developer Guide
  • Introduction
    • High-level Architecture
  • Features
    • Assets Tokenization
    • Monetization
    • Friendly User Experience
    • Integration Flexibility
    • Security and Sovereignty
    • Fraud and Scam Protection
  • How to Build DeAI Products Using KIP
    • App Makers
    • Model Trainers
    • Dataset Owners
    • Users
  • Developer Guide
    • Standard APIs
      • User - App
      • App - Generation Model
      • App - Embedding Model
      • App - Dataset
    • KIP Ecosystem Core Contracts
      • KIP Management
      • KIP Identification
      • KIP Registration
      • KIP Service
    • Account Abstraction
      • Particle Network
    • Fetch Blockchain Data
      • Using RPC Node
        • RPC Node Providers
          • Alchemy
          • Infura
        • Fetch Data Example
      • Using Subgraph
        • Deploy Subgraph
        • Query using Subgraph
    • KIP Checker Node Execution Guide
      • Checker Node Guide
Powered by GitBook
On this page
  1. Developer Guide
  2. Standard APIs

App - Dataset

When the App receives a request from a user, it can optionally send an API request to the Dataset Server Endpoint with the following data:

Request Parameters
Requirement
Type
Description

uaaid

Required

string

User Account Wallet Address

identity_contract_address

Required

string

KIP Identification contract address

app_token_id

Required

string

Unique ID assigned to the App

prompt

Optional

string

Description of the prompt content

callback_url

Required

string

App endpoint for response

  • Dataset Server API Endpoint Example:

POST http://127.0.0.1:8000/dataset
  • Example request from App to Dataset Server:

curl --request POST \
  --url http://127.0.0.1:8000/dataset \
  --header 'Content-Type: application/json' \
  --data '{
    "uaaid": "0xF9F36dC75eAfc38f5e6525fadbA2939FCbC666e0",
    "identity_contract_address": "0x3cDfD20F5AA27335bE4A68d0e1B1085A65418b09",
    "app_token_id": "123456",
    "prompt": "Hello?",
    "callback_url": "http://127.0.0.1:8000/app"
}'
PreviousApp - Embedding ModelNextKIP Ecosystem Core Contracts

Last updated 9 months ago