For the complete documentation index, see llms.txt. This page is also available as Markdown.

Circles API

Get all token balances with metadata

post

Returns all token balances of an address with full metadata. Each row includes flags (isWrapped, isGroup, isInflationary, isErc20, isErc1155, tokenType) for client-side filtering, plus balances in several denominations (attoCircles/circles, staticAttoCircles/staticCircles, attoCrc/crc).

Positional params:

  1. address (string, required) — Address to get balances for.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of token balance rows.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTokenBalances
200

Array of token balance rows.

Get metadata for a token

post

Returns metadata for a single Circles token.

Positional params:

  1. tokenAddress (string, required) — Token contract address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Token metadata object.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTokenInfo
200

Token metadata object.

Get metadata for multiple tokens

post

Batch variant of circles_getTokenInfo.

Positional params:

  1. tokenAddresses (string[], required) — Array of token contract addresses.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of token metadata objects (one per input address).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTokenInfoBatch
200

Array of token metadata objects (one per input address).

Get avatar info

post

Returns avatar information for an address (V1 and V2 merged): version, type, token id, whether it has a V1 token, and its profile CID (if any).

Positional params:

  1. address (string, required) — Avatar address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Avatar info object (or null if not signed up).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getAvatarInfo
200

Avatar info object (or null if not signed up).

Get avatar info for multiple addresses

post

Batch variant of circles_getAvatarInfo.

Positional params:

  1. addresses (string[], required) — Array of avatar addresses.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of avatar info objects.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getAvatarInfoBatch
200

Array of avatar info objects.

Get profile by address

post

Returns the profile for an avatar address. May also include extended group-profile fields when set: externalLinks.website, membershipCriteria.{minRepScore, membershipFee, additionalCriteria}, groupType, contactInfo.{email, website}.

Positional params:

  1. address (string, required) — Avatar address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Profile object (or null if none).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getProfileByAddress
200

Profile object (or null if none).

Get profiles for multiple addresses

post

Batch variant of circles_getProfileByAddress. Extended group-profile fields may be present per item.

Positional params:

  1. addresses (string[], required) — Array of avatar addresses.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of profile objects (one per input address; null when none).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getProfileByAddressBatch
200

Array of profile objects (one per input address; null when none).

Get profile IPFS CID

post

Returns the IPFS CIDv0 of an avatar's profile.

Positional params:

  1. address (string, required) — Avatar address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

CIDv0 string (or null).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getProfileCid
200

CIDv0 string (or null).

Get profile IPFS CIDs (batch)

post

Batch variant of circles_getProfileCid.

Positional params:

  1. addresses (string[], required) — Array of avatar addresses.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of CIDv0 strings (one per input address; null when none).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getProfileCidBatch
200

Array of CIDv0 strings (one per input address; null when none).

Get profile by IPFS CID

post

Retrieves a profile from IPFS by its CID.

Positional params:

  1. cid (string, required) — CIDv0 string.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Profile object.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getProfileByCid
200

Profile object.

Get profiles by IPFS CIDs (batch)

post

Batch variant of circles_getProfileByCid.

Positional params:

  1. cids (string[], required) — Array of IPFS CIDs.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of profile objects.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getProfileByCidBatch
200

Array of profile objects.

Full-text profile search

post

Full-text search for profiles. Each result's Profile sub-object may include extended group fields (flat shape): externalWebsite, minRepScore, membershipFee, additionalCriteria, groupType, contactEmail, contactWebsite.

Positional params:

  1. text (string, required) — Search query (max 3 tokens).

  2. limit (integer, optional, default 20) — Max results (max 100).

  3. offset (integer, optional, default 0) — Pagination offset.

  4. types (string[], optional) — Filter by avatar types.

  5. groupType (string, optional) — Filter by group type: open or closed.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of matching profiles.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_searchProfiles
200

Array of matching profiles.

Unified search by address or name

post

Unified search by address prefix or name/text. A 0x prefix triggers address search.

