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

KeyDescriptionValues

include

Fields to include in the MEV block value stream.

slot_number,block_number,block_hash,block_value,proposer_fee_recipient,gas_used,builder_pubkey,parent_hash,timestamp_ms,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 FieldDescription

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.

proposerFeeRecipient

Proposer fee recipient address.

gasUsed

Block gas used value.

builderPubkey

Public key of the builder that produced the block.

parentHash

Block hash of the parent block.

timestampMs

Block submission timestamp in milliseconds.

relayType

The type of relay that received best block from builders. Possible values are: max-profit, regulated . Please see MEV Relay for more information about relay types.

{
  "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
    }
  }
}

Last updated