Chains

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-06-25T00:01:19.874Z",
      "createdBy": "text",
      "updatedAt": "2025-06-25T00:01:19.874Z",
      "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-06-25T00:01:19.874Z",
  "createdBy": "text",
  "updatedAt": "2025-06-25T00:01:19.874Z",
  "updatedBy": "text"
}

Last updated