Circles API

Get v2 Circles total balance of an address

post
Body
and
Responses
chevron-right
200

Balance string (decimal or integer depending on asTimeCircles).

application/json
post
/circlesV2_getTotalBalance
200

Balance string (decimal or integer depending on asTimeCircles).

Get all Circles v2 token balances held by an address

post
Body
and
Responses
chevron-right
200

Array of token balances.

application/json
post
/circles_getTokenBalances
200

Array of token balances.

Get common trust between two addresses (v2)

post
Body
and
Responses
chevron-right
200

Array of common trusted addresses.

application/json
post
/circles_getCommonTrust
200

Array of common trusted addresses.

Path-finding with target flow (Circles v2)

post
Body
and
Responses
chevron-right
200

Path with flow allocations.

application/json
post
/circlesV2_findPath
200

Path with flow allocations.

SQL-like indexed query

post

Perform a SQL-like query on the indexed data.

Useful query templates (YAML)

Recent v2 avatar registrations

jsonrpc: "2.0"
id: 1
method: "circles_query"
params:
  -
    Namespace: "V_CrcV2"
    Table: "Avatars"
    Columns:
      - "blockNumber"
      - "timestamp"
      - "transactionHash"
      - "type"
      - "avatar"
      - "tokenId"
      - "name"
      - "cidV0Digest"
    Filter:
      []
    Order:
      -
        Column: "blockNumber"
        SortOrder: "DESC"
      -
        Column: "transactionIndex"
        SortOrder: "DESC"
      -
        Column: "logIndex"
        SortOrder: "DESC"
    Limit: 25

Incoming + outgoing trust relations for an address

Balances for one account, ordered by demurraged balance

Group overview with membership counts

Members of a group (v2)

Recent transfers involving an address

Total supply for a specific token

Holders of a group token with ownership fraction

Group token supply (demurraged)

Group collateral locked by token

Group vault balances by token

Daily group member counts

Daily wrap/unwrap activity for a group token

Daily mint/redeem activity for a group token

Daily affiliate members count

Daily Balancer vault balance for an ERC20 wrapper

LBP circles backing deployments

Group collateral delta by token

Hourly group member counts

Hourly wrap/unwrap activity for a group token

Hourly mint/redeem activity for a group token

Hourly affiliate members count

Hourly Balancer vault balance for an ERC20 wrapper

Body
and
Responses
chevron-right
200

Tabular result set.

application/json
post
/circles_query
200

Tabular result set.

Stream / log event query

post
Body
and
Responses
chevron-right
200

Array of event objects.

application/json
post
/circles_events
200

Array of event objects.

System health probe

post
Body
and
Responses
chevron-right
200

Health status.

application/json
post
/circles_health
200

Health status.

List namespaces, tables, and columns

post
Body
and
Responses
chevron-right
200

Namespace/table catalogue.

application/json
post
/circles_tables
200

Namespace/table catalogue.

Last updated

Was this helpful?