Positional params:

  1. query (string, required) — Search query (0x… ⇒ address search).

  2. limit (integer, optional, default 20) — Max results.

  3. cursor (string, optional) — Pagination cursor.

  4. types (string[], optional) — Filter by avatar types.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Search result with detected searchType and matched profiles.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_searchProfileByAddressOrName
200

Search result with detected searchType and matched profiles.

Get trust relations

post

Returns the trust relationships for an address as a list of outgoing trusts with limits.

Positional params:

  1. address (string, required) — Avatar address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Trust relations for the user.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTrustRelations
200

Trust relations for the user.

Get aggregated trust relations

post

Returns aggregated trust relations in SDK-compatible format. relation is one of trusts, trustedBy, mutuallyTrusts, selfTrusts.

Positional params:

  1. avatar (string, required) — Avatar address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of aggregated trust relation rows.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getAggregatedTrustRelations
200

Array of aggregated trust relation rows.

Get common trust between two addresses

post

Finds addresses that two users both trust.

Positional params:

  1. address1 (string, required) — First address.

  2. address2 (string, required) — Second address.

  3. version (integer, optional) — Filter by version (1, 2, or null for both).

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of commonly-trusted addresses (empty if none).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getCommonTrust
200

Array of commonly-trusted addresses (empty if none).

Get group members

post

Returns members of a specific group, paginated.

Positional params:

  1. groupAddress (string, required) — Group address.

  2. limit (integer, optional, default 100) — Max results.

  3. cursor (string, optional) — Pagination cursor.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Paginated list of group memberships.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getGroupMembers
200

Paginated list of group memberships.

Get group memberships of an avatar

post

Returns the groups that an avatar is a member of.

Positional params:

  1. memberAddress (string, required) — Member address.

  2. limit (integer, optional, default 50) — Max results.

  3. cursor (string, optional) — Pagination cursor.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Paginated list of group memberships.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getGroupMemberships
200

Paginated list of group memberships.

Get score-group mint limits

post

Returns per-(group, collateral) headroom for score-group mints. Passing a collateralToken returns a single row.

Positional params:

  1. group (string, required) — Score-group address.

  2. collateralToken (string, optional) — Collateral token filter.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Mint-limit rows for the group.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getScoreGroupMintLimits
200

Mint-limit rows for the group.

Get a full trust-network snapshot

post

Returns a complete snapshot of the Circles trust network. This response is large.

Positional params: none.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Full network snapshot (shape illustrative — fields may vary).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getNetworkSnapshot
200

Full network snapshot (shape illustrative — fields may vary).

Get transaction history

post

Returns incoming and outgoing Circles transfers for an avatar (mints and transfers, V1 and V2). Results are ordered descending.

Positional params:

  1. avatarAddress (string, required) — Avatar address.

  2. limit (integer, optional, default 50) — Max transactions.

  3. cursor (string, optional) — Pagination cursor.

  4. version (integer, optional) — Filter by version (null = both).

  5. excludeIntermediary (boolean, optional, default true) — Exclude intermediary hops.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Transaction rows.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTransactionHistory
200

Transaction rows.

Get enriched transaction history

post

Transaction history enriched with participant profiles, over a block range.

Positional params:

  1. address (string, required) — Avatar address.

  2. fromBlock (integer, required) — Starting block number.

  3. toBlock (integer, optional) — Ending block number.

  4. limit (integer, optional, default 20) — Max transactions.

  5. cursor (string, optional) — Pagination cursor.

  6. version (integer, optional) — Filter by version.

  7. excludeIntermediary (boolean, optional, default true) — Exclude intermediary hops.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Enriched transaction rows (shape illustrative; like circles_getTransactionHistory rows plus fromProfile/toProfile).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTransactionHistoryEnriched
200

Enriched transaction rows (shape illustrative; like circles_getTransactionHistory rows plus fromProfile/toProfile).

Get token holders

post

Returns all holders of a specific token, paginated.

Positional params:

  1. tokenAddress (string, required) — Token address.

  2. limit (integer, optional, default 100) — Max holders.

  3. cursor (string, optional) — Pagination cursor.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Paginated list of token holders.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTokenHolders
200

Paginated list of token holders.

Get ERC-1155 transfer data bytes

post

