Links

MEVBlockValue

Only available on Cloud-API
Name: 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.

Options

Key
Description
Values
include
Fields to include in the MEV block value stream.
slot_number,block_number,block_hash,block_value,relay_type
[Default: all]

Endpoint

Currently one endpoint in US-Virginia is providing the feed. Please use websocket endpoint wss://mev.api.blxrbdn.com/ws.

Examples

Request

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

Response

Result Field
Description
slotNumber
Slot number of the latest best block.
blockNumber
Block number of the latest best block.
blockHash
Block hash of the latest best block.
blockValue
Block value (proposer payout amount) in wei of the latest best block.
relayType
The type of relay that received best block from builders. Possible values are: max-profit, regulated, ethical . Please see MEV Relay for more information about relay types.
{
"id": 1,
"method": "subscribe",
"params": {
"subscription": "975b5e8a-250e-4c25-93c1-3b9a039a06ec",
"result": {
"relayType": "max-profit",
"slotNumber": 4047852,
"blockNumber": 7723466,
"blockHash": "0x76efc146a45559a7a25dfbf6df574094666fe529561cbee47ade7cb924b1fc80",
"blockValue": 18906999085456892
}
}
}