> For the complete documentation index, see [llms.txt](/llms.txt).

# `getIdentity`

Returns the public key identity of the current node. This method uses [160 credits](/services/get-started/pricing/) from your daily balance.

## Parameters[​](#parameters "Direct link to Parameters")

None

## Returns[​](#returns "Direct link to Returns")

`result` - An object with the following fields:

- `identity` - The public key identity as a `base58` encoded string.

### Request[​](#request "Direct link to Request")

- curl

```
curl https://solana-mainnet.infura.io/v3/<YOUR-API-KEY> \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1, "method":"getIdentity"}'

```

### Response[​](#response "Direct link to Response")

- JSON

```
{
  "jsonrpc":"2.0",
  "result": {
    "identity":"5UHT2MnFvARGe5mGbKZth5Yh546UWmPtucQYBGTYsi4n"
  },
  "id":1
}

```
