<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Bitcoin",
  "identifier" : "/documentation/Bitcoin/PeerInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Bitcoin"
    ],
    "preciseIdentifier" : "s:7Bitcoin8PeerInfoV"
  },
  "title" : "PeerInfo"
}
-->

# PeerInfo

Per-peer information from `getpeerinfo`.

```
struct PeerInfo
```

## Overview

Many fields are optional across Bitcoin Core versions.

> Note: Targets Bitcoin Core v31.x.