Flashbots

MEV Protection focuses on protecting users from vulnerabilities such as front-running in Ethereum transactions. This is achieved through integration with Flashbots' solutions.

/getflashbotblocks

Get details of the flashbot blocks.

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

Query Parameters

NameTypeDescription

chainId

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

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

/getflashbottransactions

Get details of the flashbot transactions.

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

Query Parameters

NameTypeDescription

chainId

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

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

/getflashbotbundle

Get details of the specified flashbot bundle.

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

Query Parameters

NameTypeDescription

chainId

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

bundleHash*

String

The bundle hash.

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

/sendtransaction

Send transaction on the chain.

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

Request Body

NameTypeDescription

rpc

String

Remote procedural call URL.

chainId

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

rawTransaction*

String

The encoded transaction, obtained from the signed transaction.

bdnTransaction

Boolean

If true, then txn goes through the bdn route, which speeds up the transaction process.

By default, false.

mevProtection

Boolean

If true, then txn goes through flashbots.

With mevProtection: true

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

Last updated

#553: ENC-2526-LIDO

Change request updated