# getLatestBlockhash

#### **Parameters:**

**None**

#### **Returns:**

slots - tring - The slot number associated with the latest blockhash.

blockhash - string - The latest blockhash

lastValidBlockHeight - string - The last block height at which the retrieved blockhash is valid

#### Example:

{% code overflow="wrap" %}

```json
grpcurl -proto geyser.proto
-H "x-token: <your-token>" 
-d '{}' 
solana.blockpi.network
geyser.Geyser/GetBlockHeight/GetLatestBlockhash
```

{% endcode %}
