OuterCircle
  • General
    • πŸ”΅OuterCircle
    • πŸ‘€Initial Vision
    • πŸ§‘β€πŸ’»Team
    • πŸ•ŠοΈLive Updates
    • πŸ—ΊοΈRoadmap
  • Developers
    • 🀝Onchain interactions
      • Proposals
    • πŸ€–Indexer API
      • Base Endpoints
      • DAO
      • Followers
  • DAO Builders
Powered by GitBook
On this page
  • Multichain
  • Returns aggregated DAO entities (multichain)
  • Network-specific
  • Returns specific DAO
  • Updates DAO metadata
  • Returns aggregated SubDAOs for a specific DAO
  1. Developers
  2. Indexer API

DAO

DAO-related API endpoints

PreviousBase EndpointsNextFollowers

Last updated 2 years ago

Multichain

network is optional.

See the possible network options in .

Returns aggregated DAO entities (multichain)

GET api.outercircle.io/{network}/dao

If network is not provided, the method will aggregate DAOs from all networks

Multichain Example:

Network-specific Example:

Path Parameters

Name
Type
Description

network

String

Network name

Query Parameters

Name
Type
Description

account

String

Filter DAOs by Follower

offset*

Int

Pagination offset

limit*

Int

Pagination limit (max 20)


{
  "total": 11, // Total Entities matches the filter
  "offset": 0, // Provided offset
  "limit": 10, // Provided limit
  "items": [
    // DAO
    {
      // DAO address
      "address": "0x41a06bd60106C47c6d6DC2D4B7e4a1d54ba56AbA",
      // DAO network
      "network": "goerli",
      // Root DAO if the current DAO is nested
      "root_dao": "0xC8d373c337Aec6748Cebd8EFF111fe17255cee0f",
      // Parent DAO if the current DAO is nested
      "parent_dao": "0xC8d373c337Aec6748Cebd8EFF111fe17255cee0f",
      // Parents of the current DAO. Always null in this method
      "path": null,
      // DAO creation transaction hash
      "creation_tx": "0x6995e42781538b7622ad40602fbb6e4e012daf8266b37c78e3d0b3b18b454eb3",
      // DAO Followers amount
      "followers_amount": 1,
      // DAO name
      "name": "OuterCircle Developers",
      // DAO description
      "description": "DAO building OuterCircle",
      // DAO external link
      "link": null,
      // DAO logo
      "image": "https://raw.githubusercontent.com/k0rean-rand0m/img/main/rocket.png"
    },
    ...
  ]
}

Network-specific

network is required.

Returns specific DAO

GET api.outercircle.io/{network}/dao/{address}

Path Parameters

Name
Type
Description

network*

String

Network name

address*

String

DAO address


{
  // DAO address
  "address": "0x41a06bd60106C47c6d6DC2D4B7e4a1d54ba56AbA",
  // DAO network
  "network": "goerli",
  // Root DAO if the current DAO is nested
  "root_dao": "0xC8d373c337Aec6748Cebd8EFF111fe17255cee0f",
  // Parent DAO if the current DAO is nested
  "parent_dao": "0xC8d373c337Aec6748Cebd8EFF111fe17255cee0f",
  // Parents of the current DAO ordered from parent to root
  // Max depth is 10
  "path": [
    {
      "name": "OuterCircle",
      "address": "0xC8d373c337Aec6748Cebd8EFF111fe17255cee0f"
    }
  ],
  // DAO creation transaction hash
  "creation_tx": "0x6995e42781538b7622ad40602fbb6e4e012daf8266b37c78e3d0b3b18b454eb3",
  // Amount of DAO followers
  "followers_amount": 3,
  // DAO name
  "name": "OuterCircle Developers",
  // DAO description
  "description": "DAO building OuterCircle",
  // DAO link
  "link": null,
  // DAO logo
  "image": "https://raw.githubusercontent.com/k0rean-rand0m/img/main/rocket.png"
}

Updates DAO metadata

PUT api.outercircle.io/{network}/dao/{address}

DAO metadata is it's name, description, link, image

This method is private. Request the access by messaging us.

Path Parameters

Name
Type
Description

network*

String

Network name

address*

String

DAO address

Headers

Name
Type
Description

Auth-Hash*

String

Hash of DAO Manager's signed message

Auth-Signature*

String

Signature of DAO Manager

Request Body

Name
Type
Description

name*

String

DAO name

description

String

DAO description

link

String

DAO external link

image

String

DAO logo link

Returns aggregated SubDAOs for a specific DAO

GET api.outercircle.io/{network}/dao/{address}/subdao

Path Parameters

Name
Type
Description

network*

String

Network name

address*

String

DAO address

Query Parameters

Name
Type
Description

offset*

Int

Pagination offset

limit*

Int

Pagination limit


{
  "total": 2, // Total Entities matches the filter
  "offset": 0, // Provided offset
  "limit": 10, // Provided limit
  "items": [
    // SubDAO
    {
      // SubDAO address
      "address": "0x64F7e27574fff4730c6cd1fe643cbBD3EbDcE4F9",
      // SubDAO network (always the same with provided network in path)
      "network": "goerli",
      // SubDAO name
      "name": "OuterCircle Apps Developers",
      // SubDAO logo
      "image": "https://raw.githubusercontent.com/k0rean-rand0m/img/main/rocket.png"
    },
    ...
  ]
}

See the possible network options in .

Example:

Example:

πŸ€–
Indexer API
https://api.outercircle.io/dao?offset=0&limit=10
https://api.outercircle.io/goerli/dao?offset=0&limit=10
Indexer API
https://api.outercircle.io/goerli/dao/0x41a06bd60106C47c6d6DC2D4B7e4a1d54ba56AbA
https://api.outercircle.io/goerli/dao/0x41a06bd60106C47c6d6DC2D4B7e4a1d54ba56AbA/subdao?offset=0&limit=10