---
agentTools:
  projectIndex: https://docs.o21.io/llms.txt
---

# List Chains

List of chains supported

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "O21Pay API Reference",
    "summary": "O21Pay API Reference",
    "description": "O21Pay API Reference",
    "version": "1.0.0"
  },
  "paths": {
    "/chains": {
      "get": {
        "tags": [
          "Others"
        ],
        "summary": "List Chains",
        "description": "List of chains supported",
        "parameters": [
          {
            "name": "clientid",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secret",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "array": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Chain"
                      },
                      "description": ""
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Check the parameters or the syntax"
          },
          "401": {
            "description": "Unauthorized Couldn’t authenticate the request"
          }
        }
      }
    }
  },
  "security": [],
  "servers": [
    {
      "url": "https://o21c.obvious21.com/api/v1",
      "description": ""
    },
    {
      "url": "https://sandbox-o21c.obvious21.com/api/v1",
      "description": ""
    }
  ],
  "components": {
    "schemas": {
      "Chain": {
        "title": "Chain",
        "type": "object",
        "properties": {
          "chainid": {
            "type": "string",
            "description": "Chain ID"
          },
          "name": {
            "type": "string",
            "description": "Chain name"
          },
          "address": {
            "type": "string",
            "description": "Explorer Address: Only if Currency is Crypto"
          },
          "tx": {
            "type": "string",
            "description": "Explorer Transaction: Only if Currency is Crypto"
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Others",
      "description": "Others functions"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 26,
      "2": 207,
      "3": 68,
      "4": 10,
      "5": 95,
      "6": 186,
      "7": 0,
      "8": 31,
      "9": 209,
      "10": 87,
      "11": 132
    }
  }
}
```