Returns the data bytes parameter from ERC-1155 transfer calls. See the CrcV2_TransferData tutorial for decoding annotated payloads.

Positional params:

  1. address (string, required) — Primary address to filter.

  2. direction (string, optional) — "sent", "received", or null (both).

  3. counterparty (string, optional) — Counterparty address filter.

  4. fromBlock (integer, optional) — Start block (inclusive).

  5. toBlock (integer, optional) — End block (inclusive).

  6. limit (integer, optional, default 50) — Max results (max 1000).

  7. cursor (string, optional) — Pagination cursor.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Transfers carrying a non-empty data field.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTransferData
200

Transfers carrying a non-empty data field.

Query indexed blockchain events

post

Queries indexed blockchain events with advanced filtering.

Positional params:

  1. address (string, optional) — Filter by address.

  2. fromBlock (integer, optional) — Starting block (inclusive).

  3. toBlock (integer, optional) — Ending block (inclusive).

  4. eventTypes (string[], optional) — Filter by event types (e.g. CrcV2_TransferSingle).

  5. filterPredicates (object[], optional) — Advanced filter predicates.

  6. sortAscending (boolean, optional, default false) — Sort order.

  7. limit (integer, optional, default 100) — Max events (max 1000).

  8. cursor (string, optional) — Pagination cursor.

Event types include the CrcV1_*, CrcV2_* and CrcV2_ScoreGroup_* families — see circles_tables for the full catalog.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of events with event name and values payload (hex-encoded numerics).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_events
200

Array of events with event name and values payload (hex-encoded numerics).

Generic table query

post

Runs a generic database query against an indexed namespace/table. Use circles_tables to discover available namespaces, tables and columns.

Positional params:

  1. query (object, required) — A SelectDto:

    • Namespace (string) — e.g. V_Crc, CrcV2, CrcV2_ScoreGroup.

    • Table (string) — e.g. Avatars.

    • Columns (string[], optional) — Columns to return (empty = all).

    • Filter (object[], optional) — FilterPredicate objects ({ type, column, filterType, value }; filterTypeEquals, NotEquals, GreaterThan, LessThan, Like, In, IsNull, …).

    • Order (object[], optional) — [{ Column, SortOrder }], SortOrderASC/DESC.

    • Limit (integer, optional), Distinct (boolean, optional).

  2. cursor (string, optional) — Pagination cursor.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Result with columns and rows (rows are positional arrays aligned to columns).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_query
200

Result with columns and rows (rows are positional arrays aligned to columns).

Paginated table query

post

Like circles_query but returns a { columns, rows, hasMore, nextCursor } wrapper for pagination.

Positional params:

  1. query (object, required) — SelectDto (see circles_query).

  2. cursor (string, optional) — Cursor from a previous response.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Paginated query result.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_paginated_query
200

Paginated query result.

List available tables and schemas

post

Returns the catalog of available namespaces, tables, their event topics and column schemas.

Positional params: none.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of namespaces with their tables and column definitions.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_tables
200

Array of namespaces with their tables and column definitions.

Get complete profile view

post

Returns a complete profile view combining avatar info, profile, trust stats and balances.

Positional params:

  1. address (string, required) — Avatar address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Combined profile view.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getProfileView
200

Combined profile view.

Get trust network summary

post

Returns aggregated trust-network statistics for an address.

Positional params:

  1. address (string, required) — Avatar address.

  2. maxDepth (integer, optional) — Max depth for network traversal.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Trust network summary statistics.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTrustNetworkSummary
200

Trust network summary statistics.

Get enriched aggregated trust relations

post

Trust relations categorized by type with enriched avatar info, paginated.

Positional params:

  1. address (string, required) — Avatar address.

  2. limit (integer, optional, default 50) — Max results per page.

  3. cursor (string, optional) — Pagination cursor.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Enriched trust relations grouped under results.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getAggregatedTrustRelationsEnriched
200

Enriched trust relations grouped under results.

Get valid inviters

post

Returns addresses that trust the given address and have sufficient balance to invite.

