The public dataset produced by this script is available here.
You may also set up this script to push data to your own dataset by following these instructions:
- Install npm & gcloud
- Clone this repo locally
- Create a Google cloud project
- In BigQuery, create a new dataset
mev_relayer_data
and tableblocks
Theblocks
table should have the following schema:
relay_operator STRING NULLABLE
relay_name STRING NULLABLE
timestamp TIMESTAMP NULLABLE
Timestamp of insertion
slot BIGNUMERIC NULLABLE
parent_hash STRING NULLABLE
block_hash STRING NULLABLE
builder_pubkey STRING NULLABLE
proposer_pubkey STRING NULLABLE
proposer_fee_recipient STRING NULLABLE
gas_limit BIGNUMERIC NULLABLE
gas_used BIGNUMERIC NULLABLE
value BIGNUMERIC NULLABLE
- Login with gcloud
gcloud init
, login and select your project - Install dependencies
npm i
- Run the script
node run.js