LogoLogo
  • Home
  • Overview
  • Getting Started
  • Prompt Guide
  • API Reference
    • Authentication
      • Web3
      • Google OAuth
    • Account
    • Escrow
    • File upload
    • Wallet
Powered by GitBook
On this page
  • 🚀 Account Service
  • 🔐 Authentication Service
  • 🛡️ Escrow Service
  • 📂 File Upload
  • 💰 Wallet Service
Export as PDF

API Reference

Here’s a breakdown of the core services provided by the Pakt API to help you integrate decentralized escrow, wallet management, and file handling into your application:

PreviousPrompt GuideNextAuthentication

Last updated 1 day ago

🚀

Manage user accounts and profiles:

  • Create Account: Set up a new user account in Chainsite.

  • Get Account Info: Retrieve details of an existing account.

  • Update Account: Modify user details and preferences.

  • Delete Account: Deactivate or remove a user account.

🔐

Supports both Web2 and Web3 authentication methods:

  • Web2 Authentication:

    • Token-based authentication flow.

    • Wallet-based login (e.g., MetaMask).

    • Signature verification for secure access.

🛡️

Enable secure, trustless transactions with escrow:

  • Create Escrow: Set up a new escrow agreement between parties.

  • Release Funds: Release funds when conditions are met.

  • Cancel Escrow: Cancel an escrow under agreed terms.

  • Get Escrow Status: Monitor the status and details of escrow transactions.

Handle secure file storage and retrieval:

  • Upload File: Upload files to a decentralized storage system.

  • Get File Metadata: Retrieve details like file size, type, and upload date.

  • Download File: Access files securely via unique URLs.

Manage blockchain-based wallet operations:

  • Create Wallet: Generate a new wallet address for a user.

  • Get Balance: Retrieve the current balance of a wallet.

  • Transfer Funds: Send funds between wallets.

  • Transaction History: View transaction logs for auditing and tracking.

📂

💰

Account Service
Authentication Service
OAuth login with providers like Google.
Web3 Authentication:
Escrow Service
File Upload
Wallet Service