Positional params:

  1. address (string, required) — Avatar address.

  2. minimumBalance (string, optional) — Minimum balance required (in CRC).

  3. limit (integer, optional, default 50) — Max results.

  4. cursor (string, optional) — Pagination cursor.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Valid inviters with balances and enriched avatar info.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getValidInviters
200

Valid inviters with balances and enriched avatar info.

Get invitation origin

post

Returns how a user joined Circles (the origin of their invitation).

Positional params:

  1. address (string, required) — Avatar address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Invitation origin record.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getInvitationOrigin
200

Invitation origin record.

Get all invitations for an address

post

Returns all available invitations for an address from all sources (trust, escrow, at-scale).

Positional params:

  1. address (string, required) — Avatar address.

  2. minimumBalance (string, optional) — Minimum balance required (in CRC).

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Invitations grouped by source.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getAllInvitations
200

Invitations grouped by source.

Get trust-based invitations

post

Returns trust-based invitations (addresses that trust the target with sufficient balance).

Positional params:

  1. address (string, required) — Avatar address.

  2. minimumBalance (string, optional) — Minimum CRC balance required (in wei).

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of trust-based inviters (shape illustrative).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getTrustInvitations
200

Array of trust-based inviters (shape illustrative).

Get escrow-based invitations

post

Returns escrow-based invitations (CRC escrowed for the target address).

Positional params:

  1. address (string, required) — Avatar address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of escrow invitations (shape illustrative).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getEscrowInvitations
200

Array of escrow invitations (shape illustrative).

Get at-scale invitations

post

Returns at-scale invitations (pre-created unclaimed accounts) for an address.

Positional params:

  1. address (string, required) — Avatar address.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Array of at-scale invitations (shape illustrative).

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getAtScaleInvitations
200

Array of at-scale invitations (shape illustrative).

Get accounts invited by an avatar

post

Returns accounts invited by a specific avatar (accepted or pending).

Positional params:

  1. address (string, required) — Inviter avatar address.

  2. accepted (boolean, optional, default false) — true = registered accounts, false = pending invitations.

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Invited accounts with status and enriched avatar info.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circles_getInvitationsFrom
200

Invited accounts with status and enriched avatar info.

Find a transitive payment path

post

Calculates a transitive payment path through the trust network. Unlike most Circles methods, this takes a single object as the only params element.

params[0] object fields:

  • source (string, required) — Source address.

  • sink (string, required) — Destination address.

  • targetFlow (string, required) — Target amount as a uint256 string (in wei). Use the max uint256 (115792089237316195423570985008687907853269984665640564039457584007913129639935) for a max-flow query.

  • withWrap (boolean, optional) — Enable ERC20 wrapping.

  • fromTokens / toTokens (string[], optional) — Whitelist source/destination tokens.

  • excludedFromTokens / excludedToTokens (string[], optional) — Blacklist tokens.

  • simulatedBalances (object[], optional) — Override balances for testing.

  • simulatedTrusts (object[], optional) — Override trusts for testing.

  • simulatedConsentedAvatars (string[], optional) — Pre-consented avatars.

  • maxTransfers (integer, optional) — Max transfer hops.

  • quantizedMode (boolean, optional) — 96 CRC quantization for invitations.

Routed to the Pathfinder, which shares the RPC root URL (/).

Body

JSON-RPC 2.0 request envelope. Sent via POST to the server root (/).

jsonrpcstring · enumRequired

JSON-RPC protocol version. Always "2.0".

Default: 2.0Possible values:
idone ofOptional

Request identifier echoed back in the response.

Default: 1
integerOptional
or
stringOptional
methodstringRequired

The RPC method name (also selects routing on the single root endpoint).

Responses
200

Computed flow with the ordered list of transfers.

application/json

JSON-RPC 2.0 response envelope. On success result is present; on failure error is present instead (still returned with HTTP 200).

jsonrpcstringOptionalExample: 2.0
idone ofOptionalExample: 1
integerOptional
or
stringOptional
resultanyOptional

Method-specific result. Present on success; see the example for each operation. (Type varies: string, object, array, boolean, …)

post/#circlesV2_findPath
200

Computed flow with the ordered list of transfers.

Last updated

Was this helpful?