# MEVBlockValue

`MEVBlockValue` feed provides information of the block at next slot number, allowing block builders to know the latest best block received by a MEV relay.

**Service available via Cloud API only.**

## Stream Endpoint

* Method: `MEVBlockValue`&#x20;
* Endpoint: `wss://mev-eth.blxrbdn.com/ws`

### &#x20;**Parameters**

| Key       | Description                                      | Values                                                                                                                                                                                           |
| --------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `include` | Fields to include in the MEV block value stream. | <p><code>slot\_number,block\_number,block\_hash,block\_value,proposer\_fee\_recipient,gas\_used,builder\_pubkey,parent\_hash,timestamp\_ms,relay\_type</code></p><p><em>\[Default: all]</em></p> |

### Examples

#### Request

{% tabs %}
{% tab title="wscat" %}

```bash
wscat -c wss://mev-eth.blxrbdn.com/ws --header "Authorization: <YOUR-AUTHORIZATION-HEADER>" --no-check
> {"id": 1, "method": "subscribe", "params": ["MEVBlockValue", {"include": []}]}
```

{% endtab %}
{% endtabs %}

#### Response

{% tabs %}
{% tab title="Transaction event" %}

```bash
{
  "id": 1,
  "method": "subscribe",
  "params": {
    "subscription": "34f9c19d-1c67-4358-a96d-e810fe878e4e",
    "result": {
      "relayType": "regulated",
      "slotNumber": 5316618,
      "blockNumber": 16150006,
      "blockHash": "0x1614b511fb8125f12ebc446d53317baa0a503ce3bb9c2b5f55ff149459cf686f",
      "blockValue": 39019045357810515,
      "proposerFeeRecipient": "0x388c818ca8b9251b393131c08a736a67ccb19297",
      "gasUsed": 12121805,
      "builderPubkey": "0x965a05a1ba338f4bbbb97407d70659f4cea2146d83ac5da6c2f3de824713c927dcba706f35322d65764912e7756103e2",
      "parentHash": "0xee69ea2803cae1616a6cda85bf19788550ef2f10a6b7cda4ed6a697ca8ed5003",
      "timestampMs": 1670623433765
    }
  }
}
```

{% endtab %}
{% endtabs %}

<table><thead><tr><th>Result Field</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td><code>slotNumber</code></td><td>Slot number of the latest best block.</td><td></td></tr><tr><td><code>blockNumber</code></td><td>Block number of the latest best block.</td><td></td></tr><tr><td><code>blockHash</code></td><td>Block hash of the latest best block.</td><td></td></tr><tr><td><code>blockValue</code></td><td>Block value (proposer payout amount) in wei of the latest best block.</td><td></td></tr><tr><td><code>proposerFeeRecipient</code></td><td>Proposer fee recipient address.</td><td></td></tr><tr><td><code>gasUsed</code></td><td>Block gas used value.</td><td></td></tr><tr><td><code>builderPubkey</code></td><td>Public key of the builder that produced the block.</td><td></td></tr><tr><td><code>parentHash</code></td><td>Block hash of the parent block.</td><td></td></tr><tr><td><code>timestampMs</code></td><td>Block submission timestamp in milliseconds. </td><td></td></tr><tr><td><code>relayType</code></td><td>The type of relay that received best block from builders. Possible values are: <code>max-profit</code>, <code>regulated</code> . Please see <a href="../block-builders-and-validators/mev-relay-for-validators">MEV Relay</a> for more information about relay types.</td><td></td></tr></tbody></table>
