send_private_transaction
Send transactions via private RPCs (Flashbots, MEV Blocker, SecureRPC) to prevent frontrunning and sandwich attacks.
Instructions
Send a transaction via Flashbots Protect RPC to avoid MEV extraction (frontrunning, sandwich attacks)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"privateKey": "<privateKey>"
},
"name": "send_private_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address | |
| data | No | Transaction data (hex) | |
| value | No | ETH value to send (in ether) | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
| gasLimit | No | Gas limit | |
| privateKey | Yes | Private key for signing | |
| maxFeePerGas | No | Max fee per gas (in gwei) | |
| protectionProvider | No | MEV protection provider | flashbots |
| maxPriorityFeePerGas | No | Max priority fee per gas (in gwei) |