Flashbots

expand.network API users looking for MEV protectoin can choose to route their transactions through Flashbots.

Supported Chains

Currently only available on Ethereum Mainnet.

Available Endpoints:

Click on the endpoint to jump to the section with full details


Endpoint Details

/getflashbotblocks

Returns details for a flashbot block.

GET https://api.expand.network/chain/getflashbotblocks

Query Parameters

https://api.expand.network/chain/getflashbotblocks?chainId=1

back to top

/getflashbottransactions

Returns details for flashbot transactions.

GET https://api.expand.network/chain/getflashbottransactions

Query Parameters

https://api.expand.network/chain/getflashbottransactions?chainId=1

back to top

/getflashbotbundle

Get details for a specified flashbot bundle.

GET https://api.expand.network/chain/getflashbottransactions

Query Parameters

https://api.expand.network/chain/getflashbotbundle?bundleHash=0x2228f5d8954ce31dc1601a8ba264dbd401bf1428388ce88238932815c5d6f23f

back to top

/sendtransaction

Send a transaction on a specified chain. If the mevProtection parameter is set to true, the transaction will be directed through flashbots.

POST https://api.expand.network/chain/sendtransaction

Request Body

With mevProtection: true

{
    "chainId":"1",
    "rawTransaction": "0xf8a68205180f82753e94dc31ee1784292379fbb2964b3b9c4124d8f89c6080b844a9059cbb000000000000000000000000a67e9b68c41b0f26184d64c26e0b2b81466e5994000000000000000000000000000000000000000000000000000000174876e8002ea0952b0468aff066f3e00a1d476b8894d84bfc47a1a3cdab9d6809a3461cc713e5a018219ee382aa3c7edf73a87bd8a75e2c40a97efbdf56a6cfd353af06fb74101d",
    "mevProtection": true
}

back to top

Last updated