LogoLogo
Launch App ->
  • Overview
  • Product
    • Credit Vaults
      • Tranching
      • Live vaults
    • USP
      • Allocation
      • Risks
      • FAQs
    • Users
      • Lenders
        • Verification
        • Guides
          • Onboarding
          • Deposit
          • Redeem
      • Curators
      • Borrowers
  • Developers
    • Addresses
      • Product
        • Credit Vaults
        • USP
      • Governance
    • Integrators
    • API
      • Campaigns
      • Chains
      • Operators
      • Token blocks
      • Tokens
      • Transactions
      • Vaults
      • Vault blocks
      • Vault categories
      • Vault epochs
      • Vault performances
      • Vault types
    • Security
      • Audits
  • Resources
    • Media kit
Powered by GitBook
On this page
Export as PDF
  1. Developers
  2. API

Chains

PreviousCampaignsNextOperators

Last updated 1 month ago

Chains represent the supported blockchain networks that Pareto interacts with. These include the networks where vaults are deployed, where user interactions occur, and where transactions are tracked.

Structure

Each chain object includes:

  • _id (string) — Unique identifier for the chain

  • name (string) — Human-readable name of the blockchain (e.g., "Ethereum")

  • chainId (string) — Network ID used internally by Pareto

  • nativeToken (string) — Symbol of the native currency (e.g., ETH, MATIC)

  • explorerUrl (string) — Block explorer base URL for linking transactions or accounts

  • icon (string) — Optional icon URL

  • createdAt, updatedAt (string) — ISO timestamps (UTC Unix time)

Endpoints

List all chains

get
Responses
200
A list of chains
application/json
get
GET /v1/chains HTTP/1.1
Host: api.pareto.credit
Accept: */*
200

A list of chains

{
  "data": [
    {
      "_id": "text",
      "name": "text",
      "hex": "text",
      "blocksPerYear": 1,
      "tokenSymbol": "text",
      "chainID": 1,
      "RPCs": [
        {
          "provider": "INFURA",
          "https": "text",
          "wss": "text",
          "name": "text",
          "isPublic": true
        }
      ],
      "color": "text",
      "isDisabled": true,
      "createdAt": "2025-05-18T23:24:19.969Z",
      "createdBy": "text",
      "updatedAt": "2025-05-18T23:24:19.969Z",
      "updatedBy": "text"
    }
  ],
  "totalCount": 1
}

Get chain by ID

get
Path parameters
chainIdstringRequired
Responses
200
Chain details
application/json
get
GET /v1/chains/{chainId} HTTP/1.1
Host: api.pareto.credit
Accept: */*
200

Chain details

{
  "_id": "text",
  "name": "text",
  "hex": "text",
  "blocksPerYear": 1,
  "tokenSymbol": "text",
  "chainID": 1,
  "RPCs": [
    {
      "provider": "INFURA",
      "https": "text",
      "wss": "text",
      "name": "text",
      "isPublic": true
    }
  ],
  "color": "text",
  "isDisabled": true,
  "createdAt": "2025-05-18T23:24:19.969Z",
  "createdBy": "text",
  "updatedAt": "2025-05-18T23:24:19.969Z",
  "updatedBy": "text"
}
  • Structure
  • Endpoints
  • GETList all chains
  • GETGet chain by ID