# dev.cocore.account.listFriendEdges

> Published by [cocore.dev](https://lexicon.garden/identity/did:plc:5quuhkmwe2q4k3azfsgg7kdz)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5quuhkmwe2q4k3azfsgg7kdz/dev.cocore.account.listFriendEdges)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5quuhkmwe2q4k3azfsgg7kdz/dev.cocore.account.listFriendEdges/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5quuhkmwe2q4k3azfsgg7kdz/dev.cocore.account.listFriendEdges/examples)

## Definitions

### `dev.cocore.account.listFriendEdges`

**Type**: `query`

Every directed trust edge in the network (friender → subject), for the explorer's friend graph. A cheap, pure edge list with no handle/avatar hydration.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `edges` | `array` | Yes |  |
| `total` | `integer` | Yes |  |

## Raw Schema

```json
{
  "id": "dev.cocore.account.listFriendEdges",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "edges",
            "total"
          ],
          "properties": {
            "edges": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "friender",
                  "subject"
                ],
                "properties": {
                  "subject": {
                    "type": "string",
                    "format": "did"
                  },
                  "friender": {
                    "type": "string",
                    "format": "did"
                  }
                }
              }
            },
            "total": {
              "type": "integer"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 5000,
            "maximum": 20000,
            "minimum": 1
          }
        }
      },
      "description": "Every directed trust edge in the network (friender → subject), for the explorer's friend graph. A cheap, pure edge list with no handle/avatar hydration."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
